Skip to content

Instantly share code, notes, and snippets.

@khajer
Created August 23, 2011 17:28
Show Gist options
  • Select an option

  • Save khajer/1165939 to your computer and use it in GitHub Desktop.

Select an option

Save khajer/1165939 to your computer and use it in GitHub Desktop.
read sqlite file
//feed for database
// -------
var db = Ti.Database.install('../book.sqlite','db_name');
var rows = db.execute('select * from books where download_complete = 1');
var arrBook = [];
while (rows.isValidRow()){
//rows.fieldByName('issue_name');
rows.next();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment