Documentation ¶
Index ¶
- Constants
- func InsertMany(exec mysql.Exec, stocks []*Model, timeout time.Duration) (int64, error)
- func InsertOrUpdateMany(exec mysql.Exec, stocks []*Model, timeout time.Duration) (int64, error)
- func SelectMany(exec mysql.Exec, codes []string, timeout time.Duration) (map[string]*Model, error)
- func UpdateOne(exec mysql.Exec, code string, stock *Model, timeout time.Duration) (int64, error)
- type Model
Constants ¶
View Source
const ( FieldCode = "code" FieldName = "name" FieldSuspend = "suspend" FieldCreateTimestamp = "create_timestamp" FieldModifyTimestamp = "modify_timestamp" )
Variables ¶
This section is empty.
Functions ¶
func InsertMany ¶
func InsertOrUpdateMany ¶
func SelectMany ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.