Retrieving Data From Object Not Working in Ionic

I’ve attached $cordovaSQLite to my ionic app. Here is a basic example of the code.

function retrieve() {
var q = $q.defer();

var query = 'SELECT user_credentials, user_id FROM Users;';

$ionicPlatform.ready(function (){
  $cordovaSQLite.execute(db, query).then(function(res) {
    if (res.rows.length > 0) {
      console.log("found user");
    } else {
      console.log("no rows found");

  }, function (err) {

return q.promise;

When I test my app on a browser, my logs show this

rows: SQLResultSetRowList
  0: Object
    user_credentials: "asdf"
    user_id: 234
  length: 1
rowsAffected: 0

However when I view the logs when running on my iOS app, I receive


My question is why am I not receiving the value of rows? Why does this work on the browser but not on iOS?