sqlwriter

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, error)

func GetATCreateConstraintSQL

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

func GetATDropColSQL

func GetATDropColSQL(tableid string, colName string) (string, error)

func GetATDropConstraint

func GetATDropConstraint(tableid string, conName string) (string, error)

func GetColDefSQL

func GetColDefSQL(col *types.Column) (string, error)

func GetCreateSchemaSQL

func GetCreateSchemaSQL(schema *types.Schema) (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 GetDisableConstSQL() (string, error)

func GetDropSchemaSQL

func GetDropSchemaSQL(schema *types.Schema) (string, error)

func GetDropSequenceSQL

func GetDropSequenceSQL(seq *types.DbSequence) (string, error)

func GetDropTableSQL

func GetDropTableSQL(tableid string) (string, error)

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

func GetDropViewSQL

func GetDropViewSQL(viewid string) (string, error)

func GetEnableConstSQL

func GetEnableConstSQL() (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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