Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface { InsertOne(collectionName string, record interface{}) error InsertMany(collectionName string, records ...interface{}) error UpdateOne(collectionName string, args ...interface{}) error ReplaceOne(collectionName string, record interface{}) error FindOne(collectionName string, dest, filter interface{}) error Find(collectionName string, dest, filter interface{}) error DeleteOne(collectionName string, filter interface{}) error ApplyFilter(filter filters.Filter, valueTypeMap filters.ValueTypeMap, validator filters.Validator) (interface{}, error) }
Click to show internal directories.
Click to hide internal directories.