Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader interface { Schema(ctx context.Context) (*schema.Schema, error) Connection(ctx context.Context) (any, error) List(ctx context.Context, m *model.Model, opts *filter.Options) (*result.Result, error) Count(ctx context.Context, m *model.Model) (int, error) Get(ctx context.Context, m *model.Model, ids []any) (*result.Result, error) Query(ctx context.Context, enums model.Models, sql string) (*result.Result, error) Add(ctx context.Context, m *model.Model, changes util.ValueMap) ([]any, error) Save(ctx context.Context, m *model.Model, ids []any, changes util.ValueMap) ([]any, error) Remove(ctx context.Context, m *model.Model, fields []string, values []any, expected int) (int, error) Default(ctx context.Context, m *model.Model) ([]any, error) }
Click to show internal directories.
Click to hide internal directories.