MCPcopy Create free account
hub / github.com/M66B/FairEmail / query

Method query

app/src/main/java/androidx/room/DBUtil.java:64–68  ·  view source on GitHub ↗

Performs the SQLiteQuery on the given database. This util method encapsulates copying the cursor if the maybeCopy parameter is true and either the api level is below a certain threshold or the full result of the query does not fit in a single window. @param db The datab

(RoomDatabase db, SupportSQLiteQuery sqLiteQuery, boolean maybeCopy)

Source from the content-addressed store, hash-verified

62 * @deprecated This is only used in the generated code and shouldn't be called directly.
63 */
64 @Deprecated
65 @NonNull
66 public static Cursor query(RoomDatabase db, SupportSQLiteQuery sqLiteQuery, boolean maybeCopy) {
67 return query(db, sqLiteQuery, maybeCopy, null);
68 }
69
70 /**
71 * Performs the SQLiteQuery on the given database.

Callers 15

countItemsMethod · 0.45
loadInitialMethod · 0.45
loadRangeMethod · 0.45
checkIdentityMethod · 0.45
hasRoomMasterTableMethod · 0.45
hasEmptySchemaMethod · 0.45
readForeignKeysMethod · 0.45
readColumnsMethod · 0.45
readIndicesMethod · 0.45
readIndexMethod · 0.45
readColumnsMethod · 0.45
readOptionsMethod · 0.45

Calls 2

copyAndCloseMethod · 0.95
getCountMethod · 0.65

Tested by

no test coverage detected