Documentation ¶
Index ¶
- func NewLoader(_ context.Context, logger *zap.SugaredLogger) func(key string, cfg []byte) (loader.Loader, error)
- type Loader
- func (l *Loader) Add(context.Context, *model.Model, util.ValueMap) ([]interface{}, error)
- func (l *Loader) Connection(context.Context) (interface{}, error)
- func (l *Loader) Count(context.Context, *model.Model) (int, error)
- func (l *Loader) Default(context.Context, *model.Model) ([]interface{}, error)
- func (l *Loader) Get(context.Context, *model.Model, []interface{}) (*result.Result, error)
- func (l *Loader) List(_ context.Context, m *model.Model, _ *filter.Options) (*result.Result, error)
- func (l *Loader) Query(context.Context, model.Models, string) (*result.Result, error)
- func (l *Loader) Remove(context.Context, *model.Model, []string, []interface{}, int) (int, error)
- func (l *Loader) Save(context.Context, *model.Model, []interface{}, util.ValueMap) ([]interface{}, error)
- func (l *Loader) Schema(context.Context) (*schema.Schema, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.