typesql_parser library

Classes

AddColumn
AddConstraint
AddPartitions
AggregateExpressionWithFilter
AllOp
AlterColumn
AlterColumnOperation
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.AlterColumnOperation.html
AlterColumnOperationDropDefault
AlterColumnOperationDropNotNull
AlterColumnOperationSetDataType
AlterColumnOperationSetDefault
AlterColumnOperationSetNotNull
AlterIndex
AlterIndexOperation
AlterTable
AlterTableOperation
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.AlterTableOperation.html
AnyOp
ArrayAgg
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.ArrayAgg.html
ArrayAggRef
ArrayExpr
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.Array.html
ArrayIndex
ArraySubquery
Assignment
Asterisk
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.WildcardAdditionalOptions.html
AtTimeZone
Between
BinaryOp
BinaryOperator
BinaryOperatorAnd
BinaryOperatorBitwiseAnd
BinaryOperatorBitwiseOr
BinaryOperatorBitwiseXor
BinaryOperatorCustom
BinaryOperatorDivide
BinaryOperatorDuckIntegerDivide
BinaryOperatorEq
BinaryOperatorGt
BinaryOperatorGtEq
BinaryOperatorLt
BinaryOperatorLtEq
BinaryOperatorMinus
BinaryOperatorModulo
BinaryOperatorMultiply
BinaryOperatorMyIntegerDivide
BinaryOperatorNotEq
BinaryOperatorOr
BinaryOperatorPgBitwiseShiftLeft
BinaryOperatorPgBitwiseShiftRight
BinaryOperatorPgBitwiseXor
BinaryOperatorPgCustomBinaryOperator
BinaryOperatorPgExp
BinaryOperatorPgRegexIMatch
BinaryOperatorPgRegexMatch
BinaryOperatorPgRegexNotIMatch
BinaryOperatorPgRegexNotMatch
BinaryOperatorPlus
BinaryOperatorSpaceship
BinaryOperatorStringConcat
BinaryOperatorXor
BoolUnaryOp
CaseExpr
Cast
Ceil
ChangeColumn
CharacterLength
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.CharacterLength.html
CheckConstraint
Collate
ColumnDef
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.ColumnDef.html
ColumnOption
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.ColumnOption.html
ColumnOptionCharacterSet
ColumnOptionCheck
ColumnOptionComment
ColumnOptionDef
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.ColumnOptionDef.html
ColumnOptionDefault
ColumnOptionDialectSpecific
ColumnOptionForeignKey
ColumnOptionGenerated
ColumnOptionNotNull
ColumnOptionNull
ColumnOptionOnUpdate
ColumnOptionUnique
Commit
CommonTableExpr
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.Cte.html
CompositeAccess
CompositeUserDefinedType
ConflictTarget
ConflictTargetColumns
ConflictTargetOnConstraint
CreateFunction
CreateFunctionBody
CreateFunctionUsing
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.CreateFunctionUsing.html
CreateFunctionUsingArchive
CreateFunctionUsingFile
CreateFunctionUsingJar
CreateMacro
CreateProcedure
CreateType
CreateVirtualTable
CubeExpr
CustomDataType
DataType
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.DataType.html
DataTypeArray
DataTypeBigDecimal
DataTypeBigInt
DataTypeBigNumeric
DataTypeBinary
DataTypeBlob
DataTypeBoolean
DataTypeBytea
DataTypeChar
DataTypeCharacter
DataTypeCharacterLargeObject
DataTypeCharacterVarying
DataTypeCharLargeObject
DataTypeCharVarying
DataTypeClob
DataTypeCustom
DataTypeDate
DataTypeDatetime
DataTypeDec
DataTypeDecimal
DataTypeDouble
DataTypeDoublePrecision
DataTypeEnum
DataTypeFloat
DataTypeInt
DataTypeInteger
DataTypeInterval
DataTypeJson
DataTypeMediumInt
DataTypeNumeric
DataTypeNvarchar
DataTypeReal
DataTypeRef
DataTypeRegclass
DataTypeSet
DataTypeSmallInt
DataTypeString
DataTypeText
DataTypeTime
DataTypeTimestamp
DataTypeTinyInt
DataTypeUnsignedBigInt
DataTypeUnsignedInt
DataTypeUnsignedInteger
DataTypeUnsignedMediumInt
DataTypeUnsignedSmallInt
DataTypeUnsignedTinyInt
DataTypeUuid
DataTypeVarbinary
DataTypeVarchar
Distinct
DistinctDistinct
DistinctOn
DollarQuotedString
DoUpdate
DropColumn
DropConstraint
DropFunctionDesc
DropPartitions
DropPrimaryKey
ExactNumberInfo
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.ExactNumberInfo.html
Exists
Expr
ExprCompoundIdentifier
ExprRef
ExprWithAlias
Extract
Fetch
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.Fetch.html
Floor
ForeignKeyConstraint
ForeignKeyOption
FullTextOrSpatialConstraint
FunctionArg
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.FunctionArg.html
FunctionArgExpr
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.FunctionArgExpr.html
FunctionArgExprExpr
FunctionArgExprNamed
FunctionArgExprQualifiedWildcard
FunctionArgExprWildcard
FunctionArgNamed
FunctionArgUnnamed
FunctionDefinition
FunctionDefinitionDoubleDollarDef
FunctionDefinitionSingleQuotedDef
GeneratedOption
GroupingSets
Ident
ILike
IncrementBy
IndexConstraint
InList
InSubquery
IntervalExpr
IntroducedString
InUnnest
IsDistinctFrom
IsNotDistinctFrom
Join
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.Join.html
JoinConstraint
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.JoinConstraint.html
JoinConstraintNatural
JoinConstraintNone
JoinConstraintOn
JoinConstraintUsing
JoinOperator
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.JoinOperator.html
JoinOperatorCrossApply
JoinOperatorCrossJoin
JoinOperatorFullOuter
JoinOperatorInner
JoinOperatorLeftAnti
JoinOperatorLeftOuter
JoinOperatorLeftSemi
JoinOperatorOuterApply
JoinOperatorRightAnti
JoinOperatorRightOuter
JoinOperatorRightSemi
JsonAccess
LateralView
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.LateralView.html
Like
ListAgg
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.ListAgg.html
ListAggOnOverflow
ListAggOnOverflowError
ListAggOnOverflowTruncate
ListAggRef
LockClause
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.LockClause.html
MacroArg
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.MacroArg.html
MacroDefinition
MacroDefinitionExpr
MacroDefinitionTable
MapAccess
MatchAgainst
MatchedDelete
MatchedUpdate
MergeClause
MinMaxValue
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.MinMaxValue.html
MinMaxValueEmpty
MinMaxValueNone
MinMaxValueSome
NamedWindowDefinition
NestedExpr
NotMatched
NumberValue
Offset
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.Offset.html
OnConflict
OnConflictAction
OnConflictActionDoNothing
OnConflictActionDoUpdate
OnInsert
OnInsertDuplicateKeyUpdate
OnInsertOnConflict
OnOverflowTruncate
OperateFunctionArg
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.OperateFunctionArg.html
OrderByExpr
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.OrderByExpr.html
Overlay
ParsedSql
Position
ProcedureParam
QualifiedWildcard
RenameColumn
RenameConstraint
RenameIndex
RenamePartitions
RenameTable
Rollback
RollupExpr
SafeCast
Savepoint
SelectInto
SelectItem
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.SelectItem.html
SelectItemExprWithAlias
SelectItemQualifiedWildcard
SelectItemUnnamedExpr
SelectItemWildcard
SequenceOptions
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.SequenceOptions.html
SequenceOptionsCache
SequenceOptionsCycle
SequenceOptionsIncrementBy
SequenceOptionsMaxValue
SequenceOptionsMinValue
SequenceOptionsStartWith
SetDataType
SetDefault
SetExpr
SetExprRef
SetOperation
SetTransaction
SetVariable
ShowCollation
ShowColumns
ShowCreate
ShowFunctions
ShowStatementFilter
ShowStatementFilterILike
ShowStatementFilterLike
ShowStatementFilterWhere
ShowTables
ShowVariable
ShowVariables
SimilarTo
SqlAnalyze
SqlAssert
SqlAst
SqlAstRef
SqlComment
SqlCreateIndex
SqlCreateTable
SqlCreateView
SqlDeclare
SqlDelete
SqlDrop
SqlDropFunction
SqlExecute
SqlExplain
SqlExplainTable
SqlFunction
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.Function.html
SqlFunctionRef
SqlInsert
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.Statement.html#variant.Insert
SqlInsertRef
SqlMerge
SqlOption
SqlPrepare
SqlQuery
SqlQueryRef
SqlSelect
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.Select.html
SqlSelectRef
SqlUpdate
SqlUpdateRef
SqlUse
SqlValue
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.Value.html
SqlValueBoolean
SqlValueDollarQuotedString
SqlValueDoubleQuotedByteStringLiteral
SqlValueDoubleQuotedString
SqlValueEscapedStringLiteral
SqlValueHexStringLiteral
SqlValueNationalStringLiteral
SqlValueNull
SqlValueNumber
SqlValuePlaceholder
SqlValueRawStringLiteral
SqlValueSingleQuotedByteStringLiteral
SqlValueSingleQuotedString
SqlValueUnQuotedString
StartTransaction
StartWith
Subquery
Substring
SwapWith
Table
TableAlias
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.TableAlias.html
TableConstraint
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.TableConstraint.html
TableFactor
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.TableFactor.html
TableFactorDerived
TableFactorNestedJoin
TableFactorPivot
TableFactorTable
TableFactorTableFunction
TableFactorUnnest
TableWithJoins
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.TableWithJoins.html
TableWithJoinsRef
TimestampType
Top
TransactionMode
TransactionModeAccessMode
TransactionModeIsolationLevel
Trim
TryCast
TupleExpr
TypedString
TypesqlParserWorld
TypesqlParserWorldImports
UnaryOp
UniqueConstraint
UniqueOption
UserDefinedTypeCompositeAttributeDef
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.UserDefinedTypeCompositeAttributeDef.html
UserDefinedTypeRepresentation
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.UserDefinedTypeRepresentation.html
Values
WindowFrame
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.WindowFrame.html
WindowFrameBound
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/enum.WindowFrameBound.html
WindowFrameBoundCurrentRow
WindowFrameBoundFollowing
WindowFrameBoundPreceding
WindowSpec
https://docs.rs/sqlparser/0.35.0/sqlparser/ast/struct.WindowSpec.html
WindowType
WindowTypeNamedWindow
WindowTypeWindowSpec
With

Functions

createTypesqlParser({Future<WasmModule> loadModule()?, WorkersConfig? workersConfig}) Future<TypesqlParserWorld>
Creates a TypesqlParserWorld with the given wasiConfig. It setsUp the dynamic library for wasm_run in native platforms and loads the typesql_parser WASM module from the file system or from the url pointing to 'lib/typesql_parser_wasm.wasm'.