ddl

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 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(tableName string, indexes []*types.Index) ([]string, error)

func GenerateCreateTableStatement

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

func GenerateDDL

func GenerateDDL(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