mongo

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 6 Imported by: 0

README

sdk-go-nosql-mongodb

MongoDB SDK for Kapeta

Documentation

Index

Constants

View Source
const RESOURCE_PORT = "mongodb"
View Source
const RESOURCE_TYPE = "kapeta/resource-type-mongodb"

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoDB

type MongoDB struct {
	*mongo.Client
	// contains filtered or unexported fields
}

func NewMongoDB

func NewMongoDB(config providers.ConfigProvider, resourceName string) (*MongoDB, error)

func (*MongoDB) DB added in v0.0.6

func (m *MongoDB) DB() *mongo.Database

Jump to

Keyboard shortcuts

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