Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

android sqlite get rows count

SQLiteDatabase db = this.getReadableDatabase();
long count = DatabaseUtils.queryNumEntries(db, TABLE_NAME);
db.close();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android #sqlite #rows #count
ADD COMMENT
Topic
Name
8+6 =