indexops

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 CreateCompositeIndex

func CreateCompositeIndex() (string, error)

CreateCompositeIndex returns a CREATE INDEX with multiple columns

func CreatePartialIndex

func CreatePartialIndex() (string, error)

CreatePartialIndex returns a CREATE INDEX with WHERE clause

func CreateSimpleIndex

func CreateSimpleIndex() (string, error)

CreateSimpleIndex returns a CREATE INDEX SQL statement

func CreateUniqueIndex

func CreateUniqueIndex() (string, error)

CreateUniqueIndex returns a CREATE UNIQUE INDEX SQL statement

func DropIndex

func DropIndex() (string, error)

DropIndex returns a DROP INDEX SQL statement

func DropIndexIfExists

func DropIndexIfExists() (string, error)

DropIndexIfExists returns a DROP INDEX IF EXISTS SQL statement

func DropIndexWithSchema

func DropIndexWithSchema() (string, error)

DropIndexWithSchema returns a DROP INDEX with schema (PostgreSQL)

Types

This section is empty.

Jump to

Keyboard shortcuts

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