Documentation ¶
Index ¶
- type MongoDbConnector
- func (m MongoDbConnector) DeleteDataFromDB(collName string, filter bson.M)
- func (m MongoDbConnector) GetDataFromDB(collName string, filter bson.M) (map[string]interface{}, *models.ProblemDetails)
- func (m MongoDbConnector) GetDataFromDBWithArg(collName string, filter bson.M, strength int) (map[string]interface{}, *models.ProblemDetails)
- func (m MongoDbConnector) PatchDataToDBAndNotify(collName string, ueId string, patchItem []models.PatchItem, filter bson.M) (origValue, newValue map[string]interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDbConnector ¶
func NewMongoDbConnector ¶
func NewMongoDbConnector(mongo *factory.Mongodb) MongoDbConnector
func (MongoDbConnector) DeleteDataFromDB ¶
func (m MongoDbConnector) DeleteDataFromDB(collName string, filter bson.M)
func (MongoDbConnector) GetDataFromDB ¶
func (m MongoDbConnector) GetDataFromDB( collName string, filter bson.M) ( map[string]interface{}, *models.ProblemDetails, )
func (MongoDbConnector) GetDataFromDBWithArg ¶
func (m MongoDbConnector) GetDataFromDBWithArg(collName string, filter bson.M, strength int) ( map[string]interface{}, *models.ProblemDetails, )
Click to show internal directories.
Click to hide internal directories.