Documentation
¶
Index ¶
- Variables
- func ObjectBoxModel() *objectbox.Model
- type Entity
- type EntityBox
- func (box *EntityBox) Get(id uint64) (*Entity, error)
- func (box *EntityBox) GetAll() ([]*Entity, error)
- func (box *EntityBox) Put(object *Entity) (uint64, error)
- func (box *EntityBox) PutAll(objects []*Entity) ([]uint64, error)
- func (box *EntityBox) PutAsync(object *Entity) (uint64, error)
- func (box *EntityBox) Remove(object *Entity) (err error)
- type Executor
- func (perf *Executor) ChangeValues(items []*Entity)
- func (perf *Executor) Close()
- func (perf *Executor) PrepareData(count int) []*Entity
- func (perf *Executor) PrintTimes(functions []string)
- func (perf *Executor) PutAll(items []*Entity)
- func (perf *Executor) PutAsync(items []*Entity)
- func (perf *Executor) ReadAll(count int) []*Entity
- func (perf *Executor) RemoveAll()
- func (perf *Executor) UpdateAll(items []*Entity)
Constants ¶
This section is empty.
Variables ¶
View Source
var EntityBinding = entity_EntityInfo{
Id: 1,
Uid: 1737161401460991620,
}
Functions ¶
func ObjectBoxModel ¶
Types ¶
type EntityBox ¶
func BoxForEntity ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func CreateExecutor ¶
func (*Executor) ChangeValues ¶
func (*Executor) PrepareData ¶
func (*Executor) PrintTimes ¶
Click to show internal directories.
Click to hide internal directories.