-
Notifications
You must be signed in to change notification settings - Fork 903
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Certain queries end up with generic (read: terrible) names in parameter structs. For example
CREATE TABLE foo (bar text not null);
-- name: ListBar :many
SELECT bar FROM foo WHERE $1:bool;
There is no way to generate a good name for lone parameter in this query. Maybe another special comment? -- param
could work.
-- name: ListBar :many
-- param: 1 IsTrue
SELECT bar FROM foo WHERE $1:bool;
maxhawkins and oscartbeaumont
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request