Documentation ¶
Index ¶
- type Data
- func (d Data) Add(recordId model.Identifier, data interface{}) *er.WdbError
- func (d Data) Delete(filters interface{}) *er.WdbError
- func (d Data) Query(query string, mode QueryType) (interface{}, *er.WdbError)
- func (d Data) Read(filters interface{}) (map[model.Identifier]*model.Record, *er.WdbError)
- func (d Data) Update(updatedData interface{}, filters interface{}) *er.WdbError
- type QueryType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Data map[model.Identifier]*model.Record Schema model.Schema PrimaryKey *model.Identifier }
func UseCollection ¶
func UseCollection(collection *model.Collection) Data
Click to show internal directories.
Click to hide internal directories.