generic

package
v0.0.0-...-0485310 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: BSD-3-Clause Imports: 0 Imported by: 5

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