Versions in this module Expand all Collapse all v1 v1.13.1 May 10, 2022 Changes in this version + func Generate(req *plugin.CodeGenRequest) (*plugin.CodeGenResponse, error) + func HashComment(s string) string + type Constant struct + Name string + Type string + Value string + type Enum struct + Comment string + Constants []Constant + Name string + type Field struct + Comment string + Name string + Type pyType + type Query struct + Args []QueryValue + Cmd string + Comments []string + ConstantName string + FieldName string + MethodName string + Ret QueryValue + SQL string + SourceName string + func (q Query) AddArgs(args *pyast.Arguments) + func (q Query) ArgDictNode() *pyast.Node + type QueryValue struct + Emit bool + Name string + Struct *Struct + Typ pyType + func (v QueryValue) Annotation() *pyast.Node + func (v QueryValue) EmitStruct() bool + func (v QueryValue) IsStruct() bool + func (v QueryValue) RowNode(rowVar string) *pyast.Node + type Struct struct + Comment string + Fields []Field + Name string + Table plugin.Identifier