An intuitive way to query upload info is to add an API:
fun query(query: UploadManager.Query): com.squareup.sqldelight.Query<List<UploadRecord>> {
TODO()
}
UploadManager.Query is the structured query parameters, and it returns sqldelight's Query object, which supports sync and async operations by its nature.
This requires UploadManager to expose the transitive dependency by
api "com.squareup.sqldelight:runtime:$sqldelightVersion"
An intuitive way to query upload info is to add an API:
UploadManager.Queryis the structured query parameters, and it returnssqldelight's Query object, which supports sync and async operations by its nature.This requires UploadManager to expose the transitive dependency by
api "com.squareup.sqldelight:runtime:$sqldelightVersion"