queries

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(schema query.Named, logic query.Logic, rules []query.Rule, conditions []query.Condition, sorting []query.Sorting, limit, offset int) query.Query

All constructs query with given criteria which returns all columns.

func AllFromFilter

func AllFromFilter(f query.Filter, schema query.Named) query.Query

AllFromFilter constructs query from given filter that will return all columns.

func FindByID64Simple

func FindByID64Simple(table string, id ...int64) query.Query

FindByID64Simple returns query for matching entries by IDs

func FromFilter

func FromFilter(f query.Filter, schema query.Named, columns []query.Named) query.Query

FromFilter constructs Query from given Filter.

func New

func New(columns []query.Named, schema query.Named, logic query.Logic, rules []query.Rule, conditions []query.Condition, sorting []query.Sorting, limit, offset int) query.Query

New constructs new queyr object with requested data

Types

This section is empty.

Jump to

Keyboard shortcuts

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