Versions in this module Expand all Collapse all v1 v1.0.0 Sep 19, 2023 Changes in this version + const MysqlDialect + const PostgresDialect + const SqliteDialect + const SqlserverDialect + type Sql struct + func NewSql(dialect SqlDialect, lowercase bool) *Sql + func (s Sql) AlterTableAddColumnAfterStm() string + func (s Sql) AlterTableAddColumnFirstStm() string + func (s Sql) AlterTableDropColumnStm() string + func (s Sql) AlterTableModifyColumnStm() string + func (s Sql) AlterTableRenameColumnStm() string + func (s Sql) AlterTableRenameIndexStm() string + func (s Sql) AutoIncrementOption() string + func (s Sql) BigIntType() string + func (s Sql) BooleanType() string + func (s Sql) Comment() string + func (s Sql) CreateForeignKeyStm() string + func (s Sql) CreateIndexStm(indexType string) string + func (s Sql) CreatePrimaryKeyStm() string + func (s Sql) CreateTableMigration() string + func (s Sql) CreateTableStm() string + func (s Sql) CreateUniqueIndexStm(indexType string) string + func (s Sql) DatetimeType() string + func (s Sql) DefaultOption() string + func (s Sql) DoubleType() string + func (s Sql) DropForeignKeyStm() string + func (s Sql) DropIndexStm() string + func (s Sql) DropPrimaryKeyStm() string + func (s Sql) DropTableMigration() string + func (s Sql) DropTableStm() string + func (s Sql) FamilyName(f int32) string + func (s Sql) FloatType() string + func (s Sql) GetDialect() SqlDialect + func (s Sql) InsertMigrationVersion() string + func (s Sql) IntType() string + func (s Sql) IsLowercase() bool + func (s Sql) IsMysql() bool + func (s Sql) IsPostgres() bool + func (s Sql) IsSqlite() bool + func (s Sql) IsSqlserver() bool + func (s Sql) NotNullValue() string + func (s Sql) NullValue() string + func (s Sql) PointerType() string + func (s Sql) PrimaryOption() string + func (s Sql) RenameTableStm() string + func (s Sql) RollbackMigrationVersion() string + func (s Sql) SmallIntType() string + func (s Sql) TextType() string + func (s Sql) TinyIntType() string + func (s Sql) UnspecificType() string + type SqlDialect string