ddl

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCreateIndexStatements

func GenerateCreateIndexStatements(pgSchema, tableName string, indexes []*types.Index) ([]string, error)

func GenerateCreateTableStatement

func GenerateCreateTableStatement(pgSchema string, table *types.Table) (string, error)

func GenerateDDL

func GenerateDDL(pgSchema string, table *types.Table) ([]string, error)

GenerateDDL generates the necessary table and index ddl statements for the given table

Types

This section is empty.

Jump to

Keyboard shortcuts

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