Documentation ¶
Index ¶
- Variables
- type Catalog
- func (m *Catalog) CloneMessageVT() proto.Message
- func (m *Catalog) CloneVT() *Catalog
- func (*Catalog) Descriptor() ([]byte, []int)deprecated
- func (this *Catalog) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Catalog) EqualVT(that *Catalog) bool
- func (x *Catalog) GetComment() string
- func (x *Catalog) GetDefaultSchema() string
- func (x *Catalog) GetName() string
- func (x *Catalog) GetSchemas() []*Schema
- func (m *Catalog) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Catalog) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Catalog) MarshalToVT(dAtA []byte) (int, error)
- func (m *Catalog) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Catalog) MarshalVT() (dAtA []byte, err error)
- func (m *Catalog) MarshalVTStrict() (dAtA []byte, err error)
- func (*Catalog) ProtoMessage()
- func (x *Catalog) ProtoReflect() protoreflect.Message
- func (x *Catalog) Reset()
- func (m *Catalog) SizeVT() (n int)
- func (x *Catalog) String() string
- func (m *Catalog) UnmarshalVT(dAtA []byte) error
- type CodeGenRequest
- func (m *CodeGenRequest) CloneMessageVT() proto.Message
- func (m *CodeGenRequest) CloneVT() *CodeGenRequest
- func (*CodeGenRequest) Descriptor() ([]byte, []int)deprecated
- func (this *CodeGenRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CodeGenRequest) EqualVT(that *CodeGenRequest) bool
- func (x *CodeGenRequest) GetCatalog() *Catalog
- func (x *CodeGenRequest) GetPluginOptions() []byte
- func (x *CodeGenRequest) GetQueries() []*Query
- func (x *CodeGenRequest) GetSettings() *Settings
- func (x *CodeGenRequest) GetSqlcVersion() string
- func (m *CodeGenRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CodeGenRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *CodeGenRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CodeGenRequest) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *CodeGenRequest) MarshalVT() (dAtA []byte, err error)
- func (m *CodeGenRequest) MarshalVTStrict() (dAtA []byte, err error)
- func (*CodeGenRequest) ProtoMessage()
- func (x *CodeGenRequest) ProtoReflect() protoreflect.Message
- func (x *CodeGenRequest) Reset()
- func (m *CodeGenRequest) SizeVT() (n int)
- func (x *CodeGenRequest) String() string
- func (m *CodeGenRequest) UnmarshalVT(dAtA []byte) error
- type CodeGenResponse
- func (m *CodeGenResponse) CloneMessageVT() proto.Message
- func (m *CodeGenResponse) CloneVT() *CodeGenResponse
- func (*CodeGenResponse) Descriptor() ([]byte, []int)deprecated
- func (this *CodeGenResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CodeGenResponse) EqualVT(that *CodeGenResponse) bool
- func (x *CodeGenResponse) GetFiles() []*File
- func (m *CodeGenResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CodeGenResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *CodeGenResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CodeGenResponse) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *CodeGenResponse) MarshalVT() (dAtA []byte, err error)
- func (m *CodeGenResponse) MarshalVTStrict() (dAtA []byte, err error)
- func (*CodeGenResponse) ProtoMessage()
- func (x *CodeGenResponse) ProtoReflect() protoreflect.Message
- func (x *CodeGenResponse) Reset()
- func (m *CodeGenResponse) SizeVT() (n int)
- func (x *CodeGenResponse) String() string
- func (m *CodeGenResponse) UnmarshalVT(dAtA []byte) error
- type Codegen
- func (m *Codegen) CloneMessageVT() proto.Message
- func (m *Codegen) CloneVT() *Codegen
- func (*Codegen) Descriptor() ([]byte, []int)deprecated
- func (this *Codegen) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Codegen) EqualVT(that *Codegen) bool
- func (x *Codegen) GetOptions() []byte
- func (x *Codegen) GetOut() string
- func (x *Codegen) GetPlugin() string
- func (m *Codegen) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Codegen) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Codegen) MarshalToVT(dAtA []byte) (int, error)
- func (m *Codegen) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Codegen) MarshalVT() (dAtA []byte, err error)
- func (m *Codegen) MarshalVTStrict() (dAtA []byte, err error)
- func (*Codegen) ProtoMessage()
- func (x *Codegen) ProtoReflect() protoreflect.Message
- func (x *Codegen) Reset()
- func (m *Codegen) SizeVT() (n int)
- func (x *Codegen) String() string
- func (m *Codegen) UnmarshalVT(dAtA []byte) error
- type Column
- func (m *Column) CloneMessageVT() proto.Message
- func (m *Column) CloneVT() *Column
- func (*Column) Descriptor() ([]byte, []int)deprecated
- func (this *Column) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Column) EqualVT(that *Column) bool
- func (x *Column) GetComment() string
- func (x *Column) GetEmbedTable() *Identifier
- func (x *Column) GetIsArray() bool
- func (x *Column) GetIsFuncCall() bool
- func (x *Column) GetIsNamedParam() bool
- func (x *Column) GetIsSqlcSlice() bool
- func (x *Column) GetLength() int32
- func (x *Column) GetName() string
- func (x *Column) GetNotNull() bool
- func (x *Column) GetOriginalName() string
- func (x *Column) GetScope() string
- func (x *Column) GetTable() *Identifier
- func (x *Column) GetTableAlias() string
- func (x *Column) GetType() *Identifier
- func (x *Column) GetUnsigned() bool
- func (m *Column) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Column) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Column) MarshalToVT(dAtA []byte) (int, error)
- func (m *Column) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Column) MarshalVT() (dAtA []byte, err error)
- func (m *Column) MarshalVTStrict() (dAtA []byte, err error)
- func (*Column) ProtoMessage()
- func (x *Column) ProtoReflect() protoreflect.Message
- func (x *Column) Reset()
- func (m *Column) SizeVT() (n int)
- func (x *Column) String() string
- func (m *Column) UnmarshalVT(dAtA []byte) error
- type CompositeType
- func (m *CompositeType) CloneMessageVT() proto.Message
- func (m *CompositeType) CloneVT() *CompositeType
- func (*CompositeType) Descriptor() ([]byte, []int)deprecated
- func (this *CompositeType) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CompositeType) EqualVT(that *CompositeType) bool
- func (x *CompositeType) GetComment() string
- func (x *CompositeType) GetName() string
- func (m *CompositeType) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CompositeType) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *CompositeType) MarshalToVT(dAtA []byte) (int, error)
- func (m *CompositeType) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *CompositeType) MarshalVT() (dAtA []byte, err error)
- func (m *CompositeType) MarshalVTStrict() (dAtA []byte, err error)
- func (*CompositeType) ProtoMessage()
- func (x *CompositeType) ProtoReflect() protoreflect.Message
- func (x *CompositeType) Reset()
- func (m *CompositeType) SizeVT() (n int)
- func (x *CompositeType) String() string
- func (m *CompositeType) UnmarshalVT(dAtA []byte) error
- type Enum
- func (m *Enum) CloneMessageVT() proto.Message
- func (m *Enum) CloneVT() *Enum
- func (*Enum) Descriptor() ([]byte, []int)deprecated
- func (this *Enum) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Enum) EqualVT(that *Enum) bool
- func (x *Enum) GetComment() string
- func (x *Enum) GetName() string
- func (x *Enum) GetVals() []string
- func (m *Enum) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Enum) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Enum) MarshalToVT(dAtA []byte) (int, error)
- func (m *Enum) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Enum) MarshalVT() (dAtA []byte, err error)
- func (m *Enum) MarshalVTStrict() (dAtA []byte, err error)
- func (*Enum) ProtoMessage()
- func (x *Enum) ProtoReflect() protoreflect.Message
- func (x *Enum) Reset()
- func (m *Enum) SizeVT() (n int)
- func (x *Enum) String() string
- func (m *Enum) UnmarshalVT(dAtA []byte) error
- type File
- func (m *File) CloneMessageVT() proto.Message
- func (m *File) CloneVT() *File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (this *File) EqualMessageVT(thatMsg proto.Message) bool
- func (this *File) EqualVT(that *File) bool
- func (x *File) GetContents() []byte
- func (x *File) GetName() string
- func (m *File) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *File) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *File) MarshalToVT(dAtA []byte) (int, error)
- func (m *File) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *File) MarshalVT() (dAtA []byte, err error)
- func (m *File) MarshalVTStrict() (dAtA []byte, err error)
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (m *File) SizeVT() (n int)
- func (x *File) String() string
- func (m *File) UnmarshalVT(dAtA []byte) error
- type GoCode
- func (m *GoCode) CloneMessageVT() proto.Message
- func (m *GoCode) CloneVT() *GoCode
- func (*GoCode) Descriptor() ([]byte, []int)deprecated
- func (this *GoCode) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GoCode) EqualVT(that *GoCode) bool
- func (x *GoCode) GetEmitAllEnumValues() bool
- func (x *GoCode) GetEmitDbTags() bool
- func (x *GoCode) GetEmitEmptySlices() bool
- func (x *GoCode) GetEmitEnumValidMethod() bool
- func (x *GoCode) GetEmitExactTableNames() bool
- func (x *GoCode) GetEmitExportedQueries() bool
- func (x *GoCode) GetEmitInterface() bool
- func (x *GoCode) GetEmitJsonTags() bool
- func (x *GoCode) GetEmitMethodsWithDbArgument() bool
- func (x *GoCode) GetEmitParamsStructPointers() bool
- func (x *GoCode) GetEmitPointersForNullTypes() bool
- func (x *GoCode) GetEmitPreparedQueries() bool
- func (x *GoCode) GetEmitResultStructPointers() bool
- func (x *GoCode) GetInflectionExcludeTableNames() []string
- func (x *GoCode) GetJsonTagsCaseStyle() string
- func (x *GoCode) GetJsonTagsIdUppercase() bool
- func (x *GoCode) GetOmitUnusedStructs() bool
- func (x *GoCode) GetOut() string
- func (x *GoCode) GetOutputBatchFileName() string
- func (x *GoCode) GetOutputDbFileName() string
- func (x *GoCode) GetOutputFilesSuffix() string
- func (x *GoCode) GetOutputModelsFileName() string
- func (x *GoCode) GetOutputQuerierFileName() string
- func (x *GoCode) GetPackage() string
- func (x *GoCode) GetQueryParameterLimit() int32
- func (x *GoCode) GetSqlDriver() string
- func (x *GoCode) GetSqlPackage() string
- func (m *GoCode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GoCode) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *GoCode) MarshalToVT(dAtA []byte) (int, error)
- func (m *GoCode) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *GoCode) MarshalVT() (dAtA []byte, err error)
- func (m *GoCode) MarshalVTStrict() (dAtA []byte, err error)
- func (*GoCode) ProtoMessage()
- func (x *GoCode) ProtoReflect() protoreflect.Message
- func (x *GoCode) Reset()
- func (m *GoCode) SizeVT() (n int)
- func (x *GoCode) String() string
- func (m *GoCode) UnmarshalVT(dAtA []byte) error
- type Identifier
- func (m *Identifier) CloneMessageVT() proto.Message
- func (m *Identifier) CloneVT() *Identifier
- func (*Identifier) Descriptor() ([]byte, []int)deprecated
- func (this *Identifier) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Identifier) EqualVT(that *Identifier) bool
- func (x *Identifier) GetCatalog() string
- func (x *Identifier) GetName() string
- func (x *Identifier) GetSchema() string
- func (m *Identifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Identifier) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Identifier) MarshalToVT(dAtA []byte) (int, error)
- func (m *Identifier) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Identifier) MarshalVT() (dAtA []byte, err error)
- func (m *Identifier) MarshalVTStrict() (dAtA []byte, err error)
- func (*Identifier) ProtoMessage()
- func (x *Identifier) ProtoReflect() protoreflect.Message
- func (x *Identifier) Reset()
- func (m *Identifier) SizeVT() (n int)
- func (x *Identifier) String() string
- func (m *Identifier) UnmarshalVT(dAtA []byte) error
- type JSONCode
- func (m *JSONCode) CloneMessageVT() proto.Message
- func (m *JSONCode) CloneVT() *JSONCode
- func (*JSONCode) Descriptor() ([]byte, []int)deprecated
- func (this *JSONCode) EqualMessageVT(thatMsg proto.Message) bool
- func (this *JSONCode) EqualVT(that *JSONCode) bool
- func (x *JSONCode) GetFilename() string
- func (x *JSONCode) GetIndent() string
- func (x *JSONCode) GetOut() string
- func (m *JSONCode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *JSONCode) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *JSONCode) MarshalToVT(dAtA []byte) (int, error)
- func (m *JSONCode) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *JSONCode) MarshalVT() (dAtA []byte, err error)
- func (m *JSONCode) MarshalVTStrict() (dAtA []byte, err error)
- func (*JSONCode) ProtoMessage()
- func (x *JSONCode) ProtoReflect() protoreflect.Message
- func (x *JSONCode) Reset()
- func (m *JSONCode) SizeVT() (n int)
- func (x *JSONCode) String() string
- func (m *JSONCode) UnmarshalVT(dAtA []byte) error
- type Override
- func (m *Override) CloneMessageVT() proto.Message
- func (m *Override) CloneVT() *Override
- func (*Override) Descriptor() ([]byte, []int)deprecated
- func (this *Override) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Override) EqualVT(that *Override) bool
- func (x *Override) GetCodeType() string
- func (x *Override) GetColumn() string
- func (x *Override) GetColumnName() string
- func (x *Override) GetDbType() string
- func (x *Override) GetGoType() *ParsedGoType
- func (x *Override) GetNullable() bool
- func (x *Override) GetTable() *Identifier
- func (x *Override) GetUnsigned() bool
- func (m *Override) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Override) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Override) MarshalToVT(dAtA []byte) (int, error)
- func (m *Override) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Override) MarshalVT() (dAtA []byte, err error)
- func (m *Override) MarshalVTStrict() (dAtA []byte, err error)
- func (*Override) ProtoMessage()
- func (x *Override) ProtoReflect() protoreflect.Message
- func (x *Override) Reset()
- func (m *Override) SizeVT() (n int)
- func (x *Override) String() string
- func (m *Override) UnmarshalVT(dAtA []byte) error
- type Parameter
- func (m *Parameter) CloneMessageVT() proto.Message
- func (m *Parameter) CloneVT() *Parameter
- func (*Parameter) Descriptor() ([]byte, []int)deprecated
- func (this *Parameter) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Parameter) EqualVT(that *Parameter) bool
- func (x *Parameter) GetColumn() *Column
- func (x *Parameter) GetNumber() int32
- func (m *Parameter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Parameter) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Parameter) MarshalToVT(dAtA []byte) (int, error)
- func (m *Parameter) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Parameter) MarshalVT() (dAtA []byte, err error)
- func (m *Parameter) MarshalVTStrict() (dAtA []byte, err error)
- func (*Parameter) ProtoMessage()
- func (x *Parameter) ProtoReflect() protoreflect.Message
- func (x *Parameter) Reset()
- func (m *Parameter) SizeVT() (n int)
- func (x *Parameter) String() string
- func (m *Parameter) UnmarshalVT(dAtA []byte) error
- type ParsedGoType
- func (m *ParsedGoType) CloneMessageVT() proto.Message
- func (m *ParsedGoType) CloneVT() *ParsedGoType
- func (*ParsedGoType) Descriptor() ([]byte, []int)deprecated
- func (this *ParsedGoType) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ParsedGoType) EqualVT(that *ParsedGoType) bool
- func (x *ParsedGoType) GetBasicType() bool
- func (x *ParsedGoType) GetImportPath() string
- func (x *ParsedGoType) GetPackage() string
- func (x *ParsedGoType) GetStructTags() map[string]string
- func (x *ParsedGoType) GetTypeName() string
- func (m *ParsedGoType) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ParsedGoType) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *ParsedGoType) MarshalToVT(dAtA []byte) (int, error)
- func (m *ParsedGoType) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *ParsedGoType) MarshalVT() (dAtA []byte, err error)
- func (m *ParsedGoType) MarshalVTStrict() (dAtA []byte, err error)
- func (*ParsedGoType) ProtoMessage()
- func (x *ParsedGoType) ProtoReflect() protoreflect.Message
- func (x *ParsedGoType) Reset()
- func (m *ParsedGoType) SizeVT() (n int)
- func (x *ParsedGoType) String() string
- func (m *ParsedGoType) UnmarshalVT(dAtA []byte) error
- type Query
- func (m *Query) CloneMessageVT() proto.Message
- func (m *Query) CloneVT() *Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (this *Query) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Query) EqualVT(that *Query) bool
- func (x *Query) GetCmd() string
- func (x *Query) GetColumns() []*Column
- func (x *Query) GetComments() []string
- func (x *Query) GetFilename() string
- func (x *Query) GetInsertIntoTable() *Identifier
- func (x *Query) GetName() string
- func (x *Query) GetParams() []*Parameter
- func (x *Query) GetText() string
- func (m *Query) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Query) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Query) MarshalToVT(dAtA []byte) (int, error)
- func (m *Query) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Query) MarshalVT() (dAtA []byte, err error)
- func (m *Query) MarshalVTStrict() (dAtA []byte, err error)
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (m *Query) SizeVT() (n int)
- func (x *Query) String() string
- func (m *Query) UnmarshalVT(dAtA []byte) error
- type Schema
- func (m *Schema) CloneMessageVT() proto.Message
- func (m *Schema) CloneVT() *Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (this *Schema) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Schema) EqualVT(that *Schema) bool
- func (x *Schema) GetComment() string
- func (x *Schema) GetCompositeTypes() []*CompositeType
- func (x *Schema) GetEnums() []*Enum
- func (x *Schema) GetName() string
- func (x *Schema) GetTables() []*Table
- func (m *Schema) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Schema) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Schema) MarshalToVT(dAtA []byte) (int, error)
- func (m *Schema) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Schema) MarshalVT() (dAtA []byte, err error)
- func (m *Schema) MarshalVTStrict() (dAtA []byte, err error)
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (m *Schema) SizeVT() (n int)
- func (x *Schema) String() string
- func (m *Schema) UnmarshalVT(dAtA []byte) error
- type Settings
- func (m *Settings) CloneMessageVT() proto.Message
- func (m *Settings) CloneVT() *Settings
- func (*Settings) Descriptor() ([]byte, []int)deprecated
- func (this *Settings) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Settings) EqualVT(that *Settings) bool
- func (x *Settings) GetCodegen() *Codegen
- func (x *Settings) GetEngine() string
- func (x *Settings) GetGo() *GoCode
- func (x *Settings) GetJson() *JSONCode
- func (x *Settings) GetOverrides() []*Override
- func (x *Settings) GetQueries() []string
- func (x *Settings) GetRename() map[string]string
- func (x *Settings) GetSchema() []string
- func (x *Settings) GetVersion() string
- func (m *Settings) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Settings) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Settings) MarshalToVT(dAtA []byte) (int, error)
- func (m *Settings) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Settings) MarshalVT() (dAtA []byte, err error)
- func (m *Settings) MarshalVTStrict() (dAtA []byte, err error)
- func (*Settings) ProtoMessage()
- func (x *Settings) ProtoReflect() protoreflect.Message
- func (x *Settings) Reset()
- func (m *Settings) SizeVT() (n int)
- func (x *Settings) String() string
- func (m *Settings) UnmarshalVT(dAtA []byte) error
- type Table
- func (m *Table) CloneMessageVT() proto.Message
- func (m *Table) CloneVT() *Table
- func (*Table) Descriptor() ([]byte, []int)deprecated
- func (this *Table) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Table) EqualVT(that *Table) bool
- func (x *Table) GetColumns() []*Column
- func (x *Table) GetComment() string
- func (x *Table) GetRel() *Identifier
- func (m *Table) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Table) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Table) MarshalToVT(dAtA []byte) (int, error)
- func (m *Table) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Table) MarshalVT() (dAtA []byte, err error)
- func (m *Table) MarshalVTStrict() (dAtA []byte, err error)
- func (*Table) ProtoMessage()
- func (x *Table) ProtoReflect() protoreflect.Message
- func (x *Table) Reset()
- func (m *Table) SizeVT() (n int)
- func (x *Table) String() string
- func (m *Table) UnmarshalVT(dAtA []byte) error
- type VetConfig
- func (m *VetConfig) CloneMessageVT() proto.Message
- func (m *VetConfig) CloneVT() *VetConfig
- func (*VetConfig) Descriptor() ([]byte, []int)deprecated
- func (this *VetConfig) EqualMessageVT(thatMsg proto.Message) bool
- func (this *VetConfig) EqualVT(that *VetConfig) bool
- func (x *VetConfig) GetEngine() string
- func (x *VetConfig) GetQueries() []string
- func (x *VetConfig) GetSchema() []string
- func (x *VetConfig) GetVersion() string
- func (m *VetConfig) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VetConfig) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *VetConfig) MarshalToVT(dAtA []byte) (int, error)
- func (m *VetConfig) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *VetConfig) MarshalVT() (dAtA []byte, err error)
- func (m *VetConfig) MarshalVTStrict() (dAtA []byte, err error)
- func (*VetConfig) ProtoMessage()
- func (x *VetConfig) ProtoReflect() protoreflect.Message
- func (x *VetConfig) Reset()
- func (m *VetConfig) SizeVT() (n int)
- func (x *VetConfig) String() string
- func (m *VetConfig) UnmarshalVT(dAtA []byte) error
- type VetParameter
- func (m *VetParameter) CloneMessageVT() proto.Message
- func (m *VetParameter) CloneVT() *VetParameter
- func (*VetParameter) Descriptor() ([]byte, []int)deprecated
- func (this *VetParameter) EqualMessageVT(thatMsg proto.Message) bool
- func (this *VetParameter) EqualVT(that *VetParameter) bool
- func (x *VetParameter) GetNumber() int32
- func (m *VetParameter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VetParameter) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *VetParameter) MarshalToVT(dAtA []byte) (int, error)
- func (m *VetParameter) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *VetParameter) MarshalVT() (dAtA []byte, err error)
- func (m *VetParameter) MarshalVTStrict() (dAtA []byte, err error)
- func (*VetParameter) ProtoMessage()
- func (x *VetParameter) ProtoReflect() protoreflect.Message
- func (x *VetParameter) Reset()
- func (m *VetParameter) SizeVT() (n int)
- func (x *VetParameter) String() string
- func (m *VetParameter) UnmarshalVT(dAtA []byte) error
- type VetQuery
- func (m *VetQuery) CloneMessageVT() proto.Message
- func (m *VetQuery) CloneVT() *VetQuery
- func (*VetQuery) Descriptor() ([]byte, []int)deprecated
- func (this *VetQuery) EqualMessageVT(thatMsg proto.Message) bool
- func (this *VetQuery) EqualVT(that *VetQuery) bool
- func (x *VetQuery) GetCmd() string
- func (x *VetQuery) GetName() string
- func (x *VetQuery) GetParams() []*VetParameter
- func (x *VetQuery) GetSql() string
- func (m *VetQuery) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VetQuery) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *VetQuery) MarshalToVT(dAtA []byte) (int, error)
- func (m *VetQuery) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *VetQuery) MarshalVT() (dAtA []byte, err error)
- func (m *VetQuery) MarshalVTStrict() (dAtA []byte, err error)
- func (*VetQuery) ProtoMessage()
- func (x *VetQuery) ProtoReflect() protoreflect.Message
- func (x *VetQuery) Reset()
- func (m *VetQuery) SizeVT() (n int)
- func (x *VetQuery) String() string
- func (m *VetQuery) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_plugin_codegen_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct { Comment string `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` DefaultSchema string `protobuf:"bytes,2,opt,name=default_schema,json=defaultSchema,proto3" json:"default_schema,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Schemas []*Schema `protobuf:"bytes,4,rep,name=schemas,proto3" json:"schemas,omitempty"` // contains filtered or unexported fields }
func (*Catalog) CloneMessageVT ¶ added in v1.19.0
func (*Catalog) Descriptor
deprecated
func (*Catalog) EqualMessageVT ¶ added in v1.19.0
func (*Catalog) GetComment ¶
func (*Catalog) GetDefaultSchema ¶
func (*Catalog) GetSchemas ¶
func (*Catalog) MarshalToSizedBufferVT ¶
func (*Catalog) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*Catalog) MarshalToVTStrict ¶ added in v1.19.0
func (*Catalog) MarshalVTStrict ¶ added in v1.19.0
func (*Catalog) ProtoMessage ¶
func (*Catalog) ProtoMessage()
func (*Catalog) ProtoReflect ¶
func (x *Catalog) ProtoReflect() protoreflect.Message
func (*Catalog) UnmarshalVT ¶
type CodeGenRequest ¶
type CodeGenRequest struct { Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` Catalog *Catalog `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"` Queries []*Query `protobuf:"bytes,3,rep,name=queries,proto3" json:"queries,omitempty"` SqlcVersion string `protobuf:"bytes,4,opt,name=sqlc_version,proto3" json:"sqlc_version,omitempty"` PluginOptions []byte `protobuf:"bytes,5,opt,name=plugin_options,proto3" json:"plugin_options,omitempty"` // contains filtered or unexported fields }
func (*CodeGenRequest) CloneMessageVT ¶ added in v1.19.0
func (m *CodeGenRequest) CloneMessageVT() proto.Message
func (*CodeGenRequest) CloneVT ¶ added in v1.19.0
func (m *CodeGenRequest) CloneVT() *CodeGenRequest
func (*CodeGenRequest) Descriptor
deprecated
func (*CodeGenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CodeGenRequest.ProtoReflect.Descriptor instead.
func (*CodeGenRequest) EqualMessageVT ¶ added in v1.19.0
func (this *CodeGenRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*CodeGenRequest) EqualVT ¶ added in v1.17.0
func (this *CodeGenRequest) EqualVT(that *CodeGenRequest) bool
func (*CodeGenRequest) GetCatalog ¶
func (x *CodeGenRequest) GetCatalog() *Catalog
func (*CodeGenRequest) GetPluginOptions ¶ added in v1.16.0
func (x *CodeGenRequest) GetPluginOptions() []byte
func (*CodeGenRequest) GetQueries ¶
func (x *CodeGenRequest) GetQueries() []*Query
func (*CodeGenRequest) GetSettings ¶
func (x *CodeGenRequest) GetSettings() *Settings
func (*CodeGenRequest) GetSqlcVersion ¶
func (x *CodeGenRequest) GetSqlcVersion() string
func (*CodeGenRequest) MarshalToSizedBufferVT ¶
func (m *CodeGenRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CodeGenRequest) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (m *CodeGenRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*CodeGenRequest) MarshalToVT ¶
func (m *CodeGenRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CodeGenRequest) MarshalToVTStrict ¶ added in v1.19.0
func (m *CodeGenRequest) MarshalToVTStrict(dAtA []byte) (int, error)
func (*CodeGenRequest) MarshalVT ¶
func (m *CodeGenRequest) MarshalVT() (dAtA []byte, err error)
func (*CodeGenRequest) MarshalVTStrict ¶ added in v1.19.0
func (m *CodeGenRequest) MarshalVTStrict() (dAtA []byte, err error)
func (*CodeGenRequest) ProtoMessage ¶
func (*CodeGenRequest) ProtoMessage()
func (*CodeGenRequest) ProtoReflect ¶
func (x *CodeGenRequest) ProtoReflect() protoreflect.Message
func (*CodeGenRequest) Reset ¶
func (x *CodeGenRequest) Reset()
func (*CodeGenRequest) SizeVT ¶
func (m *CodeGenRequest) SizeVT() (n int)
func (*CodeGenRequest) String ¶
func (x *CodeGenRequest) String() string
func (*CodeGenRequest) UnmarshalVT ¶
func (m *CodeGenRequest) UnmarshalVT(dAtA []byte) error
type CodeGenResponse ¶
type CodeGenResponse struct { Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*CodeGenResponse) CloneMessageVT ¶ added in v1.19.0
func (m *CodeGenResponse) CloneMessageVT() proto.Message
func (*CodeGenResponse) CloneVT ¶ added in v1.19.0
func (m *CodeGenResponse) CloneVT() *CodeGenResponse
func (*CodeGenResponse) Descriptor
deprecated
func (*CodeGenResponse) Descriptor() ([]byte, []int)
Deprecated: Use CodeGenResponse.ProtoReflect.Descriptor instead.
func (*CodeGenResponse) EqualMessageVT ¶ added in v1.19.0
func (this *CodeGenResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*CodeGenResponse) EqualVT ¶ added in v1.17.0
func (this *CodeGenResponse) EqualVT(that *CodeGenResponse) bool
func (*CodeGenResponse) GetFiles ¶
func (x *CodeGenResponse) GetFiles() []*File
func (*CodeGenResponse) MarshalToSizedBufferVT ¶
func (m *CodeGenResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CodeGenResponse) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (m *CodeGenResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*CodeGenResponse) MarshalToVT ¶
func (m *CodeGenResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CodeGenResponse) MarshalToVTStrict ¶ added in v1.19.0
func (m *CodeGenResponse) MarshalToVTStrict(dAtA []byte) (int, error)
func (*CodeGenResponse) MarshalVT ¶
func (m *CodeGenResponse) MarshalVT() (dAtA []byte, err error)
func (*CodeGenResponse) MarshalVTStrict ¶ added in v1.19.0
func (m *CodeGenResponse) MarshalVTStrict() (dAtA []byte, err error)
func (*CodeGenResponse) ProtoMessage ¶
func (*CodeGenResponse) ProtoMessage()
func (*CodeGenResponse) ProtoReflect ¶
func (x *CodeGenResponse) ProtoReflect() protoreflect.Message
func (*CodeGenResponse) Reset ¶
func (x *CodeGenResponse) Reset()
func (*CodeGenResponse) SizeVT ¶
func (m *CodeGenResponse) SizeVT() (n int)
func (*CodeGenResponse) String ¶
func (x *CodeGenResponse) String() string
func (*CodeGenResponse) UnmarshalVT ¶
func (m *CodeGenResponse) UnmarshalVT(dAtA []byte) error
type Codegen ¶ added in v1.14.0
type Codegen struct { Out string `protobuf:"bytes,1,opt,name=out,proto3" json:"out,omitempty"` Plugin string `protobuf:"bytes,2,opt,name=plugin,proto3" json:"plugin,omitempty"` Options []byte `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Codegen) CloneMessageVT ¶ added in v1.19.0
func (*Codegen) Descriptor
deprecated
added in
v1.14.0
func (*Codegen) EqualMessageVT ¶ added in v1.19.0
func (*Codegen) GetOptions ¶ added in v1.14.0
func (*Codegen) MarshalToSizedBufferVT ¶ added in v1.14.0
func (*Codegen) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*Codegen) MarshalToVT ¶ added in v1.14.0
func (*Codegen) MarshalToVTStrict ¶ added in v1.19.0
func (*Codegen) MarshalVTStrict ¶ added in v1.19.0
func (*Codegen) ProtoMessage ¶ added in v1.14.0
func (*Codegen) ProtoMessage()
func (*Codegen) ProtoReflect ¶ added in v1.14.0
func (x *Codegen) ProtoReflect() protoreflect.Message
func (*Codegen) UnmarshalVT ¶ added in v1.14.0
type Column ¶
type Column struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` NotNull bool `protobuf:"varint,3,opt,name=not_null,json=notNull,proto3" json:"not_null,omitempty"` IsArray bool `protobuf:"varint,4,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"` Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` Length int32 `protobuf:"varint,6,opt,name=length,proto3" json:"length,omitempty"` IsNamedParam bool `protobuf:"varint,7,opt,name=is_named_param,json=isNamedParam,proto3" json:"is_named_param,omitempty"` IsFuncCall bool `protobuf:"varint,8,opt,name=is_func_call,json=isFuncCall,proto3" json:"is_func_call,omitempty"` // XXX: Figure out what PostgreSQL calls `foo.id` Scope string `protobuf:"bytes,9,opt,name=scope,proto3" json:"scope,omitempty"` Table *Identifier `protobuf:"bytes,10,opt,name=table,proto3" json:"table,omitempty"` TableAlias string `protobuf:"bytes,11,opt,name=table_alias,json=tableAlias,proto3" json:"table_alias,omitempty"` Type *Identifier `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"` IsSqlcSlice bool `protobuf:"varint,13,opt,name=is_sqlc_slice,json=isSqlcSlice,proto3" json:"is_sqlc_slice,omitempty"` EmbedTable *Identifier `protobuf:"bytes,14,opt,name=embed_table,json=embedTable,proto3" json:"embed_table,omitempty"` OriginalName string `protobuf:"bytes,15,opt,name=original_name,json=originalName,proto3" json:"original_name,omitempty"` Unsigned bool `protobuf:"varint,16,opt,name=unsigned,proto3" json:"unsigned,omitempty"` // contains filtered or unexported fields }
func (*Column) CloneMessageVT ¶ added in v1.19.0
func (*Column) Descriptor
deprecated
func (*Column) EqualMessageVT ¶ added in v1.19.0
func (*Column) GetComment ¶
func (*Column) GetEmbedTable ¶ added in v1.18.0
func (x *Column) GetEmbedTable() *Identifier
func (*Column) GetIsArray ¶
func (*Column) GetIsFuncCall ¶
func (*Column) GetIsNamedParam ¶
func (*Column) GetIsSqlcSlice ¶ added in v1.18.0
func (*Column) GetNotNull ¶
func (*Column) GetOriginalName ¶ added in v1.19.0
func (*Column) GetTable ¶
func (x *Column) GetTable() *Identifier
func (*Column) GetTableAlias ¶
func (*Column) GetType ¶
func (x *Column) GetType() *Identifier
func (*Column) GetUnsigned ¶ added in v1.19.0
func (*Column) MarshalToSizedBufferVT ¶
func (*Column) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*Column) MarshalToVTStrict ¶ added in v1.19.0
func (*Column) MarshalVTStrict ¶ added in v1.19.0
func (*Column) ProtoMessage ¶
func (*Column) ProtoMessage()
func (*Column) ProtoReflect ¶
func (x *Column) ProtoReflect() protoreflect.Message
func (*Column) UnmarshalVT ¶
type CompositeType ¶
type CompositeType struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*CompositeType) CloneMessageVT ¶ added in v1.19.0
func (m *CompositeType) CloneMessageVT() proto.Message
func (*CompositeType) CloneVT ¶ added in v1.19.0
func (m *CompositeType) CloneVT() *CompositeType
func (*CompositeType) Descriptor
deprecated
func (*CompositeType) Descriptor() ([]byte, []int)
Deprecated: Use CompositeType.ProtoReflect.Descriptor instead.
func (*CompositeType) EqualMessageVT ¶ added in v1.19.0
func (this *CompositeType) EqualMessageVT(thatMsg proto.Message) bool
func (*CompositeType) EqualVT ¶ added in v1.17.0
func (this *CompositeType) EqualVT(that *CompositeType) bool
func (*CompositeType) GetComment ¶
func (x *CompositeType) GetComment() string
func (*CompositeType) GetName ¶
func (x *CompositeType) GetName() string
func (*CompositeType) MarshalToSizedBufferVT ¶
func (m *CompositeType) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CompositeType) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (m *CompositeType) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*CompositeType) MarshalToVT ¶
func (m *CompositeType) MarshalToVT(dAtA []byte) (int, error)
func (*CompositeType) MarshalToVTStrict ¶ added in v1.19.0
func (m *CompositeType) MarshalToVTStrict(dAtA []byte) (int, error)
func (*CompositeType) MarshalVT ¶
func (m *CompositeType) MarshalVT() (dAtA []byte, err error)
func (*CompositeType) MarshalVTStrict ¶ added in v1.19.0
func (m *CompositeType) MarshalVTStrict() (dAtA []byte, err error)
func (*CompositeType) ProtoMessage ¶
func (*CompositeType) ProtoMessage()
func (*CompositeType) ProtoReflect ¶
func (x *CompositeType) ProtoReflect() protoreflect.Message
func (*CompositeType) Reset ¶
func (x *CompositeType) Reset()
func (*CompositeType) SizeVT ¶
func (m *CompositeType) SizeVT() (n int)
func (*CompositeType) String ¶
func (x *CompositeType) String() string
func (*CompositeType) UnmarshalVT ¶
func (m *CompositeType) UnmarshalVT(dAtA []byte) error
type Enum ¶
type Enum struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Vals []string `protobuf:"bytes,2,rep,name=vals,proto3" json:"vals,omitempty"` Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*Enum) CloneMessageVT ¶ added in v1.19.0
func (*Enum) Descriptor
deprecated
func (*Enum) EqualMessageVT ¶ added in v1.19.0
func (*Enum) GetComment ¶
func (*Enum) MarshalToSizedBufferVT ¶
func (*Enum) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*Enum) MarshalToVTStrict ¶ added in v1.19.0
func (*Enum) MarshalVTStrict ¶ added in v1.19.0
func (*Enum) ProtoMessage ¶
func (*Enum) ProtoMessage()
func (*Enum) ProtoReflect ¶
func (x *Enum) ProtoReflect() protoreflect.Message
func (*Enum) UnmarshalVT ¶
type File ¶
type File struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"` // contains filtered or unexported fields }
func (*File) CloneMessageVT ¶ added in v1.19.0
func (*File) Descriptor
deprecated
func (*File) EqualMessageVT ¶ added in v1.19.0
func (*File) GetContents ¶
func (*File) MarshalToSizedBufferVT ¶
func (*File) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*File) MarshalToVTStrict ¶ added in v1.19.0
func (*File) MarshalVTStrict ¶ added in v1.19.0
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
func (*File) UnmarshalVT ¶
type GoCode ¶
type GoCode struct { EmitInterface bool `protobuf:"varint,1,opt,name=emit_interface,json=emitInterface,proto3" json:"emit_interface,omitempty"` EmitJsonTags bool `protobuf:"varint,2,opt,name=emit_json_tags,json=emitJsonTags,proto3" json:"emit_json_tags,omitempty"` EmitDbTags bool `protobuf:"varint,3,opt,name=emit_db_tags,json=emitDbTags,proto3" json:"emit_db_tags,omitempty"` EmitPreparedQueries bool `protobuf:"varint,4,opt,name=emit_prepared_queries,json=emitPreparedQueries,proto3" json:"emit_prepared_queries,omitempty"` EmitExactTableNames bool `protobuf:"varint,5,opt,name=emit_exact_table_names,json=emitExactTableNames,proto3" json:"emit_exact_table_names,omitempty"` EmitEmptySlices bool `protobuf:"varint,6,opt,name=emit_empty_slices,json=emitEmptySlices,proto3" json:"emit_empty_slices,omitempty"` EmitExportedQueries bool `protobuf:"varint,7,opt,name=emit_exported_queries,json=emitExportedQueries,proto3" json:"emit_exported_queries,omitempty"` EmitResultStructPointers bool `` /* 138-byte string literal not displayed */ EmitParamsStructPointers bool `` /* 138-byte string literal not displayed */ EmitMethodsWithDbArgument bool `` /* 144-byte string literal not displayed */ JsonTagsCaseStyle string `protobuf:"bytes,11,opt,name=json_tags_case_style,json=jsonTagsCaseStyle,proto3" json:"json_tags_case_style,omitempty"` Package string `protobuf:"bytes,12,opt,name=package,proto3" json:"package,omitempty"` Out string `protobuf:"bytes,13,opt,name=out,proto3" json:"out,omitempty"` SqlPackage string `protobuf:"bytes,14,opt,name=sql_package,json=sqlPackage,proto3" json:"sql_package,omitempty"` SqlDriver string `protobuf:"bytes,25,opt,name=sql_driver,json=sqlDriver,proto3" json:"sql_driver,omitempty"` OutputDbFileName string `protobuf:"bytes,15,opt,name=output_db_file_name,json=outputDbFileName,proto3" json:"output_db_file_name,omitempty"` OutputModelsFileName string `` /* 126-byte string literal not displayed */ OutputQuerierFileName string `` /* 129-byte string literal not displayed */ OutputFilesSuffix string `protobuf:"bytes,18,opt,name=output_files_suffix,json=outputFilesSuffix,proto3" json:"output_files_suffix,omitempty"` EmitEnumValidMethod bool `protobuf:"varint,19,opt,name=emit_enum_valid_method,json=emitEnumValidMethod,proto3" json:"emit_enum_valid_method,omitempty"` EmitAllEnumValues bool `protobuf:"varint,20,opt,name=emit_all_enum_values,json=emitAllEnumValues,proto3" json:"emit_all_enum_values,omitempty"` InflectionExcludeTableNames []string `` /* 147-byte string literal not displayed */ EmitPointersForNullTypes bool `` /* 141-byte string literal not displayed */ QueryParameterLimit *int32 `` /* 128-byte string literal not displayed */ OutputBatchFileName string `protobuf:"bytes,24,opt,name=output_batch_file_name,json=outputBatchFileName,proto3" json:"output_batch_file_name,omitempty"` JsonTagsIdUppercase bool `protobuf:"varint,26,opt,name=json_tags_id_uppercase,json=jsonTagsIdUppercase,proto3" json:"json_tags_id_uppercase,omitempty"` OmitUnusedStructs bool `protobuf:"varint,27,opt,name=omit_unused_structs,json=omitUnusedStructs,proto3" json:"omit_unused_structs,omitempty"` // contains filtered or unexported fields }
func (*GoCode) CloneMessageVT ¶ added in v1.19.0
func (*GoCode) Descriptor
deprecated
func (*GoCode) EqualMessageVT ¶ added in v1.19.0
func (*GoCode) GetEmitAllEnumValues ¶ added in v1.14.0
func (*GoCode) GetEmitDbTags ¶
func (*GoCode) GetEmitEmptySlices ¶
func (*GoCode) GetEmitEnumValidMethod ¶ added in v1.14.0
func (*GoCode) GetEmitExactTableNames ¶
func (*GoCode) GetEmitExportedQueries ¶
func (*GoCode) GetEmitInterface ¶
func (*GoCode) GetEmitJsonTags ¶
func (*GoCode) GetEmitMethodsWithDbArgument ¶
func (*GoCode) GetEmitParamsStructPointers ¶
func (*GoCode) GetEmitPointersForNullTypes ¶ added in v1.17.0
func (*GoCode) GetEmitPreparedQueries ¶
func (*GoCode) GetEmitResultStructPointers ¶
func (*GoCode) GetInflectionExcludeTableNames ¶ added in v1.16.0
func (*GoCode) GetJsonTagsCaseStyle ¶
func (*GoCode) GetJsonTagsIdUppercase ¶ added in v1.19.0
func (*GoCode) GetOmitUnusedStructs ¶ added in v1.19.0
func (*GoCode) GetOutputBatchFileName ¶ added in v1.18.0
func (*GoCode) GetOutputDbFileName ¶
func (*GoCode) GetOutputFilesSuffix ¶
func (*GoCode) GetOutputModelsFileName ¶
func (*GoCode) GetOutputQuerierFileName ¶
func (*GoCode) GetPackage ¶
func (*GoCode) GetQueryParameterLimit ¶ added in v1.18.0
func (*GoCode) GetSqlDriver ¶ added in v1.18.0
func (*GoCode) GetSqlPackage ¶
func (*GoCode) MarshalToSizedBufferVT ¶
func (*GoCode) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*GoCode) MarshalToVTStrict ¶ added in v1.19.0
func (*GoCode) MarshalVTStrict ¶ added in v1.19.0
func (*GoCode) ProtoMessage ¶
func (*GoCode) ProtoMessage()
func (*GoCode) ProtoReflect ¶
func (x *GoCode) ProtoReflect() protoreflect.Message
func (*GoCode) UnmarshalVT ¶
type Identifier ¶
type Identifier struct { Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"` Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Identifier) CloneMessageVT ¶ added in v1.19.0
func (m *Identifier) CloneMessageVT() proto.Message
func (*Identifier) CloneVT ¶ added in v1.19.0
func (m *Identifier) CloneVT() *Identifier
func (*Identifier) Descriptor
deprecated
func (*Identifier) Descriptor() ([]byte, []int)
Deprecated: Use Identifier.ProtoReflect.Descriptor instead.
func (*Identifier) EqualMessageVT ¶ added in v1.19.0
func (this *Identifier) EqualMessageVT(thatMsg proto.Message) bool
func (*Identifier) EqualVT ¶ added in v1.17.0
func (this *Identifier) EqualVT(that *Identifier) bool
func (*Identifier) GetCatalog ¶
func (x *Identifier) GetCatalog() string
func (*Identifier) GetName ¶
func (x *Identifier) GetName() string
func (*Identifier) GetSchema ¶
func (x *Identifier) GetSchema() string
func (*Identifier) MarshalToSizedBufferVT ¶
func (m *Identifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Identifier) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (m *Identifier) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*Identifier) MarshalToVT ¶
func (m *Identifier) MarshalToVT(dAtA []byte) (int, error)
func (*Identifier) MarshalToVTStrict ¶ added in v1.19.0
func (m *Identifier) MarshalToVTStrict(dAtA []byte) (int, error)
func (*Identifier) MarshalVT ¶
func (m *Identifier) MarshalVT() (dAtA []byte, err error)
func (*Identifier) MarshalVTStrict ¶ added in v1.19.0
func (m *Identifier) MarshalVTStrict() (dAtA []byte, err error)
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) ProtoReflect ¶
func (x *Identifier) ProtoReflect() protoreflect.Message
func (*Identifier) Reset ¶
func (x *Identifier) Reset()
func (*Identifier) SizeVT ¶
func (m *Identifier) SizeVT() (n int)
func (*Identifier) String ¶
func (x *Identifier) String() string
func (*Identifier) UnmarshalVT ¶
func (m *Identifier) UnmarshalVT(dAtA []byte) error
type JSONCode ¶ added in v1.14.0
type JSONCode struct { Out string `protobuf:"bytes,1,opt,name=out,proto3" json:"out,omitempty"` Indent string `protobuf:"bytes,2,opt,name=indent,proto3" json:"indent,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` // contains filtered or unexported fields }
func (*JSONCode) CloneMessageVT ¶ added in v1.19.0
func (*JSONCode) Descriptor
deprecated
added in
v1.14.0
func (*JSONCode) EqualMessageVT ¶ added in v1.19.0
func (*JSONCode) GetFilename ¶ added in v1.14.0
func (*JSONCode) MarshalToSizedBufferVT ¶ added in v1.14.0
func (*JSONCode) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*JSONCode) MarshalToVT ¶ added in v1.14.0
func (*JSONCode) MarshalToVTStrict ¶ added in v1.19.0
func (*JSONCode) MarshalVTStrict ¶ added in v1.19.0
func (*JSONCode) ProtoMessage ¶ added in v1.14.0
func (*JSONCode) ProtoMessage()
func (*JSONCode) ProtoReflect ¶ added in v1.14.0
func (x *JSONCode) ProtoReflect() protoreflect.Message
func (*JSONCode) UnmarshalVT ¶ added in v1.14.0
type Override ¶
type Override struct { // name of the type to use, e.g. `github.com/segmentio/ksuid.KSUID` or `mymodule.Type` CodeType string `protobuf:"bytes,1,opt,name=code_type,proto3" json:"code_type,omitempty"` // name of the type to use, e.g. `text` DbType string `protobuf:"bytes,3,opt,name=db_type,proto3" json:"db_type,omitempty"` // True if the override should apply to a nullable database type Nullable bool `protobuf:"varint,5,opt,name=nullable,proto3" json:"nullable,omitempty"` // fully qualified name of the column, e.g. `accounts.id` Column string `protobuf:"bytes,6,opt,name=column,proto3" json:"column,omitempty"` Table *Identifier `protobuf:"bytes,7,opt,name=table,proto3" json:"table,omitempty"` ColumnName string `protobuf:"bytes,8,opt,name=column_name,proto3" json:"column_name,omitempty"` GoType *ParsedGoType `protobuf:"bytes,10,opt,name=go_type,json=goType,proto3" json:"go_type,omitempty"` // True if the override should apply to a unsigned database type Unsigned bool `protobuf:"varint,11,opt,name=unsigned,proto3" json:"unsigned,omitempty"` // contains filtered or unexported fields }
func (*Override) CloneMessageVT ¶ added in v1.19.0
func (*Override) Descriptor
deprecated
func (*Override) EqualMessageVT ¶ added in v1.19.0
func (*Override) GetCodeType ¶
func (*Override) GetColumnName ¶
func (*Override) GetGoType ¶
func (x *Override) GetGoType() *ParsedGoType
func (*Override) GetNullable ¶
func (*Override) GetTable ¶
func (x *Override) GetTable() *Identifier
func (*Override) GetUnsigned ¶ added in v1.19.0
func (*Override) MarshalToSizedBufferVT ¶
func (*Override) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*Override) MarshalToVTStrict ¶ added in v1.19.0
func (*Override) MarshalVTStrict ¶ added in v1.19.0
func (*Override) ProtoMessage ¶
func (*Override) ProtoMessage()
func (*Override) ProtoReflect ¶
func (x *Override) ProtoReflect() protoreflect.Message
func (*Override) UnmarshalVT ¶
type Parameter ¶
type Parameter struct { Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` Column *Column `protobuf:"bytes,2,opt,name=column,proto3" json:"column,omitempty"` // contains filtered or unexported fields }
func (*Parameter) CloneMessageVT ¶ added in v1.19.0
func (*Parameter) Descriptor
deprecated
func (*Parameter) EqualMessageVT ¶ added in v1.19.0
func (*Parameter) MarshalToSizedBufferVT ¶
func (*Parameter) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*Parameter) MarshalToVTStrict ¶ added in v1.19.0
func (*Parameter) MarshalVTStrict ¶ added in v1.19.0
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ProtoReflect ¶
func (x *Parameter) ProtoReflect() protoreflect.Message
func (*Parameter) UnmarshalVT ¶
type ParsedGoType ¶
type ParsedGoType struct { ImportPath string `protobuf:"bytes,1,opt,name=import_path,json=importPath,proto3" json:"import_path,omitempty"` Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` TypeName string `protobuf:"bytes,3,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` BasicType bool `protobuf:"varint,4,opt,name=basic_type,json=basicType,proto3" json:"basic_type,omitempty"` StructTags map[string]string `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ParsedGoType) CloneMessageVT ¶ added in v1.19.0
func (m *ParsedGoType) CloneMessageVT() proto.Message
func (*ParsedGoType) CloneVT ¶ added in v1.19.0
func (m *ParsedGoType) CloneVT() *ParsedGoType
func (*ParsedGoType) Descriptor
deprecated
func (*ParsedGoType) Descriptor() ([]byte, []int)
Deprecated: Use ParsedGoType.ProtoReflect.Descriptor instead.
func (*ParsedGoType) EqualMessageVT ¶ added in v1.19.0
func (this *ParsedGoType) EqualMessageVT(thatMsg proto.Message) bool
func (*ParsedGoType) EqualVT ¶ added in v1.17.0
func (this *ParsedGoType) EqualVT(that *ParsedGoType) bool
func (*ParsedGoType) GetBasicType ¶
func (x *ParsedGoType) GetBasicType() bool
func (*ParsedGoType) GetImportPath ¶
func (x *ParsedGoType) GetImportPath() string
func (*ParsedGoType) GetPackage ¶
func (x *ParsedGoType) GetPackage() string
func (*ParsedGoType) GetStructTags ¶ added in v1.14.0
func (x *ParsedGoType) GetStructTags() map[string]string
func (*ParsedGoType) GetTypeName ¶
func (x *ParsedGoType) GetTypeName() string
func (*ParsedGoType) MarshalToSizedBufferVT ¶
func (m *ParsedGoType) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ParsedGoType) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (m *ParsedGoType) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*ParsedGoType) MarshalToVT ¶
func (m *ParsedGoType) MarshalToVT(dAtA []byte) (int, error)
func (*ParsedGoType) MarshalToVTStrict ¶ added in v1.19.0
func (m *ParsedGoType) MarshalToVTStrict(dAtA []byte) (int, error)
func (*ParsedGoType) MarshalVT ¶
func (m *ParsedGoType) MarshalVT() (dAtA []byte, err error)
func (*ParsedGoType) MarshalVTStrict ¶ added in v1.19.0
func (m *ParsedGoType) MarshalVTStrict() (dAtA []byte, err error)
func (*ParsedGoType) ProtoMessage ¶
func (*ParsedGoType) ProtoMessage()
func (*ParsedGoType) ProtoReflect ¶
func (x *ParsedGoType) ProtoReflect() protoreflect.Message
func (*ParsedGoType) Reset ¶
func (x *ParsedGoType) Reset()
func (*ParsedGoType) SizeVT ¶
func (m *ParsedGoType) SizeVT() (n int)
func (*ParsedGoType) String ¶
func (x *ParsedGoType) String() string
func (*ParsedGoType) UnmarshalVT ¶
func (m *ParsedGoType) UnmarshalVT(dAtA []byte) error
type Query ¶
type Query struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Cmd string `protobuf:"bytes,3,opt,name=cmd,proto3" json:"cmd,omitempty"` Columns []*Column `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"` Params []*Parameter `protobuf:"bytes,5,rep,name=params,json=parameters,proto3" json:"params,omitempty"` Comments []string `protobuf:"bytes,6,rep,name=comments,proto3" json:"comments,omitempty"` Filename string `protobuf:"bytes,7,opt,name=filename,proto3" json:"filename,omitempty"` InsertIntoTable *Identifier `protobuf:"bytes,8,opt,name=insert_into_table,proto3" json:"insert_into_table,omitempty"` // contains filtered or unexported fields }
func (*Query) CloneMessageVT ¶ added in v1.19.0
func (*Query) Descriptor
deprecated
func (*Query) EqualMessageVT ¶ added in v1.19.0
func (*Query) GetColumns ¶
func (*Query) GetComments ¶
func (*Query) GetFilename ¶
func (*Query) GetInsertIntoTable ¶
func (x *Query) GetInsertIntoTable() *Identifier
func (*Query) MarshalToSizedBufferVT ¶
func (*Query) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*Query) MarshalToVTStrict ¶ added in v1.19.0
func (*Query) MarshalVTStrict ¶ added in v1.19.0
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
func (*Query) UnmarshalVT ¶
type Schema ¶
type Schema struct { Comment string `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tables []*Table `protobuf:"bytes,3,rep,name=tables,proto3" json:"tables,omitempty"` Enums []*Enum `protobuf:"bytes,4,rep,name=enums,proto3" json:"enums,omitempty"` CompositeTypes []*CompositeType `protobuf:"bytes,5,rep,name=composite_types,json=compositeTypes,proto3" json:"composite_types,omitempty"` // contains filtered or unexported fields }
func (*Schema) CloneMessageVT ¶ added in v1.19.0
func (*Schema) Descriptor
deprecated
func (*Schema) EqualMessageVT ¶ added in v1.19.0
func (*Schema) GetComment ¶
func (*Schema) GetCompositeTypes ¶
func (x *Schema) GetCompositeTypes() []*CompositeType
func (*Schema) MarshalToSizedBufferVT ¶
func (*Schema) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*Schema) MarshalToVTStrict ¶ added in v1.19.0
func (*Schema) MarshalVTStrict ¶ added in v1.19.0
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
func (*Schema) UnmarshalVT ¶
type Settings ¶
type Settings struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Engine string `protobuf:"bytes,2,opt,name=engine,proto3" json:"engine,omitempty"` Schema []string `protobuf:"bytes,3,rep,name=schema,proto3" json:"schema,omitempty"` Queries []string `protobuf:"bytes,4,rep,name=queries,proto3" json:"queries,omitempty"` Rename map[string]string `` /* 153-byte string literal not displayed */ Overrides []*Override `protobuf:"bytes,6,rep,name=overrides,proto3" json:"overrides,omitempty"` Codegen *Codegen `protobuf:"bytes,12,opt,name=codegen,proto3" json:"codegen,omitempty"` // TODO: Refactor codegen settings Go *GoCode `protobuf:"bytes,10,opt,name=go,proto3" json:"go,omitempty"` Json *JSONCode `protobuf:"bytes,11,opt,name=json,proto3" json:"json,omitempty"` // contains filtered or unexported fields }
func (*Settings) CloneMessageVT ¶ added in v1.19.0
func (*Settings) Descriptor
deprecated
func (*Settings) EqualMessageVT ¶ added in v1.19.0
func (*Settings) GetCodegen ¶ added in v1.14.0
func (*Settings) GetOverrides ¶
func (*Settings) GetQueries ¶
func (*Settings) GetVersion ¶
func (*Settings) MarshalToSizedBufferVT ¶
func (*Settings) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*Settings) MarshalToVTStrict ¶ added in v1.19.0
func (*Settings) MarshalVTStrict ¶ added in v1.19.0
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
func (*Settings) UnmarshalVT ¶
type Table ¶
type Table struct { Rel *Identifier `protobuf:"bytes,1,opt,name=rel,proto3" json:"rel,omitempty"` Columns []*Column `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"` Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*Table) CloneMessageVT ¶ added in v1.19.0
func (*Table) Descriptor
deprecated
func (*Table) EqualMessageVT ¶ added in v1.19.0
func (*Table) GetColumns ¶
func (*Table) GetComment ¶
func (*Table) GetRel ¶
func (x *Table) GetRel() *Identifier
func (*Table) MarshalToSizedBufferVT ¶
func (*Table) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*Table) MarshalToVTStrict ¶ added in v1.19.0
func (*Table) MarshalVTStrict ¶ added in v1.19.0
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
func (*Table) ProtoReflect ¶
func (x *Table) ProtoReflect() protoreflect.Message
func (*Table) UnmarshalVT ¶
type VetConfig ¶ added in v1.19.0
type VetConfig struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Engine string `protobuf:"bytes,2,opt,name=engine,proto3" json:"engine,omitempty"` Schema []string `protobuf:"bytes,3,rep,name=schema,proto3" json:"schema,omitempty"` Queries []string `protobuf:"bytes,4,rep,name=queries,proto3" json:"queries,omitempty"` // contains filtered or unexported fields }
func (*VetConfig) CloneMessageVT ¶ added in v1.19.0
func (*VetConfig) Descriptor
deprecated
added in
v1.19.0
func (*VetConfig) EqualMessageVT ¶ added in v1.19.0
func (*VetConfig) GetQueries ¶ added in v1.19.0
func (*VetConfig) GetVersion ¶ added in v1.19.0
func (*VetConfig) MarshalToSizedBufferVT ¶ added in v1.19.0
func (*VetConfig) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*VetConfig) MarshalToVT ¶ added in v1.19.0
func (*VetConfig) MarshalToVTStrict ¶ added in v1.19.0
func (*VetConfig) MarshalVTStrict ¶ added in v1.19.0
func (*VetConfig) ProtoMessage ¶ added in v1.19.0
func (*VetConfig) ProtoMessage()
func (*VetConfig) ProtoReflect ¶ added in v1.19.0
func (x *VetConfig) ProtoReflect() protoreflect.Message
func (*VetConfig) UnmarshalVT ¶ added in v1.19.0
type VetParameter ¶ added in v1.19.0
type VetParameter struct { Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*VetParameter) CloneMessageVT ¶ added in v1.19.0
func (m *VetParameter) CloneMessageVT() proto.Message
func (*VetParameter) CloneVT ¶ added in v1.19.0
func (m *VetParameter) CloneVT() *VetParameter
func (*VetParameter) Descriptor
deprecated
added in
v1.19.0
func (*VetParameter) Descriptor() ([]byte, []int)
Deprecated: Use VetParameter.ProtoReflect.Descriptor instead.
func (*VetParameter) EqualMessageVT ¶ added in v1.19.0
func (this *VetParameter) EqualMessageVT(thatMsg proto.Message) bool
func (*VetParameter) EqualVT ¶ added in v1.19.0
func (this *VetParameter) EqualVT(that *VetParameter) bool
func (*VetParameter) GetNumber ¶ added in v1.19.0
func (x *VetParameter) GetNumber() int32
func (*VetParameter) MarshalToSizedBufferVT ¶ added in v1.19.0
func (m *VetParameter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VetParameter) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (m *VetParameter) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*VetParameter) MarshalToVT ¶ added in v1.19.0
func (m *VetParameter) MarshalToVT(dAtA []byte) (int, error)
func (*VetParameter) MarshalToVTStrict ¶ added in v1.19.0
func (m *VetParameter) MarshalToVTStrict(dAtA []byte) (int, error)
func (*VetParameter) MarshalVT ¶ added in v1.19.0
func (m *VetParameter) MarshalVT() (dAtA []byte, err error)
func (*VetParameter) MarshalVTStrict ¶ added in v1.19.0
func (m *VetParameter) MarshalVTStrict() (dAtA []byte, err error)
func (*VetParameter) ProtoMessage ¶ added in v1.19.0
func (*VetParameter) ProtoMessage()
func (*VetParameter) ProtoReflect ¶ added in v1.19.0
func (x *VetParameter) ProtoReflect() protoreflect.Message
func (*VetParameter) Reset ¶ added in v1.19.0
func (x *VetParameter) Reset()
func (*VetParameter) SizeVT ¶ added in v1.19.0
func (m *VetParameter) SizeVT() (n int)
func (*VetParameter) String ¶ added in v1.19.0
func (x *VetParameter) String() string
func (*VetParameter) UnmarshalVT ¶ added in v1.19.0
func (m *VetParameter) UnmarshalVT(dAtA []byte) error
type VetQuery ¶ added in v1.19.0
type VetQuery struct { Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Cmd string `protobuf:"bytes,3,opt,name=cmd,proto3" json:"cmd,omitempty"` Params []*VetParameter `protobuf:"bytes,4,rep,name=params,json=parameters,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*VetQuery) CloneMessageVT ¶ added in v1.19.0
func (*VetQuery) Descriptor
deprecated
added in
v1.19.0
func (*VetQuery) EqualMessageVT ¶ added in v1.19.0
func (*VetQuery) GetParams ¶ added in v1.19.0
func (x *VetQuery) GetParams() []*VetParameter
func (*VetQuery) MarshalToSizedBufferVT ¶ added in v1.19.0
func (*VetQuery) MarshalToSizedBufferVTStrict ¶ added in v1.19.0
func (*VetQuery) MarshalToVT ¶ added in v1.19.0
func (*VetQuery) MarshalToVTStrict ¶ added in v1.19.0
func (*VetQuery) MarshalVTStrict ¶ added in v1.19.0
func (*VetQuery) ProtoMessage ¶ added in v1.19.0
func (*VetQuery) ProtoMessage()
func (*VetQuery) ProtoReflect ¶ added in v1.19.0
func (x *VetQuery) ProtoReflect() protoreflect.Message
func (*VetQuery) UnmarshalVT ¶ added in v1.19.0
Click to show internal directories.
Click to hide internal directories.