Documentation ¶
Index ¶
- Constants
- Variables
- func DefaultPkgGenFactory(defaultEngine engine.Engine) meta.PkgGenFactory
- func NewFunctions(gen *meta.TmplPkgGen, defaultEngine engine.Engine) *functions
- func Query(m *meta.Meta) string
- func SetQuery(m *meta.Meta, query string)
- func TableDialect(m *meta.Meta) string
- func TableName(m *meta.Meta) string
Constants ¶
View Source
const ( MetaSqlTable = "sql:table" MetaSqlSelect = "sql:select" MetaSqlInsert = "sql:insert" MetaSqlUpdate = "sql:update" MetaSqlDelete = "sql:delete" MetaSqlNone = "sql:none" )
Variables ¶
View Source
var (
MetaNames = []string{MetaSqlSelect, MetaSqlInsert, MetaSqlUpdate, MetaSqlDelete, MetaSqlNone}
)
View Source
var TmplSQL string
Functions ¶
func DefaultPkgGenFactory ¶
func DefaultPkgGenFactory(defaultEngine engine.Engine) meta.PkgGenFactory
func NewFunctions ¶
func NewFunctions(gen *meta.TmplPkgGen, defaultEngine engine.Engine) *functions
func TableDialect ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.