Documentation
¶
Index ¶
- Variables
- func DeleteEntityById(entityType string, id int64) error
- func GetDBType() string
- func GetEntityType() []string
- func HasSchema(entityType string) bool
- func InsertEntity(entity commEntity.IEntity) error
- func Query(entityType string, sql string) ([]commEntity.IEntity, error)
- func QueryCount(sql string) (int, error)
- func QueryEntityById(entityType string, id int64) (commEntity.IEntity, error)
- func QueryEntityList(entityType string) ([]commEntity.IEntity, error)
- func Register(entityType string)
- func UpdateEntityById(entity commEntity.IEntity) error
- type FieldValue
- type SQLOption
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SQL *entitySQL Client *mysqlClient Fox *foxSqlService )
Functions ¶
func DeleteEntityById ¶
func GetEntityType ¶ added in v1.0.1
func GetEntityType() []string
func InsertEntity ¶
func InsertEntity(entity commEntity.IEntity) error
func QueryCount ¶ added in v1.0.1
func QueryEntityById ¶
func QueryEntityById(entityType string, id int64) (commEntity.IEntity, error)
func QueryEntityList ¶
func QueryEntityList(entityType string) ([]commEntity.IEntity, error)
func UpdateEntityById ¶
func UpdateEntityById(entity commEntity.IEntity) error
Types ¶
type FieldValue ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.