Documentation
¶
Index ¶
- type DB
- func (db *DB) Backup(loc string)
- func (db *DB) Create(data any) error
- func (db *DB) Delete(data any) error
- func (db *DB) Disconnect()
- func (db *DB) Drop(data any) error
- func (db *DB) GetAll(to any, options ...func(*index.Options)) error
- func (db *DB) Retrieve(fieldName string, value, to any) error
- func (db *DB) Update(data any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func NamedConnect ¶ added in v1.2.0
func (*DB) Disconnect ¶
func (db *DB) Disconnect()
Click to show internal directories.
Click to hide internal directories.