MCPcopy
hub / github.com/sqlc-dev/sqlc / Query

Struct Query

internal/plugin/codegen.pb.go:806–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804}
805
806type Query struct {
807 state protoimpl.MessageState
808 sizeCache protoimpl.SizeCache
809 unknownFields protoimpl.UnknownFields
810
811 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
812 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
813 Cmd string `protobuf:"bytes,3,opt,name=cmd,proto3" json:"cmd,omitempty"`
814 Columns []*Column `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"`
815 Params []*Parameter `protobuf:"bytes,5,rep,name=params,json=parameters,proto3" json:"params,omitempty"`
816 Comments []string `protobuf:"bytes,6,rep,name=comments,proto3" json:"comments,omitempty"`
817 Filename string `protobuf:"bytes,7,opt,name=filename,proto3" json:"filename,omitempty"`
818 InsertIntoTable *Identifier `protobuf:"bytes,8,opt,name=insert_into_table,proto3" json:"insert_into_table,omitempty"`
819}
820
821func (x *Query) Reset() {
822 *x = Query{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected