taon-typeorm 19.0.21 → 19.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/package.json +1 -1
- package/client/package.json +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/env/env.angular-node-app.d.ts +13 -0
- package/lib/env/env.angular-node-app.js +19 -0
- package/lib/env/env.angular-node-app.js.map +1 -0
- package/lib/env/env.electron-app.d.ts +13 -0
- package/lib/env/env.electron-app.js +19 -0
- package/lib/env/env.electron-app.js.map +1 -0
- package/lib/env/env.mobile-app.d.ts +13 -0
- package/lib/env/env.mobile-app.js +19 -0
- package/lib/env/env.mobile-app.js.map +1 -0
- package/lib/env/env.npm-lib-and-cli-tool.d.ts +13 -0
- package/lib/env/env.npm-lib-and-cli-tool.js +19 -0
- package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -0
- package/lib/env/env.vscode-plugin.d.ts +13 -0
- package/lib/env/env.vscode-plugin.js +19 -0
- package/lib/env/env.vscode-plugin.js.map +1 -0
- package/lib/env/index.d.ts +5 -0
- package/lib/env/index.js +22 -0
- package/lib/env/index.js.map +1 -0
- package/package.json +1 -1
- package/websql/package.json +1 -1
- package/client/README.md +0 -24
- package/client/fesm2022/taon-typeorm.mjs +0 -30436
- package/client/fesm2022/taon-typeorm.mjs.map +0 -1
- package/client/index.d.ts +0 -6
- package/client/lib/index.d.ts +0 -2
- package/client/lib/typeorm/cache/DbQueryResultCache.d.ts +0 -53
- package/client/lib/typeorm/cache/QueryResultCache.d.ts +0 -40
- package/client/lib/typeorm/cache/QueryResultCacheFactory.d.ts +0 -14
- package/client/lib/typeorm/cache/QueryResultCacheOptions.d.ts +0 -27
- package/client/lib/typeorm/cache/RedisQueryResultCache.d.ts +0 -66
- package/client/lib/typeorm/common/DeepPartial.d.ts +0 -7
- package/client/lib/typeorm/common/EntityTarget.d.ts +0 -10
- package/client/lib/typeorm/common/MixedList.d.ts +0 -9
- package/client/lib/typeorm/common/ObjectLiteral.d.ts +0 -7
- package/client/lib/typeorm/common/ObjectType.d.ts +0 -7
- package/client/lib/typeorm/common/RelationType.d.ts +0 -15
- package/client/lib/typeorm/connection/Connection.d.ts +0 -11
- package/client/lib/typeorm/connection/ConnectionManager.d.ts +0 -34
- package/client/lib/typeorm/connection/ConnectionMetadataBuilder.d.ts +0 -25
- package/client/lib/typeorm/connection/ConnectionOptions.d.ts +0 -10
- package/client/lib/typeorm/connection/ConnectionOptionsReader.d.ts +0 -65
- package/client/lib/typeorm/constants.d.ts +0 -2
- package/client/lib/typeorm/container.d.ts +0 -40
- package/client/lib/typeorm/data-source/BaseDataSourceOptions.d.ts +0 -172
- package/client/lib/typeorm/data-source/DataSource.d.ts +0 -247
- package/client/lib/typeorm/data-source/DataSourceOptions.d.ts +0 -9
- package/client/lib/typeorm/data-source/index.d.ts +0 -3
- package/client/lib/typeorm/decorator/Check.d.ts +0 -13
- package/client/lib/typeorm/decorator/EntityRepository.d.ts +0 -10
- package/client/lib/typeorm/decorator/Exclusion.d.ts +0 -13
- package/client/lib/typeorm/decorator/Generated.d.ts +0 -11
- package/client/lib/typeorm/decorator/Index.d.ts +0 -50
- package/client/lib/typeorm/decorator/Unique.d.ts +0 -22
- package/client/lib/typeorm/decorator/columns/Column.d.ts +0 -75
- package/client/lib/typeorm/decorator/columns/CreateDateColumn.d.ts +0 -8
- package/client/lib/typeorm/decorator/columns/DeleteDateColumn.d.ts +0 -7
- package/client/lib/typeorm/decorator/columns/ObjectIdColumn.d.ts +0 -7
- package/client/lib/typeorm/decorator/columns/PrimaryColumn.d.ts +0 -22
- package/client/lib/typeorm/decorator/columns/PrimaryGeneratedColumn.d.ts +0 -25
- package/client/lib/typeorm/decorator/columns/UpdateDateColumn.d.ts +0 -7
- package/client/lib/typeorm/decorator/columns/VersionColumn.d.ts +0 -8
- package/client/lib/typeorm/decorator/columns/ViewColumn.d.ts +0 -6
- package/client/lib/typeorm/decorator/columns/VirtualColumn.d.ts +0 -11
- package/client/lib/typeorm/decorator/entity/ChildEntity.d.ts +0 -5
- package/client/lib/typeorm/decorator/entity/Entity.d.ts +0 -12
- package/client/lib/typeorm/decorator/entity/TableInheritance.d.ts +0 -9
- package/client/lib/typeorm/decorator/entity-view/ViewEntity.d.ts +0 -12
- package/client/lib/typeorm/decorator/listeners/AfterInsert.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterLoad.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterRecover.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterSoftRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterUpdate.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeInsert.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeRecover.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeSoftRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeUpdate.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/EventSubscriber.d.ts +0 -6
- package/client/lib/typeorm/decorator/options/ColumnCommonOptions.d.ts +0 -58
- package/client/lib/typeorm/decorator/options/ColumnEmbeddedOptions.d.ts +0 -17
- package/client/lib/typeorm/decorator/options/ColumnEnumOptions.d.ts +0 -14
- package/client/lib/typeorm/decorator/options/ColumnHstoreOptions.d.ts +0 -11
- package/client/lib/typeorm/decorator/options/ColumnNumericOptions.d.ts +0 -25
- package/client/lib/typeorm/decorator/options/ColumnOptions.d.ts +0 -159
- package/client/lib/typeorm/decorator/options/ColumnWithLengthOptions.d.ts +0 -11
- package/client/lib/typeorm/decorator/options/ColumnWithWidthOptions.d.ts +0 -20
- package/client/lib/typeorm/decorator/options/EntityOptions.d.ts +0 -43
- package/client/lib/typeorm/decorator/options/IndexOptions.d.ts +0 -53
- package/client/lib/typeorm/decorator/options/JoinColumnOptions.d.ts +0 -18
- package/client/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions.d.ts +0 -30
- package/client/lib/typeorm/decorator/options/JoinTableOptions.d.ts +0 -30
- package/client/lib/typeorm/decorator/options/PrimaryGeneratedColumnIdentityOptions.d.ts +0 -27
- package/client/lib/typeorm/decorator/options/PrimaryGeneratedColumnNumericOptions.d.ts +0 -32
- package/client/lib/typeorm/decorator/options/PrimaryGeneratedColumnUUIDOptions.d.ts +0 -18
- package/client/lib/typeorm/decorator/options/RelationOptions.d.ts +0 -65
- package/client/lib/typeorm/decorator/options/SpatialColumnOptions.d.ts +0 -16
- package/client/lib/typeorm/decorator/options/UniqueOptions.d.ts +0 -11
- package/client/lib/typeorm/decorator/options/ValueTransformer.d.ts +0 -14
- package/client/lib/typeorm/decorator/options/ViewColumnOptions.d.ts +0 -16
- package/client/lib/typeorm/decorator/options/ViewEntityOptions.d.ts +0 -40
- package/client/lib/typeorm/decorator/options/VirtualColumnOptions.d.ts +0 -28
- package/client/lib/typeorm/decorator/relations/JoinColumn.d.ts +0 -20
- package/client/lib/typeorm/decorator/relations/JoinTable.d.ts +0 -18
- package/client/lib/typeorm/decorator/relations/ManyToMany.d.ts +0 -15
- package/client/lib/typeorm/decorator/relations/ManyToOne.d.ts +0 -15
- package/client/lib/typeorm/decorator/relations/OneToMany.d.ts +0 -9
- package/client/lib/typeorm/decorator/relations/OneToOne.d.ts +0 -13
- package/client/lib/typeorm/decorator/relations/RelationCount.d.ts +0 -8
- package/client/lib/typeorm/decorator/relations/RelationId.d.ts +0 -8
- package/client/lib/typeorm/decorator/tree/Tree.d.ts +0 -10
- package/client/lib/typeorm/decorator/tree/TreeChildren.d.ts +0 -8
- package/client/lib/typeorm/decorator/tree/TreeLevelColumn.d.ts +0 -5
- package/client/lib/typeorm/decorator/tree/TreeParent.d.ts +0 -9
- package/client/lib/typeorm/driver/Driver.d.ts +0 -208
- package/client/lib/typeorm/driver/DriverFactory.d.ts +0 -12
- package/client/lib/typeorm/driver/DriverUtils.d.ts +0 -62
- package/client/lib/typeorm/driver/Query.d.ts +0 -10
- package/client/lib/typeorm/driver/SqlInMemory.d.ts +0 -9
- package/client/lib/typeorm/driver/cordova/CordovaConnectionOptions.d.ts +0 -25
- package/client/lib/typeorm/driver/cordova/CordovaDriver.d.ts +0 -26
- package/client/lib/typeorm/driver/cordova/CordovaQueryRunner.d.ts +0 -81
- package/client/lib/typeorm/driver/mongodb/typings.d.ts +0 -46
- package/client/lib/typeorm/driver/nativescript/NativescriptConnectionOptions.d.ts +0 -46
- package/client/lib/typeorm/driver/nativescript/NativescriptDriver.d.ts +0 -45
- package/client/lib/typeorm/driver/nativescript/NativescriptQueryRunner.d.ts +0 -30
- package/client/lib/typeorm/driver/react-native/ReactNativeConnectionOptions.d.ts +0 -25
- package/client/lib/typeorm/driver/react-native/ReactNativeDriver.d.ts +0 -26
- package/client/lib/typeorm/driver/react-native/ReactNativeQueryRunner.d.ts +0 -30
- package/client/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.d.ts +0 -238
- package/client/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.d.ts +0 -301
- package/client/lib/typeorm/driver/sqljs/SqljsConnectionOptions.d.ts +0 -47
- package/client/lib/typeorm/driver/sqljs/SqljsDriver.d.ts +0 -68
- package/client/lib/typeorm/driver/sqljs/SqljsQueryRunner.d.ts +0 -36
- package/client/lib/typeorm/driver/types/ColumnTypes.d.ts +0 -26
- package/client/lib/typeorm/driver/types/CteCapabilities.d.ts +0 -19
- package/client/lib/typeorm/driver/types/DataTypeDefaults.d.ts +0 -9
- package/client/lib/typeorm/driver/types/DatabaseType.d.ts +0 -5
- package/client/lib/typeorm/driver/types/IsolationLevel.d.ts +0 -2
- package/client/lib/typeorm/driver/types/MappedColumnTypes.d.ts +0 -113
- package/client/lib/typeorm/driver/types/MetadataTableType.d.ts +0 -6
- package/client/lib/typeorm/driver/types/ReplicationMode.d.ts +0 -2
- package/client/lib/typeorm/driver/types/UpsertType.d.ts +0 -2
- package/client/lib/typeorm/entity-manager/EntityManager.d.ts +0 -353
- package/client/lib/typeorm/entity-manager/EntityManagerFactory.d.ts +0 -13
- package/client/lib/typeorm/entity-manager/SqljsEntityManager.d.ts +0 -27
- package/client/lib/typeorm/entity-schema/EntitySchema.d.ts +0 -10
- package/client/lib/typeorm/entity-schema/EntitySchemaCheckOptions.d.ts +0 -11
- package/client/lib/typeorm/entity-schema/EntitySchemaColumnOptions.d.ts +0 -175
- package/client/lib/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.d.ts +0 -19
- package/client/lib/typeorm/entity-schema/EntitySchemaEmbeddedError.d.ts +0 -7
- package/client/lib/typeorm/entity-schema/EntitySchemaExclusionOptions.d.ts +0 -11
- package/client/lib/typeorm/entity-schema/EntitySchemaIndexOptions.d.ts +0 -54
- package/client/lib/typeorm/entity-schema/EntitySchemaOptions.d.ts +0 -104
- package/client/lib/typeorm/entity-schema/EntitySchemaRelationIdOptions.d.ts +0 -16
- package/client/lib/typeorm/entity-schema/EntitySchemaRelationOptions.d.ts +0 -96
- package/client/lib/typeorm/entity-schema/EntitySchemaTransformer.d.ts +0 -14
- package/client/lib/typeorm/entity-schema/EntitySchemaUniqueOptions.d.ts +0 -18
- package/client/lib/typeorm/error/AlreadyHasActiveConnectionError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotAttachTreeChildrenEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotConnectAlreadyConnectedError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotCreateEntityIdMapError.d.ts +0 -10
- package/client/lib/typeorm/error/CannotDetermineEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotExecuteNotConnectedError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotGetEntityManagerNotConnectedError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotReflectMethodParameterTypeError.d.ts +0 -9
- package/client/lib/typeorm/error/CircularRelationsError.d.ts +0 -8
- package/client/lib/typeorm/error/ColumnTypeUndefinedError.d.ts +0 -9
- package/client/lib/typeorm/error/ConnectionIsNotSetError.d.ts +0 -8
- package/client/lib/typeorm/error/ConnectionNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/CustomRepositoryCannotInheritRepositoryError.d.ts +0 -8
- package/client/lib/typeorm/error/CustomRepositoryDoesNotHaveEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/CustomRepositoryNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/DataTypeNotSupportedError.d.ts +0 -8
- package/client/lib/typeorm/error/DriverOptionNotSetError.d.ts +0 -8
- package/client/lib/typeorm/error/DriverPackageNotInstalledError.d.ts +0 -8
- package/client/lib/typeorm/error/EntityMetadataNotFoundError.d.ts +0 -7
- package/client/lib/typeorm/error/EntityNotFoundError.d.ts +0 -11
- package/client/lib/typeorm/error/EntityPropertyNotFoundError.d.ts +0 -9
- package/client/lib/typeorm/error/FindRelationsNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/InitializedRelationError.d.ts +0 -12
- package/client/lib/typeorm/error/InsertValuesMissingError.d.ts +0 -8
- package/client/lib/typeorm/error/LimitOnUpdateNotSupportedError.d.ts +0 -8
- package/client/lib/typeorm/error/LockNotSupportedOnGivenDriverError.d.ts +0 -8
- package/client/lib/typeorm/error/MetadataAlreadyExistsError.d.ts +0 -5
- package/client/lib/typeorm/error/MetadataWithSuchNameAlreadyExistsError.d.ts +0 -5
- package/client/lib/typeorm/error/MissingDeleteDateColumnError.d.ts +0 -6
- package/client/lib/typeorm/error/MissingDriverError.d.ts +0 -8
- package/client/lib/typeorm/error/MissingJoinColumnError.d.ts +0 -7
- package/client/lib/typeorm/error/MissingJoinTableError.d.ts +0 -7
- package/client/lib/typeorm/error/MissingPrimaryColumnError.d.ts +0 -6
- package/client/lib/typeorm/error/MustBeEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/NamingStrategyNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/NestedSetMultipleRootError.d.ts +0 -5
- package/client/lib/typeorm/error/NoConnectionForRepositoryError.d.ts +0 -8
- package/client/lib/typeorm/error/NoConnectionOptionError.d.ts +0 -8
- package/client/lib/typeorm/error/NoNeedToReleaseEntityManagerError.d.ts +0 -8
- package/client/lib/typeorm/error/NoVersionOrUpdateDateColumnError.d.ts +0 -8
- package/client/lib/typeorm/error/OffsetWithoutLimitNotSupportedError.d.ts +0 -8
- package/client/lib/typeorm/error/OptimisticLockCanNotBeUsedError.d.ts +0 -8
- package/client/lib/typeorm/error/OptimisticLockVersionMismatchError.d.ts +0 -8
- package/client/lib/typeorm/error/PersistedEntityNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/PessimisticLockTransactionRequiredError.d.ts +0 -8
- package/client/lib/typeorm/error/PrimaryColumnCannotBeNullableError.d.ts +0 -5
- package/client/lib/typeorm/error/QueryFailedError.d.ts +0 -11
- package/client/lib/typeorm/error/QueryRunnerAlreadyReleasedError.d.ts +0 -5
- package/client/lib/typeorm/error/QueryRunnerProviderAlreadyReleasedError.d.ts +0 -8
- package/client/lib/typeorm/error/RepositoryNotTreeError.d.ts +0 -9
- package/client/lib/typeorm/error/ReturningStatementNotSupportedError.d.ts +0 -9
- package/client/lib/typeorm/error/SubjectRemovedAndUpdatedError.d.ts +0 -9
- package/client/lib/typeorm/error/SubjectWithoutIdentifierError.d.ts +0 -11
- package/client/lib/typeorm/error/TransactionAlreadyStartedError.d.ts +0 -8
- package/client/lib/typeorm/error/TransactionNotStartedError.d.ts +0 -8
- package/client/lib/typeorm/error/TreeRepositoryNotSupportedError.d.ts +0 -6
- package/client/lib/typeorm/error/TypeORMError.d.ts +0 -5
- package/client/lib/typeorm/error/UpdateValuesMissingError.d.ts +0 -5
- package/client/lib/typeorm/error/UsingJoinColumnIsNotAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/UsingJoinTableIsNotAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/index.d.ts +0 -62
- package/client/lib/typeorm/find-options/EqualOperator.d.ts +0 -6
- package/client/lib/typeorm/find-options/FindManyOptions.d.ts +0 -15
- package/client/lib/typeorm/find-options/FindOneOptions.d.ts +0 -89
- package/client/lib/typeorm/find-options/FindOperator.d.ts +0 -66
- package/client/lib/typeorm/find-options/FindOperatorType.d.ts +0 -5
- package/client/lib/typeorm/find-options/FindOptionsOrder.d.ts +0 -19
- package/client/lib/typeorm/find-options/FindOptionsRelations.d.ts +0 -19
- package/client/lib/typeorm/find-options/FindOptionsSelect.d.ts +0 -18
- package/client/lib/typeorm/find-options/FindOptionsUtils.d.ts +0 -191
- package/client/lib/typeorm/find-options/FindOptionsWhere.d.ts +0 -14
- package/client/lib/typeorm/find-options/FindTreeOptions.d.ts +0 -14
- package/client/lib/typeorm/find-options/JoinOptions.d.ts +0 -77
- package/client/lib/typeorm/find-options/OrderByCondition.d.ts +0 -18
- package/client/lib/typeorm/find-options/operator/Any.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/ArrayContainedBy.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/ArrayContains.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/ArrayOverlap.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Between.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Equal.d.ts +0 -12
- package/client/lib/typeorm/find-options/operator/ILike.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/In.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/IsNull.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/LessThan.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/LessThanOrEqual.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Like.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/MoreThan.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/MoreThanOrEqual.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Not.d.ts +0 -8
- package/client/lib/typeorm/find-options/operator/Raw.d.ts +0 -19
- package/client/lib/typeorm/globals.d.ts +0 -104
- package/client/lib/typeorm/index.d.ts +0 -168
- package/client/lib/typeorm/logger/AdvancedConsoleLogger.d.ts +0 -42
- package/client/lib/typeorm/logger/DebugLogger.d.ts +0 -41
- package/client/lib/typeorm/logger/Logger.d.ts +0 -32
- package/client/lib/typeorm/logger/LoggerFactory.d.ts +0 -12
- package/client/lib/typeorm/logger/LoggerOptions.d.ts +0 -14
- package/client/lib/typeorm/logger/SimpleConsoleLogger.d.ts +0 -42
- package/client/lib/typeorm/metadata/CheckMetadata.d.ts +0 -40
- package/client/lib/typeorm/metadata/ColumnMetadata.d.ts +0 -316
- package/client/lib/typeorm/metadata/EmbeddedMetadata.d.ts +0 -166
- package/client/lib/typeorm/metadata/EntityListenerMetadata.d.ts +0 -49
- package/client/lib/typeorm/metadata/EntityMetadata.d.ts +0 -562
- package/client/lib/typeorm/metadata/ExclusionMetadata.d.ts +0 -40
- package/client/lib/typeorm/metadata/ForeignKeyMetadata.d.ts +0 -78
- package/client/lib/typeorm/metadata/IndexMetadata.d.ts +0 -112
- package/client/lib/typeorm/metadata/RelationCountMetadata.d.ts +0 -47
- package/client/lib/typeorm/metadata/RelationIdMetadata.d.ts +0 -54
- package/client/lib/typeorm/metadata/RelationMetadata.d.ts +0 -291
- package/client/lib/typeorm/metadata/UniqueMetadata.d.ts +0 -66
- package/client/lib/typeorm/metadata/types/ClosureTreeOptions.d.ts +0 -11
- package/client/lib/typeorm/metadata/types/DeferrableType.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/EventListenerTypes.d.ts +0 -21
- package/client/lib/typeorm/metadata/types/OnDeleteType.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/OnUpdateType.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/PropertyTypeInFunction.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/RelationTypeInFunction.d.ts +0 -6
- package/client/lib/typeorm/metadata/types/RelationTypes.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/TableTypes.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/TreeTypes.d.ts +0 -6
- package/client/lib/typeorm/metadata-args/CheckMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/ColumnMetadataArgs.d.ts +0 -26
- package/client/lib/typeorm/metadata-args/DiscriminatorValueMetadataArgs.d.ts +0 -14
- package/client/lib/typeorm/metadata-args/EmbeddedMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/EntityListenerMetadataArgs.d.ts +0 -19
- package/client/lib/typeorm/metadata-args/EntityRepositoryMetadataArgs.d.ts +0 -15
- package/client/lib/typeorm/metadata-args/EntitySubscriberMetadataArgs.d.ts +0 -10
- package/client/lib/typeorm/metadata-args/ExclusionMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/GeneratedMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/IndexMetadataArgs.d.ts +0 -71
- package/client/lib/typeorm/metadata-args/InheritanceMetadataArgs.d.ts +0 -19
- package/client/lib/typeorm/metadata-args/JoinColumnMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/JoinTableMetadataArgs.d.ts +0 -38
- package/client/lib/typeorm/metadata-args/MetadataArgsStorage.d.ts +0 -109
- package/client/lib/typeorm/metadata-args/NamingStrategyMetadataArgs.d.ts +0 -14
- package/client/lib/typeorm/metadata-args/RelationCountMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/RelationIdMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/RelationMetadataArgs.d.ts +0 -56
- package/client/lib/typeorm/metadata-args/TableMetadataArgs.d.ts +0 -62
- package/client/lib/typeorm/metadata-args/TransactionEntityMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/TransactionRepositoryMetadataArgs.d.ts +0 -26
- package/client/lib/typeorm/metadata-args/TreeMetadataArgs.d.ts +0 -20
- package/client/lib/typeorm/metadata-args/UniqueMetadataArgs.d.ts +0 -25
- package/client/lib/typeorm/metadata-args/types/ColumnMode.d.ts +0 -8
- package/client/lib/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.d.ts +0 -15
- package/client/lib/typeorm/metadata-builder/EntityMetadataBuilder.d.ts +0 -58
- package/client/lib/typeorm/metadata-builder/EntityMetadataValidator.d.ts +0 -24
- package/client/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder.d.ts +0 -27
- package/client/lib/typeorm/metadata-builder/MetadataUtils.d.ts +0 -24
- package/client/lib/typeorm/metadata-builder/RelationJoinColumnBuilder.d.ts +0 -57
- package/client/lib/typeorm/migration/Migration.d.ts +0 -25
- package/client/lib/typeorm/migration/MigrationExecutor.d.ts +0 -100
- package/client/lib/typeorm/migration/MigrationInterface.d.ts +0 -19
- package/client/lib/typeorm/naming-strategy/DefaultNamingStrategy.d.ts +0 -50
- package/client/lib/typeorm/naming-strategy/NamingStrategyInterface.d.ts +0 -117
- package/client/lib/typeorm/persistence/EntityPersistExecutor.d.ts +0 -22
- package/client/lib/typeorm/persistence/Subject.d.ts +0 -156
- package/client/lib/typeorm/persistence/SubjectChangeMap.d.ts +0 -24
- package/client/lib/typeorm/persistence/SubjectChangedColumnsComputer.d.ts +0 -19
- package/client/lib/typeorm/persistence/SubjectDatabaseEntityLoader.d.ts +0 -36
- package/client/lib/typeorm/persistence/SubjectExecutor.d.ts +0 -119
- package/client/lib/typeorm/persistence/SubjectTopoligicalSorter.d.ts +0 -46
- package/client/lib/typeorm/persistence/subject-builder/CascadesSubjectBuilder.d.ts +0 -20
- package/client/lib/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.d.ts +0 -35
- package/client/lib/typeorm/persistence/subject-builder/OneToManySubjectBuilder.d.ts +0 -28
- package/client/lib/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.d.ts +0 -28
- package/client/lib/typeorm/persistence/tree/ClosureSubjectExecutor.d.ts +0 -27
- package/client/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor.d.ts +0 -19
- package/client/lib/typeorm/persistence/tree/NestedSetSubjectExecutor.d.ts +0 -39
- package/client/lib/typeorm/platform/PlatformTools.d.ts +0 -65
- package/client/lib/typeorm/query-builder/Alias.d.ts +0 -23
- package/client/lib/typeorm/query-builder/Brackets.d.ts +0 -17
- package/client/lib/typeorm/query-builder/DeleteQueryBuilder.d.ts +0 -92
- package/client/lib/typeorm/query-builder/InsertOrUpdateOptions.d.ts +0 -4
- package/client/lib/typeorm/query-builder/InsertQueryBuilder.d.ts +0 -118
- package/client/lib/typeorm/query-builder/JoinAttribute.d.ts +0 -84
- package/client/lib/typeorm/query-builder/NotBrackets.d.ts +0 -9
- package/client/lib/typeorm/query-builder/QueryBuilder.d.ts +0 -268
- package/client/lib/typeorm/query-builder/QueryBuilderCte.d.ts +0 -18
- package/client/lib/typeorm/query-builder/QueryBuilderUtils.d.ts +0 -11
- package/client/lib/typeorm/query-builder/QueryExpressionMap.d.ts +0 -306
- package/client/lib/typeorm/query-builder/QueryPartialEntity.d.ts +0 -16
- package/client/lib/typeorm/query-builder/RelationIdLoader.d.ts +0 -71
- package/client/lib/typeorm/query-builder/RelationLoader.d.ts +0 -60
- package/client/lib/typeorm/query-builder/RelationQueryBuilder.d.ts +0 -70
- package/client/lib/typeorm/query-builder/RelationRemover.d.ts +0 -17
- package/client/lib/typeorm/query-builder/RelationUpdater.d.ts +0 -17
- package/client/lib/typeorm/query-builder/ReturningResultsEntityUpdator.d.ts +0 -31
- package/client/lib/typeorm/query-builder/SelectQuery.d.ts +0 -6
- package/client/lib/typeorm/query-builder/SelectQueryBuilder.d.ts +0 -665
- package/client/lib/typeorm/query-builder/SelectQueryBuilderOption.d.ts +0 -2
- package/client/lib/typeorm/query-builder/SoftDeleteQueryBuilder.d.ts +0 -139
- package/client/lib/typeorm/query-builder/UpdateQueryBuilder.d.ts +0 -144
- package/client/lib/typeorm/query-builder/WhereClause.d.ts +0 -17
- package/client/lib/typeorm/query-builder/WhereExpressionBuilder.d.ts +0 -127
- package/client/lib/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts +0 -54
- package/client/lib/typeorm/query-builder/relation-count/RelationCountLoadResult.d.ts +0 -9
- package/client/lib/typeorm/query-builder/relation-count/RelationCountLoader.d.ts +0 -12
- package/client/lib/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.d.ts +0 -8
- package/client/lib/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts +0 -65
- package/client/lib/typeorm/query-builder/relation-id/RelationIdLoadResult.d.ts +0 -6
- package/client/lib/typeorm/query-builder/relation-id/RelationIdLoader.d.ts +0 -12
- package/client/lib/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.d.ts +0 -8
- package/client/lib/typeorm/query-builder/result/DeleteResult.d.ts +0 -17
- package/client/lib/typeorm/query-builder/result/InsertResult.d.ts +0 -23
- package/client/lib/typeorm/query-builder/result/UpdateResult.d.ts +0 -27
- package/client/lib/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.d.ts +0 -13
- package/client/lib/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.d.ts +0 -15
- package/client/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.d.ts +0 -56
- package/client/lib/typeorm/query-runner/BaseQueryRunner.d.ts +0 -204
- package/client/lib/typeorm/query-runner/QueryResult.d.ts +0 -18
- package/client/lib/typeorm/query-runner/QueryRunner.d.ts +0 -359
- package/client/lib/typeorm/relation-path.d.ts +0 -7
- package/client/lib/typeorm/repository/AbstractRepository.d.ts +0 -52
- package/client/lib/typeorm/repository/BaseEntity.d.ts +0 -298
- package/client/lib/typeorm/repository/FindTreesOptions.d.ts +0 -10
- package/client/lib/typeorm/repository/RemoveOptions.d.ts +0 -28
- package/client/lib/typeorm/repository/Repository.d.ts +0 -292
- package/client/lib/typeorm/repository/SaveOptions.d.ts +0 -36
- package/client/lib/typeorm/repository/TreeRepository.d.ts +0 -56
- package/client/lib/typeorm/repository/UpsertOptions.d.ts +0 -11
- package/client/lib/typeorm/schema-builder/RdbmsSchemaBuilder.d.ts +0 -145
- package/client/lib/typeorm/schema-builder/SchemaBuilder.d.ts +0 -15
- package/client/lib/typeorm/schema-builder/options/TableCheckOptions.d.ts +0 -18
- package/client/lib/typeorm/schema-builder/options/TableColumnOptions.d.ts +0 -123
- package/client/lib/typeorm/schema-builder/options/TableExclusionOptions.d.ts +0 -14
- package/client/lib/typeorm/schema-builder/options/TableForeignKeyOptions.d.ts +0 -45
- package/client/lib/typeorm/schema-builder/options/TableIndexOptions.d.ts +0 -45
- package/client/lib/typeorm/schema-builder/options/TableOptions.d.ts +0 -62
- package/client/lib/typeorm/schema-builder/options/TableUniqueOptions.d.ts +0 -19
- package/client/lib/typeorm/schema-builder/options/ViewOptions.d.ts +0 -27
- package/client/lib/typeorm/schema-builder/table/Table.d.ts +0 -143
- package/client/lib/typeorm/schema-builder/table/TableCheck.d.ts +0 -30
- package/client/lib/typeorm/schema-builder/table/TableColumn.d.ts +0 -127
- package/client/lib/typeorm/schema-builder/table/TableExclusion.d.ts +0 -26
- package/client/lib/typeorm/schema-builder/table/TableForeignKey.d.ts +0 -58
- package/client/lib/typeorm/schema-builder/table/TableIndex.d.ts +0 -57
- package/client/lib/typeorm/schema-builder/table/TableUnique.d.ts +0 -31
- package/client/lib/typeorm/schema-builder/util/TableUtils.d.ts +0 -7
- package/client/lib/typeorm/schema-builder/util/ViewUtils.d.ts +0 -8
- package/client/lib/typeorm/schema-builder/view/View.d.ts +0 -38
- package/client/lib/typeorm/subscriber/Broadcaster.d.ts +0 -168
- package/client/lib/typeorm/subscriber/BroadcasterResult.d.ts +0 -18
- package/client/lib/typeorm/subscriber/EntitySubscriberInterface.d.ts +0 -93
- package/client/lib/typeorm/subscriber/event/InsertEvent.d.ts +0 -32
- package/client/lib/typeorm/subscriber/event/LoadEvent.d.ts +0 -32
- package/client/lib/typeorm/subscriber/event/RecoverEvent.d.ts +0 -7
- package/client/lib/typeorm/subscriber/event/RemoveEvent.d.ts +0 -41
- package/client/lib/typeorm/subscriber/event/SoftRemoveEvent.d.ts +0 -7
- package/client/lib/typeorm/subscriber/event/TransactionCommitEvent.d.ts +0 -23
- package/client/lib/typeorm/subscriber/event/TransactionRollbackEvent.d.ts +0 -23
- package/client/lib/typeorm/subscriber/event/TransactionStartEvent.d.ts +0 -23
- package/client/lib/typeorm/subscriber/event/UpdateEvent.d.ts +0 -47
- package/client/lib/typeorm/util/ApplyValueTransformers.d.ts +0 -6
- package/client/lib/typeorm/util/DateUtils.d.ts +0 -59
- package/client/lib/typeorm/util/DepGraph.d.ts +0 -65
- package/client/lib/typeorm/util/DirectoryExportedClassesLoader.d.ts +0 -10
- package/client/lib/typeorm/util/ImportUtils.d.ts +0 -2
- package/client/lib/typeorm/util/InstanceChecker.d.ts +0 -60
- package/client/lib/typeorm/util/ObjectUtils.d.ts +0 -38
- package/client/lib/typeorm/util/OrmUtils.d.ts +0 -53
- package/client/lib/typeorm/util/PathUtils.d.ts +0 -11
- package/client/lib/typeorm/util/RandomGenerator.d.ts +0 -16
- package/client/lib/typeorm/util/StringUtils.d.ts +0 -64
- package/client/lib/typeorm/util/TreeRepositoryUtils.d.ts +0 -24
- package/client/lib/typeorm/util/VersionUtils.d.ts +0 -5
- package/client/lib/typeorm/util/escapeRegExp.d.ts +0 -2
- package/client/public-api.d.ts +0 -2
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { QueryRunner } from "../../query-runner/QueryRunner";
|
|
3
|
-
import { TableColumn } from "../../schema-builder/table/TableColumn";
|
|
4
|
-
import { Table } from "../../schema-builder/table/Table";
|
|
5
|
-
import { TableIndex } from "../../schema-builder/table/TableIndex";
|
|
6
|
-
import { TableForeignKey } from "../../schema-builder/table/TableForeignKey";
|
|
7
|
-
import { View } from "../../schema-builder/view/View";
|
|
8
|
-
import { Query } from "../Query";
|
|
9
|
-
import { AbstractSqliteDriver } from "./AbstractSqliteDriver";
|
|
10
|
-
import { TableUnique } from "../../schema-builder/table/TableUnique";
|
|
11
|
-
import { BaseQueryRunner } from "../../query-runner/BaseQueryRunner";
|
|
12
|
-
import { TableCheck } from "../../schema-builder/table/TableCheck";
|
|
13
|
-
import { IsolationLevel } from "../types/IsolationLevel";
|
|
14
|
-
import { TableExclusion } from "../../schema-builder/table/TableExclusion";
|
|
15
|
-
/**
|
|
16
|
-
* Runs queries on a single sqlite database connection.
|
|
17
|
-
*/
|
|
18
|
-
export declare abstract class AbstractSqliteQueryRunner extends BaseQueryRunner implements QueryRunner {
|
|
19
|
-
/**
|
|
20
|
-
* Database driver used by connection.
|
|
21
|
-
*/
|
|
22
|
-
driver: AbstractSqliteDriver;
|
|
23
|
-
protected transactionPromise: Promise<any> | null;
|
|
24
|
-
constructor();
|
|
25
|
-
/**
|
|
26
|
-
* Creates/uses database connection from the connection pool to perform further operations.
|
|
27
|
-
* Returns obtained database connection.
|
|
28
|
-
*/
|
|
29
|
-
connect(): Promise<any>;
|
|
30
|
-
/**
|
|
31
|
-
* Releases used database connection.
|
|
32
|
-
* We just clear loaded tables and sql in memory, because sqlite do not support multiple connections thus query runners.
|
|
33
|
-
*/
|
|
34
|
-
release(): Promise<void>;
|
|
35
|
-
/**
|
|
36
|
-
* Starts transaction.
|
|
37
|
-
*/
|
|
38
|
-
startTransaction(isolationLevel?: IsolationLevel): Promise<void>;
|
|
39
|
-
/**
|
|
40
|
-
* Commits transaction.
|
|
41
|
-
* Error will be thrown if transaction was not started.
|
|
42
|
-
*/
|
|
43
|
-
commitTransaction(): Promise<void>;
|
|
44
|
-
/**
|
|
45
|
-
* Rollbacks transaction.
|
|
46
|
-
* Error will be thrown if transaction was not started.
|
|
47
|
-
*/
|
|
48
|
-
rollbackTransaction(): Promise<void>;
|
|
49
|
-
/**
|
|
50
|
-
* Returns raw data stream.
|
|
51
|
-
*/
|
|
52
|
-
stream(query: string, parameters?: any[], onEnd?: Function, onError?: Function): void;
|
|
53
|
-
/**
|
|
54
|
-
* Returns all available database names including system databases.
|
|
55
|
-
*/
|
|
56
|
-
getDatabases(): Promise<string[]>;
|
|
57
|
-
/**
|
|
58
|
-
* Returns all available schema names including system schemas.
|
|
59
|
-
* If database parameter specified, returns schemas of that database.
|
|
60
|
-
*/
|
|
61
|
-
getSchemas(database?: string): Promise<string[]>;
|
|
62
|
-
/**
|
|
63
|
-
* Checks if database with the given name exist.
|
|
64
|
-
*/
|
|
65
|
-
hasDatabase(database: string): Promise<boolean>;
|
|
66
|
-
/**
|
|
67
|
-
* Loads currently using database
|
|
68
|
-
*/
|
|
69
|
-
getCurrentDatabase(): Promise<undefined>;
|
|
70
|
-
/**
|
|
71
|
-
* Checks if schema with the given name exist.
|
|
72
|
-
*/
|
|
73
|
-
hasSchema(schema: string): Promise<boolean>;
|
|
74
|
-
/**
|
|
75
|
-
* Loads currently using database schema
|
|
76
|
-
*/
|
|
77
|
-
getCurrentSchema(): Promise<undefined>;
|
|
78
|
-
/**
|
|
79
|
-
* Checks if table with the given name exist in the database.
|
|
80
|
-
*/
|
|
81
|
-
hasTable(tableOrName: Table | string): Promise<boolean>;
|
|
82
|
-
/**
|
|
83
|
-
* Checks if column with the given name exist in the given table.
|
|
84
|
-
*/
|
|
85
|
-
hasColumn(tableOrName: Table | string, columnName: string): Promise<boolean>;
|
|
86
|
-
/**
|
|
87
|
-
* Creates a new database.
|
|
88
|
-
*/
|
|
89
|
-
createDatabase(database: string, ifNotExist?: boolean): Promise<void>;
|
|
90
|
-
/**
|
|
91
|
-
* Drops database.
|
|
92
|
-
*/
|
|
93
|
-
dropDatabase(database: string, ifExist?: boolean): Promise<void>;
|
|
94
|
-
/**
|
|
95
|
-
* Creates a new table schema.
|
|
96
|
-
*/
|
|
97
|
-
createSchema(schemaPath: string, ifNotExist?: boolean): Promise<void>;
|
|
98
|
-
/**
|
|
99
|
-
* Drops table schema.
|
|
100
|
-
*/
|
|
101
|
-
dropSchema(schemaPath: string, ifExist?: boolean): Promise<void>;
|
|
102
|
-
/**
|
|
103
|
-
* Creates a new table.
|
|
104
|
-
*/
|
|
105
|
-
createTable(table: Table, ifNotExist?: boolean, createForeignKeys?: boolean, createIndices?: boolean): Promise<void>;
|
|
106
|
-
/**
|
|
107
|
-
* Drops the table.
|
|
108
|
-
*/
|
|
109
|
-
dropTable(tableOrName: Table | string, ifExist?: boolean, dropForeignKeys?: boolean, dropIndices?: boolean): Promise<void>;
|
|
110
|
-
/**
|
|
111
|
-
* Creates a new view.
|
|
112
|
-
*/
|
|
113
|
-
createView(view: View, syncWithMetadata?: boolean): Promise<void>;
|
|
114
|
-
/**
|
|
115
|
-
* Drops the view.
|
|
116
|
-
*/
|
|
117
|
-
dropView(target: View | string): Promise<void>;
|
|
118
|
-
/**
|
|
119
|
-
* Renames the given table.
|
|
120
|
-
*/
|
|
121
|
-
renameTable(oldTableOrName: Table | string, newTableName: string): Promise<void>;
|
|
122
|
-
/**
|
|
123
|
-
* Creates a new column from the column in the table.
|
|
124
|
-
*/
|
|
125
|
-
addColumn(tableOrName: Table | string, column: TableColumn): Promise<void>;
|
|
126
|
-
/**
|
|
127
|
-
* Creates a new columns from the column in the table.
|
|
128
|
-
*/
|
|
129
|
-
addColumns(tableOrName: Table | string, columns: TableColumn[]): Promise<void>;
|
|
130
|
-
/**
|
|
131
|
-
* Renames column in the given table.
|
|
132
|
-
*/
|
|
133
|
-
renameColumn(tableOrName: Table | string, oldTableColumnOrName: TableColumn | string, newTableColumnOrName: TableColumn | string): Promise<void>;
|
|
134
|
-
/**
|
|
135
|
-
* Changes a column in the table.
|
|
136
|
-
*/
|
|
137
|
-
changeColumn(tableOrName: Table | string, oldTableColumnOrName: TableColumn | string, newColumn: TableColumn): Promise<void>;
|
|
138
|
-
/**
|
|
139
|
-
* Changes a column in the table.
|
|
140
|
-
* Changed column looses all its keys in the db.
|
|
141
|
-
*/
|
|
142
|
-
changeColumns(tableOrName: Table | string, changedColumns: {
|
|
143
|
-
oldColumn: TableColumn;
|
|
144
|
-
newColumn: TableColumn;
|
|
145
|
-
}[]): Promise<void>;
|
|
146
|
-
/**
|
|
147
|
-
* Drops column in the table.
|
|
148
|
-
*/
|
|
149
|
-
dropColumn(tableOrName: Table | string, columnOrName: TableColumn | string): Promise<void>;
|
|
150
|
-
/**
|
|
151
|
-
* Drops the columns in the table.
|
|
152
|
-
*/
|
|
153
|
-
dropColumns(tableOrName: Table | string, columns: TableColumn[] | string[]): Promise<void>;
|
|
154
|
-
/**
|
|
155
|
-
* Creates a new primary key.
|
|
156
|
-
*/
|
|
157
|
-
createPrimaryKey(tableOrName: Table | string, columnNames: string[]): Promise<void>;
|
|
158
|
-
/**
|
|
159
|
-
* Updates composite primary keys.
|
|
160
|
-
*/
|
|
161
|
-
updatePrimaryKeys(tableOrName: Table | string, columns: TableColumn[]): Promise<void>;
|
|
162
|
-
/**
|
|
163
|
-
* Drops a primary key.
|
|
164
|
-
*/
|
|
165
|
-
dropPrimaryKey(tableOrName: Table | string): Promise<void>;
|
|
166
|
-
/**
|
|
167
|
-
* Creates a new unique constraint.
|
|
168
|
-
*/
|
|
169
|
-
createUniqueConstraint(tableOrName: Table | string, uniqueConstraint: TableUnique): Promise<void>;
|
|
170
|
-
/**
|
|
171
|
-
* Creates a new unique constraints.
|
|
172
|
-
*/
|
|
173
|
-
createUniqueConstraints(tableOrName: Table | string, uniqueConstraints: TableUnique[]): Promise<void>;
|
|
174
|
-
/**
|
|
175
|
-
* Drops an unique constraint.
|
|
176
|
-
*/
|
|
177
|
-
dropUniqueConstraint(tableOrName: Table | string, uniqueOrName: TableUnique | string): Promise<void>;
|
|
178
|
-
/**
|
|
179
|
-
* Creates an unique constraints.
|
|
180
|
-
*/
|
|
181
|
-
dropUniqueConstraints(tableOrName: Table | string, uniqueConstraints: TableUnique[]): Promise<void>;
|
|
182
|
-
/**
|
|
183
|
-
* Creates new check constraint.
|
|
184
|
-
*/
|
|
185
|
-
createCheckConstraint(tableOrName: Table | string, checkConstraint: TableCheck): Promise<void>;
|
|
186
|
-
/**
|
|
187
|
-
* Creates new check constraints.
|
|
188
|
-
*/
|
|
189
|
-
createCheckConstraints(tableOrName: Table | string, checkConstraints: TableCheck[]): Promise<void>;
|
|
190
|
-
/**
|
|
191
|
-
* Drops check constraint.
|
|
192
|
-
*/
|
|
193
|
-
dropCheckConstraint(tableOrName: Table | string, checkOrName: TableCheck | string): Promise<void>;
|
|
194
|
-
/**
|
|
195
|
-
* Drops check constraints.
|
|
196
|
-
*/
|
|
197
|
-
dropCheckConstraints(tableOrName: Table | string, checkConstraints: TableCheck[]): Promise<void>;
|
|
198
|
-
/**
|
|
199
|
-
* Creates a new exclusion constraint.
|
|
200
|
-
*/
|
|
201
|
-
createExclusionConstraint(tableOrName: Table | string, exclusionConstraint: TableExclusion): Promise<void>;
|
|
202
|
-
/**
|
|
203
|
-
* Creates a new exclusion constraints.
|
|
204
|
-
*/
|
|
205
|
-
createExclusionConstraints(tableOrName: Table | string, exclusionConstraints: TableExclusion[]): Promise<void>;
|
|
206
|
-
/**
|
|
207
|
-
* Drops exclusion constraint.
|
|
208
|
-
*/
|
|
209
|
-
dropExclusionConstraint(tableOrName: Table | string, exclusionOrName: TableExclusion | string): Promise<void>;
|
|
210
|
-
/**
|
|
211
|
-
* Drops exclusion constraints.
|
|
212
|
-
*/
|
|
213
|
-
dropExclusionConstraints(tableOrName: Table | string, exclusionConstraints: TableExclusion[]): Promise<void>;
|
|
214
|
-
/**
|
|
215
|
-
* Creates a new foreign key.
|
|
216
|
-
*/
|
|
217
|
-
createForeignKey(tableOrName: Table | string, foreignKey: TableForeignKey): Promise<void>;
|
|
218
|
-
/**
|
|
219
|
-
* Creates a new foreign keys.
|
|
220
|
-
*/
|
|
221
|
-
createForeignKeys(tableOrName: Table | string, foreignKeys: TableForeignKey[]): Promise<void>;
|
|
222
|
-
/**
|
|
223
|
-
* Drops a foreign key from the table.
|
|
224
|
-
*/
|
|
225
|
-
dropForeignKey(tableOrName: Table | string, foreignKeyOrName: TableForeignKey | string): Promise<void>;
|
|
226
|
-
/**
|
|
227
|
-
* Drops a foreign keys from the table.
|
|
228
|
-
*/
|
|
229
|
-
dropForeignKeys(tableOrName: Table | string, foreignKeys: TableForeignKey[]): Promise<void>;
|
|
230
|
-
/**
|
|
231
|
-
* Creates a new index.
|
|
232
|
-
*/
|
|
233
|
-
createIndex(tableOrName: Table | string, index: TableIndex): Promise<void>;
|
|
234
|
-
/**
|
|
235
|
-
* Creates a new indices
|
|
236
|
-
*/
|
|
237
|
-
createIndices(tableOrName: Table | string, indices: TableIndex[]): Promise<void>;
|
|
238
|
-
/**
|
|
239
|
-
* Drops an index from the table.
|
|
240
|
-
*/
|
|
241
|
-
dropIndex(tableOrName: Table | string, indexOrName: TableIndex | string): Promise<void>;
|
|
242
|
-
/**
|
|
243
|
-
* Drops an indices from the table.
|
|
244
|
-
*/
|
|
245
|
-
dropIndices(tableOrName: Table | string, indices: TableIndex[]): Promise<void>;
|
|
246
|
-
/**
|
|
247
|
-
* Clears all table contents.
|
|
248
|
-
* Note: this operation uses SQL's TRUNCATE query which cannot be reverted in transactions.
|
|
249
|
-
*/
|
|
250
|
-
clearTable(tableName: string): Promise<void>;
|
|
251
|
-
/**
|
|
252
|
-
* Removes all tables from the currently connected database.
|
|
253
|
-
*/
|
|
254
|
-
clearDatabase(database?: string): Promise<void>;
|
|
255
|
-
protected loadViews(viewNames?: string[]): Promise<View[]>;
|
|
256
|
-
protected loadTableRecords(tablePath: string, tableOrIndex: "table" | "index"): Promise<any>;
|
|
257
|
-
protected loadPragmaRecords(tablePath: string, pragma: string): Promise<any>;
|
|
258
|
-
/**
|
|
259
|
-
* Loads all tables (with given names) from the database and creates a Table from them.
|
|
260
|
-
*/
|
|
261
|
-
protected loadTables(tableNames?: string[]): Promise<Table[]>;
|
|
262
|
-
/**
|
|
263
|
-
* Builds create table sql.
|
|
264
|
-
*/
|
|
265
|
-
protected createTableSql(table: Table, createForeignKeys?: boolean, temporaryTable?: boolean): Query;
|
|
266
|
-
/**
|
|
267
|
-
* Builds drop table sql.
|
|
268
|
-
*/
|
|
269
|
-
protected dropTableSql(tableOrName: Table | string, ifExist?: boolean): Query;
|
|
270
|
-
protected createViewSql(view: View): Query;
|
|
271
|
-
protected insertViewDefinitionSql(view: View): Query;
|
|
272
|
-
/**
|
|
273
|
-
* Builds drop view sql.
|
|
274
|
-
*/
|
|
275
|
-
protected dropViewSql(viewOrPath: View | string): Query;
|
|
276
|
-
/**
|
|
277
|
-
* Builds remove view sql.
|
|
278
|
-
*/
|
|
279
|
-
protected deleteViewDefinitionSql(viewOrPath: View | string): Query;
|
|
280
|
-
/**
|
|
281
|
-
* Builds create index sql.
|
|
282
|
-
*/
|
|
283
|
-
protected createIndexSql(table: Table, index: TableIndex): Query;
|
|
284
|
-
/**
|
|
285
|
-
* Builds drop index sql.
|
|
286
|
-
*/
|
|
287
|
-
protected dropIndexSql(indexOrName: TableIndex | string): Query;
|
|
288
|
-
/**
|
|
289
|
-
* Builds a query for create column.
|
|
290
|
-
*/
|
|
291
|
-
protected buildCreateColumnSql(column: TableColumn, skipPrimary?: boolean): string;
|
|
292
|
-
protected recreateTable(newTable: Table, oldTable: Table, migrateData?: boolean): Promise<void>;
|
|
293
|
-
/**
|
|
294
|
-
* tablePath e.g. "myDB.myTable", "myTable"
|
|
295
|
-
*/
|
|
296
|
-
protected splitTablePath(tablePath: string): [string | undefined, string];
|
|
297
|
-
/**
|
|
298
|
-
* Escapes given table or view path. Tolerates leading/trailing dots
|
|
299
|
-
*/
|
|
300
|
-
protected escapePath(target: Table | View | string, disableEscape?: boolean): string;
|
|
301
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BaseDataSourceOptions } from "../../data-source/BaseDataSourceOptions";
|
|
3
|
-
/**
|
|
4
|
-
* Sql.js-specific connection options.
|
|
5
|
-
*/
|
|
6
|
-
export interface SqljsConnectionOptions extends BaseDataSourceOptions {
|
|
7
|
-
/**
|
|
8
|
-
* Database type.
|
|
9
|
-
*/
|
|
10
|
-
readonly type: "sqljs";
|
|
11
|
-
/**
|
|
12
|
-
* A Uint8Array that gets imported when the connection is opened.
|
|
13
|
-
*/
|
|
14
|
-
readonly database?: Uint8Array;
|
|
15
|
-
/**
|
|
16
|
-
* The driver object
|
|
17
|
-
* This defaults to require("sql.js")
|
|
18
|
-
*/
|
|
19
|
-
readonly driver?: any;
|
|
20
|
-
/**
|
|
21
|
-
* Config that's used to initialize sql.js.
|
|
22
|
-
*/
|
|
23
|
-
readonly sqlJsConfig?: any;
|
|
24
|
-
/**
|
|
25
|
-
* Enables the autoSave mechanism which either saves to location
|
|
26
|
-
* or calls autoSaveCallback every time a change to the database is made.
|
|
27
|
-
*/
|
|
28
|
-
readonly autoSave?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* A function that gets called on every change instead of the internal autoSave function.
|
|
31
|
-
* autoSave has to be enabled for this to work.
|
|
32
|
-
*/
|
|
33
|
-
readonly autoSaveCallback?: Function;
|
|
34
|
-
/**
|
|
35
|
-
* File path (Node.js) or local storage key (browser) to load and save database from.
|
|
36
|
-
* If this is specified without autoSave, the database is loaded from the location
|
|
37
|
-
* and can be saved manually via the SqljsEntityManager. If autoSave is enabled,
|
|
38
|
-
* location is used to automatically save the database.
|
|
39
|
-
*/
|
|
40
|
-
readonly location?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Enables the usage of the localforage library to save & load the database asynchronously from the
|
|
43
|
-
* indexedDB instead of using the synchron local storage methods in a browser environment.
|
|
44
|
-
*/
|
|
45
|
-
readonly useLocalForage?: boolean;
|
|
46
|
-
readonly poolSize?: never;
|
|
47
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { AbstractSqliteDriver } from "../sqlite-abstract/AbstractSqliteDriver";
|
|
3
|
-
import { SqljsConnectionOptions } from "./SqljsConnectionOptions";
|
|
4
|
-
import { QueryRunner } from "../../query-runner/QueryRunner";
|
|
5
|
-
import { DataSource } from "../../data-source/DataSource";
|
|
6
|
-
import { EntityMetadata } from "../../metadata/EntityMetadata";
|
|
7
|
-
import { ReplicationMode } from "../types/ReplicationMode";
|
|
8
|
-
import { _ } from 'tnp-core/browser';
|
|
9
|
-
export declare class SqljsDriver extends AbstractSqliteDriver {
|
|
10
|
-
options: SqljsConnectionOptions;
|
|
11
|
-
localForgeInstance: any;
|
|
12
|
-
databaseArrayFast: {};
|
|
13
|
-
debounceSave: ((path: any) => Promise<void>) & _.Cancelable;
|
|
14
|
-
constructor(connection: DataSource);
|
|
15
|
-
/**
|
|
16
|
-
* Performs connection to the database.
|
|
17
|
-
*/
|
|
18
|
-
connect(): Promise<void>;
|
|
19
|
-
/**
|
|
20
|
-
* Closes connection with database.
|
|
21
|
-
*/
|
|
22
|
-
disconnect(): Promise<void>;
|
|
23
|
-
/**
|
|
24
|
-
* Creates a query runner used to execute database queries.
|
|
25
|
-
*/
|
|
26
|
-
createQueryRunner(mode: ReplicationMode): QueryRunner;
|
|
27
|
-
/**
|
|
28
|
-
* Loads a database from a given file (Node.js), local storage key (browser) or array.
|
|
29
|
-
* This will delete the current database!
|
|
30
|
-
*/
|
|
31
|
-
load(fileNameOrLocalStorageOrData: string | Uint8Array, checkIfFileOrLocalStorageExists?: boolean): Promise<any>;
|
|
32
|
-
/**
|
|
33
|
-
* Saved the current database to the given file (Node.js), local storage key (browser) or
|
|
34
|
-
* indexedDB key (browser with enabled useLocalForage option).
|
|
35
|
-
* If no location path is given, the location path in the options (if specified) will be used.
|
|
36
|
-
*/
|
|
37
|
-
save(location?: string): Promise<void>;
|
|
38
|
-
/**
|
|
39
|
-
* This gets called by the QueryRunner when a change to the database is made.
|
|
40
|
-
* If a custom autoSaveCallback is specified, it get's called with the database as Uint8Array,
|
|
41
|
-
* otherwise the save method is called which saves it to file (Node.js), local storage (browser)
|
|
42
|
-
* or indexedDB (browser with enabled useLocalForage option).
|
|
43
|
-
* Don't auto-save when in transaction as the call to export will end the current transaction
|
|
44
|
-
*/
|
|
45
|
-
autoSave(): Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
* Returns the current database as Uint8Array.
|
|
48
|
-
*/
|
|
49
|
-
export(): Uint8Array;
|
|
50
|
-
/**
|
|
51
|
-
* Creates generated map of values generated or returned by database after INSERT query.
|
|
52
|
-
*/
|
|
53
|
-
createGeneratedMap(metadata: EntityMetadata, insertResult: any): any;
|
|
54
|
-
/**
|
|
55
|
-
* Creates connection with the database.
|
|
56
|
-
* If the location option is set, the database is loaded first.
|
|
57
|
-
*/
|
|
58
|
-
protected createDatabaseConnection(): Promise<any>;
|
|
59
|
-
/**
|
|
60
|
-
* Creates connection with an optional database.
|
|
61
|
-
* If database is specified it is loaded, otherwise a new empty database is created.
|
|
62
|
-
*/
|
|
63
|
-
protected createDatabaseConnectionWithImport(database?: Uint8Array): Promise<any>;
|
|
64
|
-
/**
|
|
65
|
-
* If driver dependency is not given explicitly, then try to load it via "require".
|
|
66
|
-
*/
|
|
67
|
-
protected loadDependencies(): void;
|
|
68
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { AbstractSqliteQueryRunner } from "../sqlite-abstract/AbstractSqliteQueryRunner";
|
|
3
|
-
import { SqljsDriver } from "./SqljsDriver";
|
|
4
|
-
/**
|
|
5
|
-
* Runs queries on a single sqlite database connection.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SqljsQueryRunner extends AbstractSqliteQueryRunner {
|
|
8
|
-
/**
|
|
9
|
-
* Flag to determine if a modification has happened since the last time this query runner has requested a save.
|
|
10
|
-
*/
|
|
11
|
-
private isDirty;
|
|
12
|
-
/**
|
|
13
|
-
* Database driver used by connection.
|
|
14
|
-
*/
|
|
15
|
-
driver: SqljsDriver;
|
|
16
|
-
constructor(driver: SqljsDriver);
|
|
17
|
-
/**
|
|
18
|
-
* Called before migrations are run.
|
|
19
|
-
*/
|
|
20
|
-
beforeMigration(): Promise<void>;
|
|
21
|
-
/**
|
|
22
|
-
* Called after migrations are run.
|
|
23
|
-
*/
|
|
24
|
-
afterMigration(): Promise<void>;
|
|
25
|
-
private flush;
|
|
26
|
-
release(): Promise<void>;
|
|
27
|
-
/**
|
|
28
|
-
* Commits transaction.
|
|
29
|
-
* Error will be thrown if transaction was not started.
|
|
30
|
-
*/
|
|
31
|
-
commitTransaction(): Promise<void>;
|
|
32
|
-
/**
|
|
33
|
-
* Executes a given SQL query.
|
|
34
|
-
*/
|
|
35
|
-
query(query: string, parameters?: any[], useStructuredResult?: boolean): Promise<any>;
|
|
36
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Column types used for @PrimaryGeneratedColumn() decorator.
|
|
4
|
-
*/
|
|
5
|
-
export type PrimaryGeneratedColumnType = "int" | "int2" | "int4" | "int8" | "integer" | "tinyint" | "smallint" | "mediumint" | "bigint" | "dec" | "decimal" | "smalldecimal" | "fixed" | "numeric" | "number";
|
|
6
|
-
/**
|
|
7
|
-
* Column types where spatial properties are used.
|
|
8
|
-
*/
|
|
9
|
-
export type SpatialColumnType = "geometry" | "geography" | "st_geometry" | "st_point";
|
|
10
|
-
/**
|
|
11
|
-
* Column types where precision and scale properties are used.
|
|
12
|
-
*/
|
|
13
|
-
export type WithPrecisionColumnType = "float" | "double" | "dec" | "decimal" | "smalldecimal" | "fixed" | "numeric" | "real" | "double precision" | "number" | "datetime" | "datetime2" | "datetimeoffset" | "time" | "time with time zone" | "time without time zone" | "timestamp" | "timestamp without time zone" | "timestamp with time zone" | "timestamp with local time zone";
|
|
14
|
-
/**
|
|
15
|
-
* Column types where column length is used.
|
|
16
|
-
*/
|
|
17
|
-
export type WithLengthColumnType = "character varying" | "varying character" | "char varying" | "nvarchar" | "national varchar" | "character" | "native character" | "varchar" | "char" | "nchar" | "national char" | "varchar2" | "nvarchar2" | "alphanum" | "shorttext" | "raw" | "binary" | "varbinary" | "string";
|
|
18
|
-
export type WithWidthColumnType = "tinyint" | "smallint" | "mediumint" | "int" | "bigint";
|
|
19
|
-
/**
|
|
20
|
-
* All other regular column types.
|
|
21
|
-
*/
|
|
22
|
-
export type SimpleColumnType = "simple-array" | "simple-json" | "simple-enum" | "int2" | "integer" | "int4" | "int8" | "int64" | "unsigned big int" | "float" | "float4" | "float8" | "float64" | "smallmoney" | "money" | "boolean" | "bool" | "tinyblob" | "tinytext" | "mediumblob" | "mediumtext" | "blob" | "text" | "ntext" | "citext" | "hstore" | "longblob" | "longtext" | "alphanum" | "shorttext" | "bytes" | "bytea" | "long" | "raw" | "long raw" | "bfile" | "clob" | "nclob" | "image" | "timetz" | "timestamptz" | "timestamp with local time zone" | "smalldatetime" | "date" | "interval year to month" | "interval day to second" | "interval" | "year" | "seconddate" | "point" | "line" | "lseg" | "box" | "circle" | "path" | "polygon" | "geography" | "geometry" | "linestring" | "multipoint" | "multilinestring" | "multipolygon" | "geometrycollection" | "st_geometry" | "st_point" | "int4range" | "int8range" | "numrange" | "tsrange" | "tstzrange" | "daterange" | "enum" | "set" | "cidr" | "inet" | "macaddr" | "bit" | "bit varying" | "varbit" | "tsvector" | "tsquery" | "uuid" | "xml" | "json" | "jsonb" | "varbinary" | "hierarchyid" | "sql_variant" | "rowid" | "urowid" | "uniqueidentifier" | "rowversion" | "array" | "cube" | "ltree";
|
|
23
|
-
/**
|
|
24
|
-
* Any column type column can be.
|
|
25
|
-
*/
|
|
26
|
-
export type ColumnType = WithPrecisionColumnType | WithLengthColumnType | WithWidthColumnType | SpatialColumnType | SimpleColumnType | BooleanConstructor | DateConstructor | NumberConstructor | StringConstructor;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export interface CteCapabilities {
|
|
3
|
-
/**
|
|
4
|
-
* Are CTEs supported at all?
|
|
5
|
-
*/
|
|
6
|
-
enabled: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Are RETURNING clauses supported in CTEs?
|
|
9
|
-
*/
|
|
10
|
-
writable?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Is RECURSIVE clause required for recursive CTEs?
|
|
13
|
-
*/
|
|
14
|
-
requiresRecursiveHint?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Is MATERIALIZED clause supported?
|
|
17
|
-
*/
|
|
18
|
-
materializedHint?: boolean;
|
|
19
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Database type.
|
|
4
|
-
*/
|
|
5
|
-
export type DatabaseType = "mysql" | "postgres" | "cockroachdb" | "sap" | "mariadb" | "sqlite" | "cordova" | "react-native" | "nativescript" | "sqljs" | "oracle" | "mssql" | "mongodb" | "aurora-mysql" | "aurora-postgres" | "expo" | "better-sqlite3" | "capacitor" | "spanner";
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ColumnType } from "./ColumnTypes";
|
|
3
|
-
/**
|
|
4
|
-
* Orm has special columns and we need to know what database column types should be for those types.
|
|
5
|
-
* Column types are driver dependant.
|
|
6
|
-
*/
|
|
7
|
-
export interface MappedColumnTypes {
|
|
8
|
-
/**
|
|
9
|
-
* Column type for the create date column.
|
|
10
|
-
*/
|
|
11
|
-
createDate: ColumnType;
|
|
12
|
-
/**
|
|
13
|
-
* Precision of datetime column. Used in MySql to define milliseconds.
|
|
14
|
-
*/
|
|
15
|
-
createDatePrecision?: number;
|
|
16
|
-
/**
|
|
17
|
-
* Default value should be used by a database for "created date" column.
|
|
18
|
-
*/
|
|
19
|
-
createDateDefault: string;
|
|
20
|
-
/**
|
|
21
|
-
* Column type for the update date column.
|
|
22
|
-
*/
|
|
23
|
-
updateDate: ColumnType;
|
|
24
|
-
/**
|
|
25
|
-
* Precision of datetime column. Used in MySql to define milliseconds.
|
|
26
|
-
*/
|
|
27
|
-
updateDatePrecision?: number;
|
|
28
|
-
/**
|
|
29
|
-
* Default value should be used by a database for "updated date" column.
|
|
30
|
-
*/
|
|
31
|
-
updateDateDefault: string;
|
|
32
|
-
/**
|
|
33
|
-
* Column type for the delete date column.
|
|
34
|
-
*/
|
|
35
|
-
deleteDate: ColumnType;
|
|
36
|
-
/**
|
|
37
|
-
* Precision of datetime column. Used in MySql to define milliseconds.
|
|
38
|
-
*/
|
|
39
|
-
deleteDatePrecision?: number;
|
|
40
|
-
/**
|
|
41
|
-
* Nullable value should be used by a database for "deleted date" column.
|
|
42
|
-
*/
|
|
43
|
-
deleteDateNullable: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Column type for the version column.
|
|
46
|
-
*/
|
|
47
|
-
version: ColumnType;
|
|
48
|
-
/**
|
|
49
|
-
* Column type for the tree level column.
|
|
50
|
-
*/
|
|
51
|
-
treeLevel: ColumnType;
|
|
52
|
-
/**
|
|
53
|
-
* Column type of id column used for migrations table.
|
|
54
|
-
*/
|
|
55
|
-
migrationId: ColumnType;
|
|
56
|
-
/**
|
|
57
|
-
* Column type of timestamp column used for migrations table.
|
|
58
|
-
*/
|
|
59
|
-
migrationTimestamp: ColumnType;
|
|
60
|
-
/**
|
|
61
|
-
* Column type for migration name column used for migrations table.
|
|
62
|
-
*/
|
|
63
|
-
migrationName: ColumnType;
|
|
64
|
-
/**
|
|
65
|
-
* Column type for identifier column in query result cache table.
|
|
66
|
-
*/
|
|
67
|
-
cacheId: ColumnType;
|
|
68
|
-
/**
|
|
69
|
-
* Column type for identifier column in query result cache table.
|
|
70
|
-
*/
|
|
71
|
-
cacheIdentifier: ColumnType;
|
|
72
|
-
/**
|
|
73
|
-
* Column type for time column in query result cache table.
|
|
74
|
-
*/
|
|
75
|
-
cacheTime: ColumnType;
|
|
76
|
-
/**
|
|
77
|
-
* Column type for duration column in query result cache table.
|
|
78
|
-
*/
|
|
79
|
-
cacheDuration: ColumnType;
|
|
80
|
-
/**
|
|
81
|
-
* Column type for query column in query result cache table.
|
|
82
|
-
*/
|
|
83
|
-
cacheQuery: ColumnType;
|
|
84
|
-
/**
|
|
85
|
-
* Column type for result column in query result cache table.
|
|
86
|
-
*/
|
|
87
|
-
cacheResult: ColumnType;
|
|
88
|
-
/**
|
|
89
|
-
* Column type for metadata type column in typeorm metadata table.
|
|
90
|
-
* Stores type of metadata. E.g. 'VIEW' or 'CHECK'
|
|
91
|
-
*/
|
|
92
|
-
metadataType: ColumnType;
|
|
93
|
-
/**
|
|
94
|
-
* Column type for metadata database name column in typeorm metadata table.
|
|
95
|
-
*/
|
|
96
|
-
metadataDatabase: ColumnType;
|
|
97
|
-
/**
|
|
98
|
-
* Column type for metadata schema name column in typeorm metadata table.
|
|
99
|
-
*/
|
|
100
|
-
metadataSchema: ColumnType;
|
|
101
|
-
/**
|
|
102
|
-
* Column type for metadata table name column in typeorm metadata table.
|
|
103
|
-
*/
|
|
104
|
-
metadataTable: ColumnType;
|
|
105
|
-
/**
|
|
106
|
-
* Column type for metadata name column in typeorm metadata table.
|
|
107
|
-
*/
|
|
108
|
-
metadataName: ColumnType;
|
|
109
|
-
/**
|
|
110
|
-
* Column type for metadata value column in typeorm metadata table.
|
|
111
|
-
*/
|
|
112
|
-
metadataValue: ColumnType;
|
|
113
|
-
}
|