gomongo

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gomongo

type Gomongo struct {
	Connection string
	Database   string
}

func New

func New(connectionString string, database string) (gomongo Gomongo)

func (Gomongo) Delete

func (gomongo Gomongo) Delete(tableName string, id string) (err error)

func (Gomongo) Fetch

func (gomongo Gomongo) Fetch(tableName string, filter *gorepo.Filter, result interface{}) (err error)

func (Gomongo) Get

func (gomongo Gomongo) Get(tableName string, id string, result interface{}) (err error)

func (Gomongo) Set

func (gomongo Gomongo) Set(tableName string, id string, data interface{}) (err error)

Jump to

Keyboard shortcuts

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