Documentation ¶
Overview ¶
Package quote provides SQL quoting functions for strings and identifiers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoubleQuote ¶
DoubleQuote puts double quotes around a string and escapes existing double quotes
func IsReservedWord ¶
IsReservedWord returns true if the given string is a reserved word
func QuoteDeclType ¶
QuoteDeclType returns a supported type or quotes type TEXT => TEXT TIMESTAMP => TIMESTAMP some other type => "some other type"
func QuoteIdentifier ¶
QuoteIdentifier returns a safe version of an identifier
func QuoteIdentifiers ¶
QuoteIdentifiers returns a safe version of a list of identifiers, separated by commas
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.