sql

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialector added in v0.0.2

type Dialector string
const (
	Postgres  Dialector = "postgres"
	MySQL     Dialector = "mysql"
	SQLite    Dialector = "sqlite"
	SQLServer Dialector = "sqlserver"
)

type Operator

type Operator uint
const (
	Eq Operator = iota
	NotEq
	Lt
	LtOrEq
	Gt
	GtOrEq
	Between
	NotBetween
	IsDistinct
	IsNotDistinct
	Like
	Escape
	ArrayIn
	ArrayNotIn
	And
	Or
	Not
	// mysql
	MySQLXor
	MySQLRegexp
	MySQLNullSafeEqual
	// postgresql
	PostgreSQLILike
	PostgreSQLSimilarTo
	PostgreSQLPosixMatch
	PostgreSQLPosixIMatch
	// sqlite
	SQLiteGlob
)

func (Operator) Name

func (op Operator) Name() string

func (Operator) String

func (op Operator) String() string

func (Operator) Supports added in v0.0.2

func (op Operator) Supports(dialector Dialector) bool

Jump to

Keyboard shortcuts

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