Help us shape the future of Go! Take the 2026 Go Developer Survey

query

package module
v0.0.0-...-66aebc9 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Insert

func Insert(model any) (string, []any)

Types

type Opt

type Opt func(string) (string, []any)

func And

func And(opts ...Opt) Opt

func Between

func Between(key string, val1, val2 any) Opt

func Eq

func Eq(key string, val any) Opt

func Greater

func Greater(key string, val any) Opt

func GreaterEq

func GreaterEq(key string, val any) Opt

func In

func In(key string, vals ...any) Opt

func Neq

func Neq(key string, val any) Opt

func Or

func Or(opts ...Opt) Opt

type Query

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

func Select

func Select(model any) *Query

func (*Query) Compile

func (q *Query) Compile() (string, []any)

func (*Query) Where

func (q *Query) Where(ops ...Opt) *Query

Jump to

Keyboard shortcuts

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