SQLite SELECT returns 'undefined'


#1

Hi, i’m trying to use ngCordova SQLite (cordova-sqlite-ext) to persist data in my App.
As far as i can see, it’s opening the DB and saving data to it, but when i try to use a SELECT query it just returns me a ‘undefined’.
Here’s my plunkr, it has just one page but it’s possible to see the code i’m using:


Can someone see what i’m doing wrong?
I’ve tryed every query i’ve found on StackOverflow and here in this forum, i’ve updated my plugins and even removing/reinstall some.
Thanks