import { AstDefaultMapper } from "https://deno.land/x/pgsql_ast_parser@12.0.0/ast-mapper.ts";
Module
x/pgsql_ast_parser/ast-mapper.ts>AstDefaultMapper#setTableOwner
Yet another simple Postgres SQL parser
literal-syntaxessyntaxAlterColumnAddGeneratedAlterColumnSetDefaultAlterColumnSetTypeAlterColumnSimpleAlterEnumTypeAlterIndexStatementAlterSequenceOwnerToAlterSequenceRenameAlterSequenceSetOptionsAlterSequenceSetSchemaAlterSequenceStatementAlterTableStatementArrayDataTypeDefBasicDataTypeDefBeginStatementCallOverCircleColumnConstraintCheckColumnConstraintDefaultColumnConstraintForeignKeyColumnConstraintReferenceColumnConstraintSimpleCommentStatementCommitStatementCompositeTypeAttributeCreateColumnDefCreateColumnsLikeTableCreateColumnsLikeTableOptCreateCompositeTypeCreateEnumTypeCreateExtensionStatementCreateFunctionStatementCreateIndexStatementCreateIndexWithCreateMaterializedViewStatementCreateSchemaStatementCreateSequenceOptionsCreateSequenceStatementCreateTableStatementCreateViewStatementCreateViewStatementBaseDeallocateStatementDeallocateStatementOptDeleteStatementDoStatementDropFunctionStatementDropStatementEnumAlterationAddValueEnumAlterationRenameExprArrayFromSelectExprArrayIndexExprBinaryExprBoolExprCallExprCaseExprCastExprConstantExprDefaultExprExtractExprIntegerExprListExprMemberExprNullExprNumericExprOverlayExprParameterExprRefExprStringExprSubstringExprTernaryExprUnaryExprValueKeywordExprWhenForStatementFromCallFromStatementFromTableFunctionArgumentIAstPartialMapperIndexAlterationRenameIndexAlterationSetTablespaceIndexExpressionInsertStatementIntervalJoinClauseLimitStatementLineLiteralNameNodeLocationOnConflictActionOnConflictOnConstraintOnConflictOnExprOrderByStatementPathPGCommentPGNodePointPrepareStatementQColumnQNameQNameAliasedQNameMappedRaiseStatementRefreshMaterializedViewStatementReturnsTableRollbackStatementSelectedColumnSelectFromStatementSelectFromUnionSetGlobalStatementSetNamesSetStatementSetTimezoneShowStatementSkipClauseStartTransactionStatementTableAliasNameTableAlterationAddColumnTableAlterationAddConstraintTableAlterationAlterColumnTableAlterationDropColumnTableAlterationDropConstraintTableAlterationOwnerTableAlterationRenameTableAlterationRenameColumnTableAlterationRenameConstraintTableConstraintForeignKeyTableConstraintUniqueTableReferenceTablespaceStatementTruncateTableStatementUpdateStatementValuesStatementWithRecursiveStatementWithStatementAdditiveOperatorAlterColumnAlterSequenceChangeBinaryOperatorBoxColumnConstraintComparisonOperatorConstraintActionConstructOperatorDataTypeDefEnumAlterationEqualityOperatorExprExprLiteralFromFunctionArgumentModeGeometricLiteralIAstMapperIAstPartialVisitorIAstToSqlIAstVisitorIndexAlterationJoinTypeLogicOperatorMathOpsBinaryMultiplicativeOperatornilPolygonSegmentSelectStatementSetGlobalValueSetNamesValueSetTimezoneValueStatementTableAlterationTableConstraintTableConstraintCheckUnaryOperatorValueKeywordWithStatementBindingtoSqlarrayNilMapassignChangedastMapperastVisitorintervalToStringlocationOfnormalizeIntervalparseparseArrayLiteralparseFirstparseGeometricLiteralparseIntervalLiteralparseWithCommentsAstDefaultMapperIAstPartialMapperIAstFullMapperIAstMapperMapperBuilderarrayNilMapassignChangedastMapperAlterColumnAddGeneratedAlterColumnSetDefaultAlterColumnSetTypeAlterColumnSimpleAlterEnumTypeAlterIndexStatementAlterSequenceOwnerToAlterSequenceRenameAlterSequenceSetOptionsAlterSequenceSetSchemaAlterSequenceStatementAlterTableStatementArrayDataTypeDefBasicDataTypeDefBeginStatementCallOverCircleColumnConstraintCheckColumnConstraintDefaultColumnConstraintForeignKeyColumnConstraintReferenceColumnConstraintSimpleCommentStatementCommitStatementCompositeTypeAttributeCreateColumnDefCreateColumnsLikeTableCreateColumnsLikeTableOptCreateCompositeTypeCreateEnumTypeCreateExtensionStatementCreateFunctionStatementCreateIndexStatementCreateIndexWithCreateMaterializedViewStatementCreateSchemaStatementCreateSequenceOptionsCreateSequenceStatementCreateTableStatementCreateViewStatementCreateViewStatementBaseDeallocateStatementDeallocateStatementOptDeleteStatementDoStatementDropFunctionStatementDropStatementEnumAlterationAddValueEnumAlterationRenameExprArrayFromSelectExprArrayIndexExprBinaryExprBoolExprCallExprCaseExprCastExprConstantExprDefaultExprExtractExprIntegerExprListExprMemberExprNullExprNumericExprOverlayExprParameterExprRefExprStringExprSubstringExprTernaryExprUnaryExprValueKeywordExprWhenForStatementFromCallFromStatementFromTableFunctionArgumentIAstPartialMapperIndexAlterationRenameIndexAlterationSetTablespaceIndexExpressionInsertStatementIntervalJoinClauseLimitStatementLineLiteralNameNodeLocationOnConflictActionOnConflictOnConstraintOnConflictOnExprOrderByStatementPathPGCommentPGNodePointPrepareStatementQColumnQNameQNameAliasedQNameMappedRaiseStatementRefreshMaterializedViewStatementReturnsTableRollbackStatementSelectedColumnSelectFromStatementSelectFromUnionSetGlobalStatementSetNamesSetStatementSetTimezoneShowStatementSkipClauseStartTransactionStatementTableAliasNameTableAlterationAddColumnTableAlterationAddConstraintTableAlterationAlterColumnTableAlterationDropColumnTableAlterationDropConstraintTableAlterationOwnerTableAlterationRenameTableAlterationRenameColumnTableAlterationRenameConstraintTableConstraintForeignKeyTableConstraintUniqueTableReferenceTablespaceStatementTruncateTableStatementUpdateStatementValuesStatementWithRecursiveStatementWithStatementAdditiveOperatorAlterColumnAlterSequenceChangeBinaryOperatorBoxColumnConstraintComparisonOperatorConstraintActionConstructOperatorDataTypeDefEnumAlterationEqualityOperatorExprExprLiteralFromFunctionArgumentModeGeometricLiteralIAstMapperIAstPartialVisitorIAstToSqlIAstVisitorIndexAlterationJoinTypeLogicOperatorMathOpsBinaryMultiplicativeOperatornilPolygonSegmentSelectStatementSetGlobalValueSetNamesValueSetTimezoneValueStatementTableAlterationTableConstraintTableConstraintCheckUnaryOperatorValueKeywordWithStatementBindingtoSqlarrayNilMapassignChangedastMapperastVisitorintervalToStringlocationOfnormalizeIntervalparseparseArrayLiteralparseFirstparseGeometricLiteralparseIntervalLiteralparseWithComments
mod.ts (default module)
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
v
f
f
f
f
f
f
f
f
f
f
f
f
f
ast-mapper.ts
c
I
T
T
T
f
f
f
index.ts
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
v
f
f
f
f
f
f
f
f
f
f
f
f
f