Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document emit_result_struct_pointers and emit_params_struct_pointers options #1209

Merged
merged 1 commit into from
Sep 23, 2021
Merged

Document emit_result_struct_pointers and emit_params_struct_pointers options #1209

merged 1 commit into from
Sep 23, 2021

Conversation

cqsd
Copy link
Contributor

@cqsd cqsd commented Sep 22, 2021

This PR adds documentation for options added in #979.


Preview:
...

  • emit_result_struct_pointers:
    • If true, query results are returned as pointers to structs. Queries returning multiple results are returned as slices of pointers. Defaults to false.
  • emit_params_struct_pointers:
    • If true, parameters are passed as pointers to structs. Defaults to false.

...

@kyleconroy kyleconroy merged commit d0dae8b into sqlc-dev:main Sep 23, 2021
@cqsd cqsd deleted the cqsd/struct-pointer-docs branch September 23, 2021 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants