mongo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Equals = "$eq"
View Source
const EqualsAnythingInTheArray = "$in"
View Source
const GreaterThan = "$gt"
View Source
const GreaterThanOrEqualToThan = "$gte"
View Source
const LessThan = "$lt"
View Source
const LessThanOrEqualTo = "$lte"
View Source
const NotEqualAnythingInTheArray = "$nin"
View Source
const NotEqualTo = "$ne"

Variables

This section is empty.

Functions

func NewDatabase

func NewDatabase(config Config) (easydb.Database, error)

Types

type Config

type Config struct {
	Host     string `json:"host"`
	Port     int    `json:"port"`
	Database string `json:"database"`
	Username string `json:"username"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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