{
0 {
name: "Вася"
},
1 {
name: "Петя"
}
}
[
{name: "Вася"},
{name: "Петя"}
]
$cordovaSQLite.execute(db, query).then(function(res) {
var rows = [];
for (i in res.rows) {
rows.push(res.rows[i]);
}
console.log(rows);
});