Lines Matching refs:table

752      * Query the table for the number of rows in the table.
753 * @param db the database the table is in
754 * @param table the name of the table to query
755 * @return the number of rows in the table
757 public static long queryNumEntries(SQLiteDatabase db, String table) {
758 return queryNumEntries(db, table, null, null);
762 * Query the table for the number of rows in the table.
763 * @param db the database the table is in
764 * @param table the name of the table to query
767 * Passing null will count all rows for the given table
768 * @return the number of rows in the table filtered by the selection
770 public static long queryNumEntries(SQLiteDatabase db, String table, String selection) {
771 return queryNumEntries(db, table, selection, null);
775 * Query the table for the number of rows in the table.
776 * @param db the database the table is in
777 * @param table the name of the table to query
780 * Passing null will count all rows for the given table
785 * @return the number of rows in the table filtered by the selection
787 public static long queryNumEntries(SQLiteDatabase db, String table, String selection,
790 return longForQuery(db, "select count(*) from " + table + s,
963 * This class allows users to do multiple inserts into a table using
999 * @param tableName the name of the table to insert into
1092 if (DEBUG) Log.v(TAG, "--- inserting in table " + mTableName);
1106 Log.e(TAG, "Error inserting " + values + " into table " + mTableName, e);
1217 * If the table contains conflicting rows, an error is
1246 if (DEBUG) Log.v(TAG, "--- doing insert or replace in table " + mTableName);
1249 Log.e(TAG, "Error executing InsertHelper with table " + mTableName, e);
1291 * If the table contains conflicting rows, they are deleted