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