sql

package
v1.0.0-beta.34 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetColumnsQuery = `` /* 3190-byte string literal not displayed */
View Source
var GetColumntPrivelegesQuery = `` /* 5431-byte string literal not displayed */
View Source
var GetConfigsQuery = `` /* 356-byte string literal not displayed */
View Source
var GetExtensionsQuery = `` /* 280-byte string literal not displayed */
View Source
var GetForeignKeysQuery = `` /* 201-byte string literal not displayed */
View Source
var GetFunctionsQuery = `` /* 3175-byte string literal not displayed */
View Source
var GetIndexesQuery = `` /* 138-byte string literal not displayed */
View Source
var GetMaterializedViewsQuery = `` /* 235-byte string literal not displayed */
View Source
var GetPoliciesQuery = `` /* 1128-byte string literal not displayed */
View Source
var GetPublicationsQuery = `` /* 833-byte string literal not displayed */
View Source
var GetRolesQuery = `` /* 731-byte string literal not displayed */
View Source
var GetSchemasQuery = `` /* 398-byte string literal not displayed */
View Source
var GetTablePrivelegesQuery = `` /* 1927-byte string literal not displayed */
View Source
var GetTableRelationshipActionsQuery = `` /* 1184-byte string literal not displayed */
View Source
var GetTableRelationshipsQuery = `` /* 1760-byte string literal not displayed */
View Source
var GetTablesQuery = `` /* 2922-byte string literal not displayed */
View Source
var GetTriggersQuery = `` /* 1285-byte string literal not displayed */
View Source
var GetTypesQuery = `` /* 1067-byte string literal not displayed */
View Source
var GetVersionQuery = `` /* 263-byte string literal not displayed */
View Source
var GetViewKeyDependenciesQuery = `` /* 7190-byte string literal not displayed */
View Source
var GetViewsQuery = `` /* 319-byte string literal not displayed */
View Source
var MapDefaultFunctionValue = map[string]bool{
	"CURRENT_TIMESTAMP": true,
	"CURRENT_DATE":      true,
	"CURRENT_TIME":      true,
	"LOCALTIME":         true,
	"LOCALTIMESTAMP":    true,
	"SESSION_USER":      true,
	"CURRENT_USER":      true,
}

Functions

func GenerateFunctionByNameQuery

func GenerateFunctionByNameQuery(schema, name string) string

func GenerateFunctionsQuery

func GenerateFunctionsQuery(includedSchema []string) string

func GenerateGetIndexQuery

func GenerateGetIndexQuery(schema string) string

func GenerateGetTableQuery

func GenerateGetTableQuery(tableName string, schema string, includeColumn bool) (string, error)

func GenerateGetTableRelationshipActionsQuery

func GenerateGetTableRelationshipActionsQuery(schema string) string

func GenerateGetTablesQuery

func GenerateGetTablesQuery(includeSchemas []string, includeColumn bool) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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