package
2.0.0+incompatible
Repository: https://github.com/objectbox/objectbox-go.git
Documentation: pkg.go.dev
# Functions
AsyncBoxForEvent creates a new async box with the given operation timeout in case an async queue is full.
AsyncBoxForReading creates a new async box with the given operation timeout in case an async queue is full.
BoxForEvent opens a box of Event objects.
BoxForReading opens a box of Reading objects.
NewTestEnv creates an empty ObjectBox instance.
NewTestEnvWithDir creates an empty ObjectBox instance for a given dir.
ObjectBoxModel declares and builds the model from all the entities in the package.
PutEvent creates an event.
PutEvents creates multiple events.
PutReading creates a reading.
PutReadings creates multiple readings.
# Variables
Event_ contains type-based Property helpers to facilitate some common operations such as Queries.
No description provided by the author
Reading_ contains type-based Property helpers to facilitate some common operations such as Queries.
No description provided by the author
# Structs
Event model.
EventAsyncBox provides asynchronous operations on Event objects.
Box provides CRUD access to Event objects.
Query provides a way to search stored objects
For example, you can find all Event which Id is either 42 or 47: box.Query(Event_.Id.In(42, 47)).Find().
Reading model.
ReadingAsyncBox provides asynchronous operations on Reading objects.
Box provides CRUD access to Reading objects.
Query provides a way to search stored objects
For example, you can find all Reading which Id is either 42 or 47: box.Query(Reading_.Id.In(42, 47)).Find().
No description provided by the author