Documentation
¶
Overview ¶
Package sqlcplugin generates pgmesh query wrappers from sqlc metadata.
Generate is the package entry point. It accepts PostgreSQL metadata and pgx/v5-compatible options, validates shard annotations and configuration, and returns the generated Store file set. Plugin options are intentionally internal and decoded strictly so unsupported or misspelled fields fail generation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(_ context.Context, req *plugin.GenerateRequest) (*plugin.GenerateResponse, error)
Generate implements sqlc's CodegenService.Generate hook.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.