Documentation ¶
Index ¶
- type MockDB
- func (m *MockDB) DeleteOne(filter ...interface{}) error
- func (m *MockDB) Entity(name string) mock.Database
- func (m *MockDB) FindMany(documents interface{}, filter interface{}) error
- func (m *MockDB) FindOne(document interface{}, filter ...interface{}) (bool, error)
- func (m *MockDB) ID(id string) mock.Database
- func (m *MockDB) InsertMany(documents []interface{}) ([]string, error)
- func (m *MockDB) InsertOne(document interface{}) (id string, err error)
- func (m *MockDB) UpdateOne(document interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.