Documentation ¶
Index ¶
- func Add(ctx context.Context, db *database.Service, m *model.Model, ...) ([]any, error)
- func Count(ctx context.Context, db *database.Service, m *model.Model, ...) (int, error)
- func Get(ctx context.Context, db *database.Service, m *model.Model, ids []any, ...) (*result.Result, error)
- func List(ctx context.Context, db *database.Service, m *model.Model, ...) (*result.Result, error)
- func ParseResult(title string, count int, q string, timing *result.Timing, rows *sqlx.Rows, ...) (*result.Result, error)
- func ParseResultFields(title string, count int, q string, timing *result.Timing, fields field.Fields, ...) (*result.Result, error)
- func Query(ctx context.Context, db *database.Service, sql string, enums model.Models, ...) (*result.Result, error)
- func Remove(ctx context.Context, db *database.Service, m *model.Model, fields []string, ...) (int, error)
- func Save(ctx context.Context, db *database.Service, m *model.Model, ids []any, ...) ([]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseResult ¶
func ParseResultFields ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.