Lines Matching defs:table
31 * Class to extract table/view/column names from databases.
43 * Find and return all table/view names in a db.
48 "SELECT name FROM sqlite_master WHERE type in (\"table\", \"view\")", null)) {
57 * Find all columns in a table/view.
59 private static List<String> findColumns(SQLiteDatabase db, String table) {
62 // Open the table/view but requests 0 rows.
63 final Cursor c = db.rawQuery("SELECT * FROM " + table + " WHERE 0 LIMIT 0", null);
76 * Return all table/view names that clients shouldn't use in their queries -- basically the
77 * result contains all table/view names, except for the names that are column names of any
86 final List<String> ret = new ArrayList<>(tables); // Start with the table/view list.