Skip to content

Query upload task info #9

Description

@CTKnight

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions