gmongodb

package
v0.71.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MongoDBClients map[string]*mongo.Client

Functions

func InitMongoDBConnection

func InitMongoDBConnection()

func Run

func Run(cmdStr string) (int, interface{}, string)

Types

type MongoDBExec

type MongoDBExec struct {
	TargetMongoDB    string
	Database         string
	Collection       string
	Cmd              string
	Filter           interface{}
	FindFilter       interface{}
	UpdateFilter     interface{}
	CmdResults       interface{}
	CmdAffectedCount int
}

func (*MongoDBExec) Do

func (mongoDBExec *MongoDBExec) Do() error

Jump to

Keyboard shortcuts

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