Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Global Global `json:"global"` Queries Queries `json:"queries"` Schema Schema `json:"-"` }
type CustomFieldType ¶
type Queries ¶
type Queries struct { Class map[string][]*Query `json:"class"` // auto generated by schema // contains filtered or unexported fields }
func (*Queries) InitDefaultQueryTables ¶
type Query ¶
type Query struct { Name string `json:"name"` Comment string `json:"comment,omitempty"` Sql string `json:"sql"` // options CustomFieldTypes []*CustomFieldType `json:"custom_field_types,omitempty"` InsertMulti bool `json:"insert_multi,omitempty"` UpdateNullIgnore bool `json:"update_null_ignore,omitempty"` ErrQuery string `json:"-"` ErrParser string `json:"-"` }
func (*Query) AddCustomType ¶
func (*Query) GetCustomType ¶
Click to show internal directories.
Click to hide internal directories.