Documentation
¶
Index ¶
- type DB
- func (d *DB) Close(ctx context.Context) error
- func (d *DB) Delete(collection string, filter *db.Filter) error
- func (d *DB) FindAll(collection string, slice interface{}, filter *db.Filter, opts *db.Options) error
- func (d *DB) FindOne(collection string, object interface{}, filter *db.Filter, opts *db.Options) error
- func (d *DB) Insert(collection string, object interface{}) error
- func (d *DB) Open(ctx context.Context) error
- func (d *DB) Search(collection string, search string, fields []string, slice interface{}) error
- func (d *DB) Update(collection string, object interface{}, filter *db.Filter) error
- func (d *DB) Upsert(collection string, object interface{}, filter *db.Filter) 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.