db

package
v0.0.0-...-a1ad052 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2012 License: BSD-2-Clause-Views Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Db

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

func New

func New(db *mgo.Database, opt map[string]interface{}, hooks iface.Hooks) *Db

func (*Db) NewFilter

func (d *Db) NewFilter(c string, m map[string]interface{}) (iface.Filter, error)

func (*Db) NewId

func (d *Db) NewId() iface.Id

func (*Db) ToId

func (d *Db) ToId(i string) (iface.Id, error)

Jump to

Keyboard shortcuts

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