Documentation
¶
Index ¶
- func GetDatabaseSizeInMB() (int, error)
- type Database
- func (d *Database) Create(data interface{}) error
- func (d *Database) Delete(data interface{}, field string, value string) error
- func (d *Database) DeleteOld(data interface{}, retentionMegabytes int) (int, error)
- func (d *Database) Find(data interface{}, field string, value interface{}) (bool, error)
- func (d *Database) GetAll(data interface{}) error
- func (d *Database) Lock()
- func (d *Database) Migrate(data interface{}) error
- func (d *Database) Unlock()
- func (d *Database) Update(data interface{}, searchField string, searchValue string, modifyField string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDatabaseSizeInMB ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.