Skip to content

Return types for queries #424

Description

@idruzhitskiy

Hello. Thank you for the library. I have a question though: in go's implementation of sqlc gen when working with queries such as SELECT * FROM users you get []User in code, same type for all results of selecting full data from users table. In this library each query gets its own *Row result, even in such cases. Is this intentional, can it be configured otherwise?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions