query

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

func (Model) Create

func (m Model) Create(data interface{}) Model

func (Model) Delete

func (m Model) Delete(ID interface{}) Model

func (Model) Exec

func (m Model) Exec() ([]byte, error)

func (Model) Init

func (m Model) Init(collectionName string, types reflect.Type) Model

func (Model) Limit

func (m Model) Limit(number int) Model

func (Model) Lookup added in v0.0.8

func (m Model) Lookup(fields lungo.Fields) Model

func (Model) Match added in v0.0.8

func (m Model) Match(filter lungo.Filter) Model

func (Model) Sort

func (m Model) Sort(filter lungo.Filter) Model

func (Model) UpdateAndMatch added in v0.0.8

func (m Model) UpdateAndMatch(filter lungo.Filter, update interface{}) Model

func (Model) Virtual

func (m Model) Virtual(fromCollection string, localField string, foreignField string, as string, single bool) Model

Jump to

Keyboard shortcuts

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