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