Skip to content

Something like pgx.StrictStructArgsSlic #2575

Description

@kkrime

Is your feature request related to a problem? Please describe.

In sqlx using NamedQuery in an INSERT statement, you can pass in an slic of structs with db tags and it would go though each element in the array and append the VALUES (..)

Describe the solution you'd like
Could this be done in pgx?

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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