UploadManager icon indicating copy to clipboard operation
UploadManager copied to clipboard

Query upload task info

Open CTKnight opened this issue 5 years ago • 0 comments

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"

CTKnight avatar Sep 08 '19 06:09 CTKnight