database

package
v0.0.0-...-fd2f11c Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(uri string, database string) *Client

func (*Client) Find

func (client *Client) Find(collection string, model bongo.Document, conditions bson.M) error

func (*Client) Save

func (client *Client) Save(collection string, model bongo.Document) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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