Documentation ¶
Index ¶
Constants ¶
View Source
const ( ABS string = "ABS" ADD = "ADD" ASC = "ASC" ALL = "ALL" ALLOCATE = "ALLOCATE" ALTER = "ALTER" AND = "AND" ANY = "ANY" ARE = "ARE" ARRAY = "ARRAY" ARRAY_AGG = "ARRAY_AGG" ARRAY_MAX_CARDINALITY = "ARRAY_MAX_CARDINALITY" AS = "AS" ASENSITIVE = "ASENSITIVE" ASYMMETRIC = "ASYMMETRIC" AT = "AT" ATOMIC = "ATOMIC" AUTHORIZATION = "AUTHORIZATION" AVG = "AVG" BEGIN = "BEGIN" BEGIN_FRAME = "BEGIN_FRAME" BEGIN_PARTITION = "BEGIN_PARTITION" BETWEEN = "BETWEEN" BIGINT = "BIGINT" BINARY = "BINARY" BLOB = "BLOB" BOOLEAN = "BOOLEAN" BOTH = "BOTH" BY = "BY" BYTEA = "BYTEA" CALL = "CALL" CALLED = "CALLED" CARDINALITY = "CARDINALITY" CASCADED = "CASCADED" CASE = "CASE" CAST = "CAST" CEIL = "CEIL" CEILING = "CEILING" CHR = "CHR" CHAR = "CHAR" CHAR_LENGTH = "CHAR_LENGTH" CHARACTER = "CHARACTER" CHARACTER_LENGTH = "CHARACTER_LENGTH" CHECK = "CHECK" CLOB = "CLOB" CLOSE = "CLOSE" COALESCE = "COALESCE" COLLATE = "COLLATE" COLLECT = "COLLECT" COLUMN = "COLUMN" COMMIT = "COMMIT" CONDITION = "CONDITION" CONNECT = "CONNECT" CONSTRAINT = "CONSTRAINT" CONTAINS = "CONTAINS" CONVERT = "CONVERT" COPY = "COPY" CORR = "CORR" CORRESPONDING = "CORRESPONDING" COUNT = "COUNT" COVAR_POP = "COVAR_POP" COVAR_SAMP = "COVAR_SAMP" CREATE = "CREATE" CROSS = "CROSS" CSV = "CSV" CUBE = "CUBE" CUME_DIST = "CUME_DIST" CURRENT = "CURRENT" CURRENT_CATALOG = "CURRENT_CATALOG" CURRENT_DATE = "CURRENT_DATE" CURRENT_DEFAULT_TRANSFORM_GROUP = "CURRENT_DEFAULT_TRANSFORM_GROUP" CURRENT_PATH = "CURRENT_PATH" CURRENT_ROLE = "CURRENT_ROLE" CURRENT_ROW = "CURRENT_ROW" CURRENT_SCHEMA = "CURRENT_SCHEMA" CURRENT_TIME = "CURRENT_TIME" CURRENT_TIMESTAMP = "CURRENT_TIMESTAMP" CURRENT_TRANSFORM_GROUP_FOR_TYPE = "CURRENT_TRANSFORM_GROUP_FOR_TYPE" CURRENT_USER = "CURRENT_USER" CURSOR = "CURSOR" CYCLE = "CYCLE" DATE = "DATE" DAY = "DAY" DEALLOCATE = "DEALLOCATE" DEC = "DEC" DECIMAL = "DECIMAL" DECLARE = "DECLARE" DEFAULT = "DEFAULT" DELETE = "DELETE" DENSE_RANK = "DENSE_RANK" DEREF = "DEREF" DESC = "DESC" DESCRIBE = "DESCRIBE" DETERMINISTIC = "DETERMINISTIC" DISCONNECT = "DISCONNECT" DISTINCT = "DISTINCT" DOUBLE = "DOUBLE" DROP = "DROP" DYNAMIC = "DYNAMIC" EACH = "EACH" ELEMENT = "ELEMENT" ELSE = "ELSE" END = "END" END_FRAME = "END_FRAME" END_PARTITION = "END_PARTITION" EQUALS = "EQUALS" ESCAPE = "ESCAPE" EVERY = "EVERY" EXCEPT = "EXCEPT" EXEC = "EXEC" EXECUTE = "EXECUTE" EXISTS = "EXISTS" EXP = "EXP" EXTERNAL = "EXTERNAL" EXTRACT = "EXTRACT" FALSE = "FALSE" FETCH = "FETCH" FILTER = "FILTER" FIRST_VALUE = "FIRST_VALUE" FLOAT = "FLOAT" FLOOR = "FLOOR" FOLLOWING = "FOLLOWING" FOR = "FOR" FOREIGN = "FOREIGN" FRAME_ROW = "FRAME_ROW" FREE = "FREE" FROM = "FROM" FULL = "FULL" FUNCTION = "FUNCTION" FUSION = "FUSION" GET = "GET" GLOBAL = "GLOBAL" GRANT = "GRANT" GROUP = "GROUP" GROUPING = "GROUPING" GROUPS = "GROUPS" HAVING = "HAVING" HEADER = "HEADER" HOLD = "HOLD" HOUR = "HOUR" IDENTITY = "IDENTITY" IN = "IN" INDICATOR = "INDICATOR" INNER = "INNER" INOUT = "INOUT" INSENSITIVE = "INSENSITIVE" INSERT = "INSERT" INT = "INT" INTEGER = "INTEGER" INTERSECT = "INTERSECT" INTERSECTION = "INTERSECTION" INTERVAL = "INTERVAL" INTO = "INTO" IS = "IS" JOIN = "JOIN" KEY = "KEY" LAG = "LAG" LANGUAGE = "LANGUAGE" LARGE = "LARGE" LAST_VALUE = "LAST_VALUE" LATERAL = "LATERAL" LEAD = "LEAD" LEADING = "LEADING" LEFT = "LEFT" LIKE = "LIKE" LIKE_REGEX = "LIKE_REGEX" LIMIT = "LIMIT" LN = "LN" LOCAL = "LOCAL" LOCALTIME = "LOCALTIME" LOCALTIMESTAMP = "LOCALTIMESTAMP" LOCATION = "LOCATION" LOWER = "LOWER" MATCH = "MATCH" MATERIALIZED = "MATERIALIZED" MAX = "MAX" MEMBER = "MEMBER" MERGE = "MERGE" METHOD = "METHOD" MIN = "MIN" MINUTE = "MINUTE" MOD = "MOD" MODIFIES = "MODIFIES" MODULE = "MODULE" MONTH = "MONTH" MULTISET = "MULTISET" NATIONAL = "NATIONAL" NATURAL = "NATURAL" NCHAR = "NCHAR" NCLOB = "NCLOB" NEW = "NEW" NO = "NO" NONE = "NONE" NORMALIZE = "NORMALIZE" NOT = "NOT" NTH_VALUE = "NTH_VALUE" NTILE = "NTILE" NULL = "NULL" NULLIF = "NULLIF" NUMERIC = "NUMERIC" OBJECT = "OBJECT" OCTET_LENGTH = "OCTET_LENGTH" OCCURRENCES_REGEX = "OCCURRENCES_REGEX" OF = "OF" OFFSET = "OFFSET" OLD = "OLD" ON = "ON" ONLY = "ONLY" OPEN = "OPEN" OR = "OR" ORDER = "ORDER" OUT = "OUT" OUTER = "OUTER" OVER = "OVER" OVERLAPS = "OVERLAPS" OVERLAY = "OVERLAY" PARAMETER = "PARAMETER" PARTITION = "PARTITION" PARQUET = "PARQUET" PERCENT = "PERCENT" PERCENT_RANK = "PERCENT_RANK" PERCENTILE_CONT = "PERCENTILE_CONT" PERCENTILE_DISC = "PERCENTILE_DISC" PERIOD = "PERIOD" PORTION = "PORTION" POSITION = "POSITION" POSITION_REGEX = "POSITION_REGEX" POWER = "POWER" PRECEDES = "PRECEDES" PRECEDING = "PRECEDING" PRECISION = "PRECISION" PREPARE = "PREPARE" PRIMARY = "PRIMARY" PROCEDURE = "PROCEDURE" RANGE = "RANGE" RANK = "RANK" READS = "READS" REAL = "REAL" RECURSIVE = "RECURSIVE" REF = "REF" REFERENCES = "REFERENCES" REFERENCING = "REFERENCING" REGCLASS = "REGCLASS" REGR_AVGX = "REGR_AVGX" REGR_AVGY = "REGR_AVGY" REGR_COUNT = "REGR_COUNT" REGR_INTERCEPT = "REGR_INTERCEPT" REGR_R2 = "REGR_R2" REGR_SLOPE = "REGR_SLOPE" REGR_SXX = "REGR_SXX" REGR_SXY = "REGR_SXY" REGR_SYY = "REGR_SYY" RELEASE = "RELEASE" RESULT = "RESULT" RETURN = "RETURN" RETURNS = "RETURNS" REVOKE = "REVOKE" RIGHT = "RIGHT" ROLLBACK = "ROLLBACK" ROLLUP = "ROLLUP" ROW = "ROW" ROW_NUMBER = "ROW_NUMBER" ROWS = "ROWS" SAVEPOINT = "SAVEPOINT" SCOPE = "SCOPE" SCROLL = "SCROLL" SEARCH = "SEARCH" SECOND = "SECOND" SELECT = "SELECT" SENSITIVE = "SENSITIVE" SESSION_USER = "SESSION_USER" SET = "SET" SIMILAR = "SIMILAR" SMALLINT = "SMALLINT" SOME = "SOME" SPECIFIC = "SPECIFIC" SPECIFICTYPE = "SPECIFICTYPE" SQL = "SQL" SQLEXCEPTION = "SQLEXCEPTION" SQLSTATE = "SQLSTATE" SQLWARNING = "SQLWARNING" SQRT = "SQRT" START = "START" STATIC = "STATIC" STDDEV_POP = "STDDEV_POP" STDDEV_SAMP = "STDDEV_SAMP" STDIN = "STDIN" STORED = "STORED" SUBMULTISET = "SUBMULTISET" SUBSTRING = "SUBSTRING" SUBSTRING_REGEX = "SUBSTRING_REGEX" SUCCEEDS = "SUCCEEDS" SUM = "SUM" SYMMETRIC = "SYMMETRIC" SYSTEM = "SYSTEM" SYSTEM_TIME = "SYSTEM_TIME" SYSTEM_USER = "SYSTEM_USER" TABLE = "TABLE" TABLESAMPLE = "TABLESAMPLE" TEXT = "TEXT" THEN = "THEN" TIME = "TIME" TIMESTAMP = "TIMESTAMP" TIMEZONE_HOUR = "TIMEZONE_HOUR" TIMEZONE_MINUTE = "TIMEZONE_MINUTE" TO = "TO" TRAILING = "TRAILING" TRANSLATE = "TRANSLATE" TRANSLATE_REGEX = "TRANSLATE_REGEX" TRANSLATION = "TRANSLATION" TREAT = "TREAT" TRIGGER = "TRIGGER" TRUNCATE = "TRUNCATE" TRIM = "TRIM" TRIM_ARRAY = "TRIM_ARRAY" TRUE = "TRUE" UESCAPE = "UESCAPE" UNBOUNDED = "UNBOUNDED" UNION = "UNION" UNIQUE = "UNIQUE" UNKNOWN = "UNKNOWN" UNNEST = "UNNEST" UPDATE = "UPDATE" UPPER = "UPPER" USER = "USER" USING = "USING" UUID = "UUID" VALUE = "VALUE" VALUES = "VALUES" VALUE_OF = "VALUE_OF" VAR_POP = "VAR_POP" VAR_SAMP = "VAR_SAMP" VARBINARY = "VARBINARY" VARCHAR = "VARCHAR" VARYING = "VARYING" VERSIONING = "VERSIONING" VIEW = "VIEW" WHEN = "WHEN" WHENEVER = "WHENEVER" WHERE = "WHERE" WIDTH_BUCKET = "WIDTH_BUCKET" WINDOW = "WINDOW" WITH = "WITH" WITHIN = "WITHIN" WITHOUT = "WITHOUT" YEAR = "YEAR" ZONE = "ZONE" )
Variables ¶
View Source
var Keywords map[string]struct{}
View Source
var ReservedForColumnAlias map[string]struct{}
View Source
var ReservedForTableAlias map[string]struct{}
Functions ¶
This section is empty.
Types ¶
type GenericSQLDialect ¶
type GenericSQLDialect struct { }
func (*GenericSQLDialect) IsDelimitedIdentifierStart ¶
func (*GenericSQLDialect) IsDelimitedIdentifierStart(r rune) bool
func (*GenericSQLDialect) IsIdentifierPart ¶
func (*GenericSQLDialect) IsIdentifierPart(r rune) bool
func (*GenericSQLDialect) IsIdentifierStart ¶
func (*GenericSQLDialect) IsIdentifierStart(r rune) bool
type MySQLDialect ¶
type MySQLDialect struct {
GenericSQLDialect
}
func (*MySQLDialect) IsDelimitedIdentifierStart ¶
func (*MySQLDialect) IsDelimitedIdentifierStart(r rune) bool
type PostgresqlDialect ¶
type PostgresqlDialect struct { }
func (*PostgresqlDialect) IsDelimitedIdentifierStart ¶
func (*PostgresqlDialect) IsDelimitedIdentifierStart(r rune) bool
func (*PostgresqlDialect) IsIdentifierPart ¶
func (*PostgresqlDialect) IsIdentifierPart(r rune) bool
func (*PostgresqlDialect) IsIdentifierStart ¶
func (*PostgresqlDialect) IsIdentifierStart(r rune) bool
Click to show internal directories.
Click to hide internal directories.