Documentation ¶
Index ¶
- type MongoDB
- func (m *MongoDB) Connect() (client *mongo.Client, ctx context.Context, fctx context.CancelFunc, err error)
- func (m *MongoDB) DeleteMany()
- func (m *MongoDB) DeleteOne()
- func (m *MongoDB) Find()
- func (m *MongoDB) FindOne(filter interface{}, collection string, document string) interface{}
- func (m *MongoDB) InsertMany(inserts []interface{}, collection string, document string)
- func (m *MongoDB) InsertOne(insert interface{}, collection string, document string)
- func (m *MongoDB) Log(message string)
- func (m *MongoDB) PanicLog(messageErr error)
- func (m *MongoDB) UpdateMany()
- func (m *MongoDB) UpdateOne(upload interface{}, filter interface{}, collection string, document string)
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.