Documentation ¶
Index ¶
- func Create(db orm.DB, v interface{}) (int, error)
- func Delete(db orm.DB, v interface{}) (int, error)
- func Find(db orm.DB, filter Conditions, v interface{}) error
- func FindOne(db orm.DB, filter Conditions, v interface{}) error
- func FindOneByID(db orm.DB, id int64, v interface{}) error
- func FindOneForUpdate(db orm.DB, filter Conditions, v interface{}) error
- func Update(db orm.DB, v interface{}, column ...string) (int, error)
- type Conditions
- type Timestamps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindOneForUpdate ¶
func FindOneForUpdate(db orm.DB, filter Conditions, v interface{}) error
Types ¶
type Conditions ¶
type Conditions map[string]interface{}
Click to show internal directories.
Click to hide internal directories.