Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeString ¶
QuoteString will escape only the ' character. Would prefer a more robust OSS solution, but this should prevent some dumb errors for now.
func ValidateIdentifier ¶
ValidateIdentifier implements a strict definition of valid identifiers from https://docs.snowflake.net/manuals/sql-reference/identifiers-syntax.html
Types ¶
type RoleGrantBuilder ¶
type RoleGrantBuilder struct {
// contains filtered or unexported fields
}
func RoleGrant ¶
func RoleGrant(name string) *RoleGrantBuilder
func (*RoleGrantBuilder) Role ¶
func (gb *RoleGrantBuilder) Role(role string) *RoleGrantExecutable
func (*RoleGrantBuilder) User ¶
func (gb *RoleGrantBuilder) User(user string) *RoleGrantExecutable
type RoleGrantExecutable ¶
type RoleGrantExecutable struct {
// contains filtered or unexported fields
}
func (*RoleGrantExecutable) Grant ¶
func (gr *RoleGrantExecutable) Grant() string
func (*RoleGrantExecutable) Revoke ¶
func (gr *RoleGrantExecutable) Revoke() string
Click to show internal directories.
Click to hide internal directories.