Documentation ¶
Index ¶
- func AboveOpr(name string, val interface{}) string
- func BelowOpr(name string, val interface{}) string
- func EqualOpr(name string, val interface{}) string
- func InOpr(name string, val interface{}) string
- func LikeOpr(name string, val interface{}) string
- func NotEqualOpr(name string, val interface{}) string
- func NotInOpr(name string, val interface{}) string
- type Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotEqualOpr ¶
NotEqualOpr NotEqual Opr !=
Types ¶
type Builder ¶
type Builder interface { BuildCreateSchema() (string, error) BuildDropSchema() (string, error) BuildInsert() (string, error) BuildUpdate() (string, error) BuildDelete() (string, error) BuildQuery(filter model.Filter) (string, error) BuildCount(filter model.Filter) (string, error) BuildCreateRelationSchema(relationSchema string) (string, error) BuildDropRelationSchema(relationSchema string) (string, error) BuildInsertRelation(field model.Field, relationInfo model.Model) (string, error) BuildDeleteRelation(field model.Field, relationInfo model.Model) (string, string, error) BuildQueryRelation(field model.Field, relationInfo model.Model) (string, error) GetTableName() string GetHostTableName(vModel model.Model) string GetRelationTableName(field model.Field, relationInfo model.Model) string GetInitializeValue(field model.Field) (interface{}, error) }
Builder orm builder
Click to show internal directories.
Click to hide internal directories.