Versions in this module Expand all Collapse all v0 v0.0.4 Mar 20, 2022 v0.0.3 Mar 20, 2022 v0.0.2 Mar 20, 2022 v0.0.1 Mar 18, 2022 Changes in this version + const ABORT + const ABSOLUTE + const ACCESS + const ACTION + const ADD + const ADMIN + const AFTER + const AGGREGATE + const ALL + const ALTER + const ALWAYS + const ANALYSE + const ANALYZE + const AND + const AND_AND + const ANNOTATE_TYPE + const ANY + const ARRAY + const AS + const ASC + const ASENSITIVE + const ASYMMETRIC + const AS_LA + const AT + const ATTRIBUTE + const AUTHORIZATION + const AUTOMATIC + const AVAILABILITY + const BACKUP + const BACKUPS + const BACKWARD + const BCONST + const BEFORE + const BEGIN + const BETWEEN + const BIGINT + const BIGSERIAL + const BINARY + const BIT + const BITCONST + const BOOLEAN + const BOTH + const BOX2D + const BUCKET_COUNT + const BUNDLE + const BY + const CACHE + const CANCEL + const CANCELQUERY + const CASCADE + const CASE + const CAST + const CBRT + const CHANGEFEED + const CHAR + const CHARACTER + const CHARACTERISTICS + const CHECK + const CLOSE + const CLUSTER + const COALESCE + const COLLATE + const COLLATION + const COLUMN + const COLUMNS + const COMMENT + const COMMENTS + const COMMIT + const COMMITTED + const COMPACT + const COMPLETE + const COMPLETIONS + const CONCAT + const CONCURRENTLY + const CONFIGURATION + const CONFIGURATIONS + const CONFIGURE + const CONFLICT + const CONNECTION + const CONSTRAINT + const CONSTRAINTS + const CONTAINED_BY + const CONTAINS + const CONTROLCHANGEFEED + const CONTROLJOB + const CONVERSION + const CONVERT + const COPY + const COVERING + const CREATE + const CREATEDB + const CREATELOGIN + const CREATEROLE + const CROSS + const CSV + const CUBE + const CURRENT + const CURRENT_CATALOG + const CURRENT_DATE + const CURRENT_ROLE + const CURRENT_SCHEMA + const CURRENT_TIME + const CURRENT_TIMESTAMP + const CURRENT_USER + const CURSOR + const CYCLE + const DATA + const DATABASE + const DATABASES + const DATE + const DAY + const DEALLOCATE + const DEBUG_PAUSE_ON + const DEC + const DECIMAL + const DECLARE + const DEFAULT + const DEFAULTS + const DEFERRABLE + const DEFERRED + const DELETE + const DELIMITER + const DESC + const DESTINATION + const DETACHED + const DISCARD + const DISTINCT + const DO + const DOMAIN + const DOT_DOT + const DOUBLE + const DROP + const ELSE + const ENCODING + const ENCRYPTED + const ENCRYPTION_PASSPHRASE + const END + const ENUM + const ENUMS + const ERROR + const ESCAPE + const EXCEPT + const EXCLUDE + const EXCLUDING + const EXECUTE + const EXECUTION + const EXISTS + const EXPERIMENTAL + const EXPERIMENTAL_AUDIT + const EXPERIMENTAL_FINGERPRINTS + const EXPERIMENTAL_RELOCATE + const EXPERIMENTAL_REPLICA + const EXPIRATION + const EXPLAIN + const EXPORT + const EXTENSION + const EXTRACT + const EXTRACT_DURATION + const FAILURE + const FALSE + const FAMILY + const FCONST + const FETCH + const FETCHTEXT + const FETCHTEXT_PATH + const FETCHVAL + const FETCHVAL_PATH + const FILES + const FILTER + const FIRST + const FLOAT + const FLOAT4 + const FLOAT8 + const FLOORDIV + const FOLLOWING + const FOR + const FORCE + const FORCE_INDEX + const FORCE_ZIGZAG + const FOREIGN + const FORWARD + const FROM + const FULL + const FUNCTION + const FUNCTIONS + const GENERATED + const GENERATED_ALWAYS + const GENERATED_BY_DEFAULT + const GEOGRAPHY + const GEOMETRY + const GEOMETRYCOLLECTION + const GEOMETRYCOLLECTIONM + const GEOMETRYCOLLECTIONZ + const GEOMETRYCOLLECTIONZM + const GEOMETRYM + const GEOMETRYZ + const GEOMETRYZM + const GLOBAL + const GOAL + const GRANT + const GRANTS + const GREATER_EQUALS + const GREATEST + const GROUP + const GROUPING + const GROUPS + const HASH + const HAVING + const HELPTOKEN + const HIGH + const HISTOGRAM + const HOLD + const HOUR + const ICONST + const IDENT + const IDENTITY + const IF + const IFERROR + const IFNULL + const IGNORE_FOREIGN_KEYS + const ILIKE + const IMMEDIATE + const IMPORT + const IN + const INCLUDE + const INCLUDING + const INCREMENT + const INCREMENTAL + const INCREMENTAL_LOCATION + const INDEX + const INDEXES + const INET + const INET_CONTAINED_BY_OR_EQUALS + const INET_CONTAINS_OR_EQUALS + const INHERITS + const INITIALLY + const INJECT + const INNER + const INSENSITIVE + const INSERT + const INT + const INTEGER + const INTERSECT + const INTERVAL + const INTERVAL_SIMPLE + const INTO + const INTO_DB + const INVERTED + const IS + const ISERROR + const ISNULL + const ISOLATION + const JOB + const JOBS + const JOIN + const JSON + const JSONB + const JSON_ALL_EXISTS + const JSON_SOME_EXISTS + const KEY + const KEYS + const KMS + const KV + const LANGUAGE + const LAST + const LATERAL + const LATEST + const LC_COLLATE + const LC_CTYPE + const LEADING + const LEASE + const LEAST + const LEFT + const LESS + const LESS_EQUALS + const LEVEL + const LIKE + const LIMIT + const LINESTRING + const LINESTRINGM + const LINESTRINGZ + const LINESTRINGZM + const LIST + const LOCAL + const LOCALITY + const LOCALTIME + const LOCALTIMESTAMP + const LOCKED + const LOGIN + const LOOKUP + const LOW + const LSHIFT + const MATCH + const MATERIALIZED + const MAXVALUE + const MERGE + const METHOD + const MINUTE + const MINVALUE + const MODIFYCLUSTERSETTING + const MONTH + const MOVE + const MULTILINESTRING + const MULTILINESTRINGM + const MULTILINESTRINGZ + const MULTILINESTRINGZM + const MULTIPOINT + const MULTIPOINTM + const MULTIPOINTZ + const MULTIPOINTZM + const MULTIPOLYGON + const MULTIPOLYGONM + const MULTIPOLYGONZ + const MULTIPOLYGONZM + const MaxInt + const MaxUint + const NAME + const NAMES + const NAN + const NATURAL + const NEVER + const NEW_DB_NAME + const NEW_KMS + const NEXT + const NO + const NOCANCELQUERY + const NOCONTROLCHANGEFEED + const NOCONTROLJOB + const NOCREATEDB + const NOCREATELOGIN + const NOCREATEROLE + const NOLOGIN + const NOMODIFYCLUSTERSETTING + const NONE + const NONVOTERS + const NORMAL + const NOSQLLOGIN + const NOT + const NOTHING + const NOTNULL + const NOT_EQUALS + const NOT_LA + const NOT_REGIMATCH + const NOT_REGMATCH + const NOVIEWACTIVITY + const NOVIEWACTIVITYREDACTED + const NOVIEWCLUSTERSETTING + const NOWAIT + const NO_FULL_SCAN + const NO_INDEX_JOIN + const NO_ZIGZAG_JOIN + const NULL + const NULLIF + const NULLS + const NULLS_LA + const NUMERIC + const OF + const OFF + const OFFSET + const OID + const OIDS + const OIDVECTOR + const OLD_KMS + const ON + const ONLY + const ON_LA + const OPERATOR + const OPT + const OPTION + const OPTIONS + const OR + const ORDER + const ORDINALITY + const OTHERS + const OUT + const OUTER + const OVER + const OVERLAPS + const OVERLAY + const OWNED + const OWNER + const PARENT + const PARTIAL + const PARTITION + const PARTITIONS + const PASSWORD + const PAUSE + const PAUSED + const PHYSICAL + const PLACEHOLDER + const PLACEMENT + const PLACING + const PLAN + const PLANS + const POINT + const POINTM + const POINTZ + const POINTZM + const POLYGON + const POLYGONM + const POLYGONZ + const POLYGONZM + const POSITION + const POSTFIXOP + const PRECEDING + const PRECISION + const PREPARE + const PRESERVE + const PRIMARY + const PRIOR + const PRIORITY + const PRIVILEGES + const PROCEDURAL + const PUBLIC + const PUBLICATION + const QUERIES + const QUERY + const RANGE + const RANGES + const READ + const REAL + const REASON + const REASSIGN + const RECURRING + const RECURSIVE + const REF + const REFERENCES + const REFRESH + const REGCLASS + const REGIMATCH + const REGION + const REGIONAL + const REGIONS + const REGNAMESPACE + const REGPROC + const REGPROCEDURE + const REGROLE + const REGTYPE + const REINDEX + const RELATIVE + const RELEASE + const RELOCATE + const REMOVE_PATH + const RENAME + const REPEATABLE + const REPLACE + const REPLICATION + const RESET + const RESET_ALL + const RESTORE + const RESTRICT + const RESTRICTED + const RESUME + const RETRY + const RETURNING + const REVISION_HISTORY + const REVOKE + const RIGHT + const ROLE + const ROLES + const ROLE_ALL + const ROLLBACK + const ROLLUP + const ROUTINES + const ROW + const ROWS + const RSHIFT + const RULE + const RUNNING + const SAVEPOINT + const SCANS + const SCATTER + const SCHEDULE + const SCHEDULES + const SCHEMA + const SCHEMAS + const SCONST + const SCROLL + const SCRUB + const SEARCH + const SECOND + const SELECT + const SEQUENCE + const SEQUENCES + const SERIALIZABLE + const SERVER + const SESSION + const SESSIONS + const SESSION_USER + const SET + const SETS + const SETTING + const SETTINGS + const SHARE + const SHOW + const SIMILAR + const SIMPLE + const SKIP + const SKIP_LOCALITIES_CHECK + const SKIP_MISSING_FOREIGN_KEYS + const SKIP_MISSING_SEQUENCES + const SKIP_MISSING_SEQUENCE_OWNERS + const SKIP_MISSING_VIEWS + const SMALLINT + const SMALLSERIAL + const SNAPSHOT + const SOME + const SPLIT + const SQL + const SQLLOGIN + const SQRT + const START + const STATE + const STATEMENTS + const STATISTICS + const STATUS + const STDIN + const STORAGE + const STORE + const STORED + const STORING + const STREAM + const STRICT + const STRING + const SUBSCRIPTION + const SUBSTRING + const SUPER + const SURVIVAL + const SURVIVE + const SYMMETRIC + const SYNTAX + const SYSTEM + const TABLE + const TABLES + const TABLESPACE + const TEMP + const TEMPLATE + const TEMPORARY + const TENANT + const TENANTS + const TENANT_ALL + const TESTING_RELOCATE + const TEXT + const THEN + const THROTTLING + const TIES + const TIME + const TIMESTAMP + const TIMESTAMPTZ + const TIMETZ + const TO + const TRACE + const TRACING + const TRAILING + const TRANSACTION + const TRANSACTIONS + const TRANSFER + const TREAT + const TRIGGER + const TRIM + const TRUE + const TRUNCATE + const TRUSTED + const TYPE + const TYPEANNOTATE + const TYPECAST + const TYPES + const UMINUS + const UNBOUNDED + const UNCOMMITTED + const UNION + const UNIQUE + const UNKNOWN + const UNLOGGED + const UNSET + const UNSPLIT + const UNTIL + const UPDATE + const UPSERT + const USE + const USER + const USERS + const USER_ALL + const USING + const UUID + const VALID + const VALIDATE + const VALUE + const VALUES + const VARBIT + const VARCHAR + const VARIADIC + const VARYING + const VIEW + const VIEWACTIVITY + const VIEWACTIVITYREDACTED + const VIEWCLUSTERSETTING + const VIRTUAL + const VISIBLE + const VOTERS + const WHEN + const WHERE + const WINDOW + const WITH + const WITHIN + const WITHOUT + const WITH_LA + const WORK + const WRITE + const YEAR + const ZONE + var AllHelp = func(h map[string]HelpMessageBody) string { ... }(helpMessages) + var HelpMessages = func(h map[string]HelpMessageBody) map[string]HelpMessageBody { ... }(helpMessages) + func GetTypeFromValidSQLSyntax(sql string) (tree.ResolvableTypeReference, error) + func GetTypeReferenceFromName(typeName tree.Name) (tree.ResolvableTypeReference, error) + func NakedIntTypeFromDefaultIntSize(defaultIntSize int32) *types.T + func ParseExpr(sql string) (tree.Expr, error) + func ParseExprWithInt(sql string, nakedIntType *types.T) (tree.Expr, error) + func ParseExprs(sql []string) (tree.Exprs, error) + func ParseQualifiedTableName(sql string) (*tree.TableName, error) + func ParseTableName(sql string) (*tree.UnresolvedObjectName, error) + func RunShowSyntax(ctx context.Context, stmt string, ...) + func SplitFirstStatement(sql string) (pos int, ok bool) + type HelpMessage struct + Command string + Function string + func (h *HelpMessage) Format(w io.Writer) + func (h *HelpMessage) String() string + type HelpMessageBody struct + Category string + SeeAlso string + ShortDescription string + Text string + type Parser struct + func (p *Parser) Parse(sql string) (Statements, error) + func (p *Parser) ParseWithInt(sql string, nakedIntType *types.T) (Statements, error) + type Statement struct + AST tree.Statement + NumAnnotations tree.AnnotationIdx + NumPlaceholders int + SQL string + func ParseOne(sql string) (Statement, error) + func ParseOneWithInt(sql string, nakedIntType *types.T) (Statement, error) + type Statements []Statement + func Parse(sql string) (Statements, error) + func (stmts Statements) String() string + func (stmts Statements) StringWithFlags(flags tree.FmtFlags) string + type TokenString struct + Str string + TokenID int32 + func Tokens(sql string) (tokens []TokenString, ok bool) + func TokensIgnoreErrors(sql string) (tokens []TokenString)