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)
| 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. |
no test coverage detected