constant

package
v0.0.0-...-86410b7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2025 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColDeletedAt = "deleted_at"
	ColId        = "id"
)
View Source
const (
	Root             = "root"
	MinPageSize      = -1
	MaxPageSize      = 1000
	DefaultPageSize  = 100
	DefaultSortOrder = "ASC"
)
View Source
const (
	AndOperatorDelimiter    = ";"
	KeyValueDelimiter       = ":"
	SearchOperatorDelimiter = "."
	CommaDelimiter          = ","
	ColumnDelimiter         = "-"
)
View Source
const (
	TimeFormatMillis = "2006-01-02 15:04:05.000"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryOperation

type QueryOperation string
const (
	QueryOr  QueryOperation = "OR"
	QueryAnd QueryOperation = "AND"
	QueryNot QueryOperation = "NOT"
)

type SearchOperator

type SearchOperator string
const (
	Equal              SearchOperator = "eq"
	NotEqual           SearchOperator = "neq"
	IsNull             SearchOperator = "isNull"
	IsNotNull          SearchOperator = "isNotNull"
	GreaterThan        SearchOperator = "gt"
	GreaterThanEqualTo SearchOperator = "gte"
	LessThan           SearchOperator = "lt"
	LessThanEqualTo    SearchOperator = "lte"
	Like               SearchOperator = "like"
	In                 SearchOperator = "in"
	NotIn              SearchOperator = "nin"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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