Documentation
¶
Index ¶
- type BaseValidatorDialector
- type MySQLValidatorDialector
- func (d *MySQLValidatorDialector) ColumnExistNullQuery(table string, column string) string
- func (d *MySQLValidatorDialector) TableExistColumnQuery(table string, column string) string
- func (d *MySQLValidatorDialector) TableExistDuplicatesQuery(table string, columns []string) string
- func (d *MySQLValidatorDialector) TableExistIndexQuery(table string, index string) string
- func (d *MySQLValidatorDialector) TableExistQuery(table string) string
- func (d *MySQLValidatorDialector) TableSelectColumnsQuery(table string) string
- func (d *MySQLValidatorDialector) TableSelectIndexesQuery(table string) string
- type PostgreSQLValidatorDialector
- func (d *PostgreSQLValidatorDialector) ColumnExistNullQuery(table string, column string) string
- func (d *PostgreSQLValidatorDialector) TableExistColumnQuery(table string, column string) string
- func (d *PostgreSQLValidatorDialector) TableExistDuplicatesQuery(table string, columns []string) string
- func (d *PostgreSQLValidatorDialector) TableExistIndexQuery(table string, index string) string
- func (d *PostgreSQLValidatorDialector) TableExistQuery(table string) string
- func (d *PostgreSQLValidatorDialector) TableSelectColumnsQuery(table string) string
- func (d *PostgreSQLValidatorDialector) TableSelectIndexesQuery(table string) string
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
Click to show internal directories.
Click to hide internal directories.