feature

package
v1.2.15 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: BSD-2-Clause Imports: 3 Imported by: 21 modules, 14 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feature

type Feature = internal.Flag
const (
	CTE Feature = 1 << iota
	WithValues
	Returning
	InsertReturning
	Output // mssql
	DefaultPlaceholder
	DoubleColonCast
	ValuesRow
	UpdateMultiTable
	InsertTableAlias
	UpdateTableAlias
	DeleteTableAlias
	AutoIncrement
	Identity
	TableCascade
	TableIdentity
	TableTruncate
	InsertOnConflict     // INSERT ... ON CONFLICT
	InsertOnDuplicateKey // INSERT ... ON DUPLICATE KEY
	InsertIgnore         // INSERT IGNORE ...
	TableNotExists
	OffsetFetch
	SelectExists
	UpdateFromTable
	MSSavepoint
	GeneratedIdentity
	CompositeIn      // ... WHERE (A,B) IN ((N, NN), (N, NN)...)
	UpdateOrderLimit // UPDATE ... ORDER BY ... LIMIT ...
	DeleteOrderLimit // DELETE ... ORDER BY ... LIMIT ...
	DeleteReturning
	AlterColumnExists // ADD/DROP COLUMN IF NOT EXISTS/IF EXISTS
	FKDefaultOnAction // FK ON UPDATE/ON DELETE has default value: NO ACTION
)

type NotSupportError added in v1.2.9

type NotSupportError struct {
	Flag Feature
}

func NewNotSupportError added in v1.2.9

func NewNotSupportError(flag Feature) *NotSupportError

func (*NotSupportError) Error added in v1.2.9

func (err *NotSupportError) Error() string

Jump to

Keyboard shortcuts

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