query

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(s data.Store) data.Query

Types

type Condition

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

type Field

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

func (*Field) Contains

func (f *Field) Contains(value any) data.Query

func (*Field) Equals

func (f *Field) Equals(value any) data.Query

func (*Field) GreaterThan

func (f *Field) GreaterThan(value any) data.Query

func (*Field) GreaterThanOrEqual

func (f *Field) GreaterThanOrEqual(value any) data.Query

func (*Field) LessThan

func (f *Field) LessThan(value any) data.Query

func (*Field) LessThanOrEqual

func (f *Field) LessThanOrEqual(value any) data.Query

func (*Field) NotContains

func (f *Field) NotContains(value any) data.Query

func (*Field) NotEquals

func (f *Field) NotEquals(value any) data.Query

type Query

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

func (*Query) Execute

func (q *Query) Execute(ctx context.Context) []data.EntityBinding

func (*Query) ForType

func (q *Query) ForType(t string) data.Query

func (*Query) Where

func (q *Query) Where(fieldName string) data.FieldQuery

Jump to

Keyboard shortcuts

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