Documentation
¶
Index ¶
- func GetATCreateColSQL(tableid string, col *types.Column) (string, error)
- func GetATCreateConstraintSQL(tableid string, con *types.DbConstraint) (string, error)
- func GetATDropColSQL(tableid string, colName string) (string, error)
- func GetATDropConstraint(tableid string, conName string) (string, error)
- func GetColDefSQL(col *types.Column) (string, error)
- func GetCreateSchemaSQL(schema *types.Schema) (string, error)
- func GetCreateSequenceSQL(seq *types.DbSequence) (string, error)
- func GetCreateTableSQL(tableSchema *types.TableSchema) (string, error)
- func GetCreateViewSQL(viewSchema *types.TableSchema) (string, error)
- func GetDisableConstSQL() (string, error)
- func GetDropSchemaSQL(schema *types.Schema) (string, error)
- func GetDropSequenceSQL(seq *types.DbSequence) (string, error)
- func GetDropTableSQL(tableid string) (string, error)
- func GetDropViewSQL(viewid string) (string, error)
- func GetEnableConstSQL() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetATCreateConstraintSQL ¶
func GetATCreateConstraintSQL(tableid string, con *types.DbConstraint) (string, error)
func GetCreateSequenceSQL ¶
func GetCreateSequenceSQL(seq *types.DbSequence) (string, error)
func GetCreateTableSQL ¶
func GetCreateTableSQL(tableSchema *types.TableSchema) (string, error)
func GetCreateViewSQL ¶
func GetCreateViewSQL(viewSchema *types.TableSchema) (string, error)
func GetDisableConstSQL ¶
func GetDropSequenceSQL ¶
func GetDropSequenceSQL(seq *types.DbSequence) (string, error)
func GetDropTableSQL ¶
tableid should be of the form "schemaname"."tablename"
func GetDropViewSQL ¶
func GetEnableConstSQL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.