query

package
v0.0.0-...-e82adf8 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Q

func Q(query interface{}, inputs ...interface{}) (map[Indexed]bool, error)

Q parses the query and runs it given the inputs.

Inputs can be collections of type []interface{} or databases (*database.Db).

Types

type Indexed

type Indexed interface {
	ValueAt(idx int) value
	Length() int
}

indexed is an interface for values that support access to fields by index.

Jump to

Keyboard shortcuts

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