Documentation
¶
Index ¶
Constants ¶
View Source
const ( APPDATA_INFLUDATA_DB_COLLECTION_NAME = "applicationData.influenceData" APPDATA_INFLUDATA_SUBSC_DB_COLLECTION_NAME = "applicationData.influenceData.subsToNotify" APPDATA_PFD_DB_COLLECTION_NAME = "applicationData.pfds" DBCONNECTOR_TYPE_MONGODB factory.DbType = "mongodb" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbConnector ¶
type DbConnector interface { PatchDataToDBAndNotify(collName string, ueId string, patchItem []models.PatchItem, filter bson.M) ( map[string]interface{}, map[string]interface{}, error) GetDataFromDB(collName string, filter bson.M) (map[string]interface{}, *models.ProblemDetails) GetDataFromDBWithArg(collName string, filter bson.M, strength int) (map[string]interface{}, *models.ProblemDetails) DeleteDataFromDB(collName string, filter bson.M) }
func NewDbConnector ¶
func NewDbConnector(dbName factory.DbType) DbConnector
Click to show internal directories.
Click to hide internal directories.