generic

package
v0.6.0-beta.20220417.1300 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DataSourceTypeMongo         = "mongo"
	DataSourceTypeMysql         = "mysql"
	DataSourceTypePostgres      = "postgres"
	DataSourceTypeElasticSearch = "postgres"
)
View Source
const (
	OpEqual = "eq"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ListOptions

type ListOptions struct {
	Skip  int
	Limit int
	Sort  []ListSort
}

type ListQuery

type ListQuery []ListQueryCondition

type ListQueryCondition

type ListQueryCondition struct {
	Key   string
	Op    string
	Value interface{}
}

type ListSort

type ListSort struct {
	Key       string
	Direction SortDirection
}

type Op

type Op string

type SortDirection

type SortDirection string
const (
	SortDirectionAsc  SortDirection = "asc"
	SortDirectionDesc SortDirection = "desc"
)

Jump to

Keyboard shortcuts

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