repository

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 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 Mongo

type Mongo struct {
	Manager *manager.Mongo
}

func (*Mongo) Agregate

func (m *Mongo) Agregate(result interface{}, collectionName string, filter bson.D, groupBy bson.D)

func (*Mongo) Find

func (m *Mongo) Find(result interface{}, collectionName string, filter interface{})

func (*Mongo) FindOne

func (m *Mongo) FindOne(result interface{}, collectionName string, filter interface{})

func (*Mongo) Insert

func (m *Mongo) Insert(document entity.Mongo) string

Jump to

Keyboard shortcuts

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