validator

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseValidatorDialector

type BaseValidatorDialector interface {
	ColumnExistNullQuery(table string, column string) string

	TableExistDuplicatesQuery(table string, columns []string) string
	TableExistColumnQuery(table string, column string) string
	TableExistIndexQuery(table string, index string) string
	TableExistQuery(table string) string

	TableSelectColumnsQuery(table string) string
	TableSelectIndexesQuery(table string) string
}

type MySQLValidatorDialector

type MySQLValidatorDialector struct {
	formatters.MySQLFormatter
	// contains filtered or unexported fields
}

func NewMySQLValidatorDialector

func NewMySQLValidatorDialector(schema string) *MySQLValidatorDialector

func (*MySQLValidatorDialector) ColumnExistNullQuery

func (d *MySQLValidatorDialector) ColumnExistNullQuery(table string, column string) string

func (*MySQLValidatorDialector) TableExistColumnQuery

func (d *MySQLValidatorDialector) TableExistColumnQuery(table string, column string) string

func (*MySQLValidatorDialector) TableExistDuplicatesQuery

func (d *MySQLValidatorDialector) TableExistDuplicatesQuery(table string, columns []string) string

func (*MySQLValidatorDialector) TableExistIndexQuery

func (d *MySQLValidatorDialector) TableExistIndexQuery(table string, index string) string

func (*MySQLValidatorDialector) TableExistQuery

func (d *MySQLValidatorDialector) TableExistQuery(table string) string

func (*MySQLValidatorDialector) TableSelectColumnsQuery

func (d *MySQLValidatorDialector) TableSelectColumnsQuery(table string) string

func (*MySQLValidatorDialector) TableSelectIndexesQuery

func (d *MySQLValidatorDialector) TableSelectIndexesQuery(table string) string

type PostgreSQLValidatorDialector

type PostgreSQLValidatorDialector struct {
	formatters.PostgreSQLFormatter
	// contains filtered or unexported fields
}

func NewPostgreSQLValidatorDialector

func NewPostgreSQLValidatorDialector(schema string) *PostgreSQLValidatorDialector

func (*PostgreSQLValidatorDialector) ColumnExistNullQuery

func (d *PostgreSQLValidatorDialector) ColumnExistNullQuery(table string, column string) string

func (*PostgreSQLValidatorDialector) TableExistColumnQuery

func (d *PostgreSQLValidatorDialector) TableExistColumnQuery(table string, column string) string

func (*PostgreSQLValidatorDialector) TableExistDuplicatesQuery

func (d *PostgreSQLValidatorDialector) TableExistDuplicatesQuery(table string, columns []string) string

func (*PostgreSQLValidatorDialector) TableExistIndexQuery

func (d *PostgreSQLValidatorDialector) TableExistIndexQuery(table string, index string) string

func (*PostgreSQLValidatorDialector) TableExistQuery

func (d *PostgreSQLValidatorDialector) TableExistQuery(table string) string

func (*PostgreSQLValidatorDialector) TableSelectColumnsQuery

func (d *PostgreSQLValidatorDialector) TableSelectColumnsQuery(table string) string

func (*PostgreSQLValidatorDialector) TableSelectIndexesQuery

func (d *PostgreSQLValidatorDialector) TableSelectIndexesQuery(table string) string

Jump to

Keyboard shortcuts

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