mgo

package
v0.0.0-...-97ebcb8 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: Apache-2.0, BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

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

func (*Collection) Find

func (c *Collection) Find(query interface{}) *Query

type Database

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

func (*Database) C

func (db *Database) C(name string) *Collection

type Iter

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

func (*Iter) Next

func (it *Iter) Next(x interface{}) bool

type Query

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

func (*Query) Iter

func (q *Query) Iter() *Iter

type Session

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

func Dial

func Dial(addr string) *Session

func (*Session) DB

func (s *Session) DB(name string) *Database

Jump to

Keyboard shortcuts

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