Skip to content

How does this work for bulk operations? #216

@matheuscscp

Description

@matheuscscp

Imagine my program receives a list of Book unique keys, and it needs to return the list of these Books. The query would be something like this:

SELECT * FROM books WHERE key IN ('key1', ..., 'keyN');

How would I use sqlc for that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions