sqlpg

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetATCreateColSQL

func GetATCreateColSQL(tableid string, col *types.Column) string

func GetATCreateConstraintSQL

func GetATCreateConstraintSQL(tableid string, con *types.DbConstraint) string

func GetATDropColSQL

func GetATDropColSQL(tableid string, colName string) string

func GetATDropConstraint

func GetATDropConstraint(tableid string, conName string) string

func GetColDefSQL

func GetColDefSQL(col *types.Column) string

func GetCreateSchemaSQL

func GetCreateSchemaSQL(schema *types.Schema) string

func GetCreateSequenceSQL

func GetCreateSequenceSQL(seq *types.DbSequence) string

func GetCreateTableSQL

func GetCreateTableSQL(tableSchema *types.TableSchema) string

func GetCreateViewSQL

func GetCreateViewSQL(viewSchema *types.TableSchema) string

func GetDropSchemaSQL

func GetDropSchemaSQL(schema *types.Schema) string

func GetDropSequenceSQL

func GetDropSequenceSQL(seq *types.DbSequence) string

func GetDropTableSQL

func GetDropTableSQL(tableid string) string

tableid should be of the form "schemaname"."tablename"

func GetDropViewSQL

func GetDropViewSQL(viewid string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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