Documentation
¶
Index ¶
- type MongoDB
- func (ms *MongoDB) ByIDs(ctx context.Context, ids []string) ([]core.Task, error)
- func (ms *MongoDB) Delete(ctx context.Context, ids []string) error
- func (ms *MongoDB) Exec(ctx context.Context, command storage.Command) ([]storage.Document, error)
- func (ms *MongoDB) GetWithProperties(ctx context.Context, propertiesToValues map[string][]any) ([]core.Task, error)
- func (ms *MongoDB) Insert(ctx context.Context, tasks []core.Task) error
- func (ms *MongoDB) Settings(ctx context.Context) (storage.Settings, error)
- func (ms *MongoDB) UpdateByIDs(ctx context.Context, ids []string, properties map[string]any) error
- func (ms *MongoDB) UpdateWithProperties(ctx context.Context, propertiesToValues map[string][]any, ...) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.