Documentation ¶
Index ¶
- func GetKeySQL(key string, model interface{}, alias string) (sqlKey string, argsKey []interface{})
- func GetMoreKeySQL(key string, searModel interface{}, tables ...string) (sqlKey string, argsKey []interface{})
- func GetReflectTags(ref reflect.Type) (tags []string)
- func GetSQLError(error string) (err error)
- func GetTags(model interface{}) []string
- func GtTag(structTag reflect.StructTag, curTag string) (oTag, tag, tagTable string, b bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMoreKeySQL ¶
func GetMoreKeySQL(key string, searModel interface{}, tables ...string) (sqlKey string, argsKey []interface{})
多张表, 第一个表为主表 key search sql tables [table1:table1_alias] searModel : 搜索字段模型
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.