tableops

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTable

func CreateTable() (string, error)

CreateTable returns a CREATE TABLE SQL statement

func DropTable

func DropTable() (string, error)

DropTable returns a DROP TABLE SQL statement

func DropTableIfExists

func DropTableIfExists() (string, error)

DropTableIfExists returns a DROP TABLE IF EXISTS SQL statement

func TruncateTable

func TruncateTable() (string, error)

TruncateTable returns a TRUNCATE TABLE SQL statement

func TruncateTableWithCascade

func TruncateTableWithCascade() (string, error)

TruncateTableWithCascade returns a TRUNCATE TABLE with CASCADE (PostgreSQL)

func TruncateTableWithResetIdentity

func TruncateTableWithResetIdentity() (string, error)

TruncateTableWithResetIdentity returns a TRUNCATE TABLE with identity reset (MSSQL)

Types

This section is empty.

Jump to

Keyboard shortcuts

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