database

package
v0.0.0-...-ae4e76f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL