basics

package
v0.0.0-...-ce71dfa Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2012 License: BSD-2-Clause-Views Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Basics

type Basics struct {
	Hooks iface.Hooks
	Db    iface.Db
}

func (*Basics) Get

func (b *Basics) Get(a iface.Filter) ([]map[string]interface{}, *QueryInfo, error)

func (*Basics) GetSingle

func (b *Basics) GetSingle(a iface.Filter) (map[string]interface{}, error)

func (*Basics) Insert

func (b *Basics) Insert(a iface.Filter, data map[string]interface{}) (iface.Id, error)

func (*Basics) Remove

func (b *Basics) Remove(a iface.Filter) error

func (*Basics) RemoveAll

func (b *Basics) RemoveAll(a iface.Filter) error

func (*Basics) Update

func (b *Basics) Update(a iface.Filter, data map[string]interface{}) error

func (*Basics) UpdateAll

func (b *Basics) UpdateAll(a iface.Filter, data map[string]interface{}) error

type QueryInfo

type QueryInfo struct {
	Count   int
	Skipped int
	Limited int
	Sorted  []string
}

Jump to

Keyboard shortcuts

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