Created
August 23, 2011 17:28
-
-
Save khajer/1165939 to your computer and use it in GitHub Desktop.
read sqlite file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //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