Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JoinOn ¶
type JoinOn [2]*ModelField
func ParseJoinOn ¶
func ParseJoinOn(dsl string, r PkgPathResolver) (JoinOn, error)
type ModelField ¶
func ParseModelField ¶
func ParseModelField(dsl string, r PkgPathResolver) (*ModelField, error)
type Parameter ¶
type Parameter struct { Name string IsSlice bool WhereModel *ModelField }
type PkgPathResolver ¶
type QuerySqlGen ¶
type QuerySqlGen struct {
gengo.SnippetWriter
}
func (*QuerySqlGen) GenerateType ¶
func (*QuerySqlGen) Init ¶
func (g *QuerySqlGen) Init(c *gengo.Context, s gengo.GeneratorCreator) (gengo.Generator, error)
func (QuerySqlGen) Name ¶
func (QuerySqlGen) Name() string
func (QuerySqlGen) New ¶
func (QuerySqlGen) New() gengo.Generator
Click to show internal directories.
Click to hide internal directories.