Documentation
¶
Index ¶
- func ContainsIdentifier(query string, identifier string) bool
- func IsSingleReadOnlyStatement(query string) bool
- func QueryWithRowLimit(query string, rowLimit int64) string
- func ReferencedTables(query string, explicitTableNames []string, tables []TableConfig) []string
- func ValidateReadOnlyQuery(query string, explicitTableNames []string, tables []TableConfig) error
- type TableConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsIdentifier ¶
func QueryWithRowLimit ¶
func ReferencedTables ¶
func ReferencedTables(query string, explicitTableNames []string, tables []TableConfig) []string
func ValidateReadOnlyQuery ¶
func ValidateReadOnlyQuery(query string, explicitTableNames []string, tables []TableConfig) error
Types ¶
type TableConfig ¶
Click to show internal directories.
Click to hide internal directories.