Documentation ¶
Index ¶
- func Count[T IModel](db *PgDb, whereSql string, whereArgs ...any) (int64, error)
- func Create(db *PgDb, col ICol) error
- func CreateAndReturn[T IModel](db *PgDb, col ICol) (*T, error)
- func GetOne[T IModel](db *PgDb, whereSql string, whereArgs ...any) (*T, error)
- func Update(db *PgDb, updates ICol, whereSql string, whereArgs ...any) error
- type Col
- type ICol
- type IModel
- type PgDb
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndReturn ¶ added in v0.0.3
Types ¶
Click to show internal directories.
Click to hide internal directories.