order

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(proc *process.Process, arg interface{}) (bool, error)

func Prepare

func Prepare(_ *process.Process, arg interface{}) error

func String

func String(arg interface{}, buf *bytes.Buffer)

Types

type Argument

type Argument struct {
	Fs []Field
	// contains filtered or unexported fields
}

type Container

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

type Direction

type Direction int8

Direction for ordering results.

const (
	DefaultDirection Direction = iota
	Ascending
	Descending
)

Direction values.

func (Direction) String

func (i Direction) String() string

type Field

type Field struct {
	E    *plan.Expr
	Type Direction
}

func (Field) String

func (n Field) String() string

Jump to

Keyboard shortcuts

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