Documentation ¶
Index ¶
- func NewLoader(_ context.Context) func(key string, cfg []byte) (loader.Loader, error)
- type Loader
- func (l *Loader) Add(context.Context, *model.Model, util.ValueMap) ([]any, error)
- func (l *Loader) Connection(context.Context) (any, error)
- func (l *Loader) Count(context.Context, *model.Model) (int, error)
- func (l *Loader) Default(context.Context, *model.Model) ([]any, error)
- func (l *Loader) Get(context.Context, *model.Model, []any) (*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, []any, int) (int, error)
- func (l *Loader) Save(context.Context, *model.Model, []any, util.ValueMap) ([]any, 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.