taon-typeorm 19.0.49 → 21.0.4
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/fesm2022/taon-typeorm.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/taon-typeorm.d.ts +12402 -0
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/build-info._auto-generated_.js.map +1 -1
- package/lib/typeorm/query-builder/DeleteQueryBuilder.js +5 -1
- package/lib/typeorm/query-builder/DeleteQueryBuilder.js.map +1 -1
- package/lib/typeorm/query-builder/SoftDeleteQueryBuilder.js +5 -1
- package/lib/typeorm/query-builder/SoftDeleteQueryBuilder.js.map +1 -1
- package/lib/typeorm/query-builder/UpdateQueryBuilder.js +5 -1
- package/lib/typeorm/query-builder/UpdateQueryBuilder.js.map +1 -1
- package/package.json +2 -2
- package/websql/fesm2022/taon-typeorm.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/taon-typeorm.d.ts +12402 -0
- package/browser/index.d.ts +0 -6
- package/browser/lib/index.d.ts +0 -2
- package/browser/lib/typeorm/cache/DbQueryResultCache.d.ts +0 -53
- package/browser/lib/typeorm/cache/QueryResultCache.d.ts +0 -40
- package/browser/lib/typeorm/cache/QueryResultCacheFactory.d.ts +0 -14
- package/browser/lib/typeorm/cache/QueryResultCacheOptions.d.ts +0 -27
- package/browser/lib/typeorm/cache/RedisQueryResultCache.d.ts +0 -66
- package/browser/lib/typeorm/common/DeepPartial.d.ts +0 -7
- package/browser/lib/typeorm/common/EntityTarget.d.ts +0 -10
- package/browser/lib/typeorm/common/MixedList.d.ts +0 -9
- package/browser/lib/typeorm/common/ObjectLiteral.d.ts +0 -7
- package/browser/lib/typeorm/common/ObjectType.d.ts +0 -7
- package/browser/lib/typeorm/common/RelationType.d.ts +0 -15
- package/browser/lib/typeorm/connection/Connection.d.ts +0 -11
- package/browser/lib/typeorm/connection/ConnectionManager.d.ts +0 -34
- package/browser/lib/typeorm/connection/ConnectionMetadataBuilder.d.ts +0 -25
- package/browser/lib/typeorm/connection/ConnectionOptions.d.ts +0 -10
- package/browser/lib/typeorm/connection/ConnectionOptionsReader.d.ts +0 -65
- package/browser/lib/typeorm/constants.d.ts +0 -2
- package/browser/lib/typeorm/container.d.ts +0 -40
- package/browser/lib/typeorm/data-source/BaseDataSourceOptions.d.ts +0 -172
- package/browser/lib/typeorm/data-source/DataSource.d.ts +0 -247
- package/browser/lib/typeorm/data-source/DataSourceOptions.d.ts +0 -9
- package/browser/lib/typeorm/data-source/index.d.ts +0 -3
- package/browser/lib/typeorm/decorator/Check.d.ts +0 -13
- package/browser/lib/typeorm/decorator/EntityRepository.d.ts +0 -10
- package/browser/lib/typeorm/decorator/Exclusion.d.ts +0 -13
- package/browser/lib/typeorm/decorator/Generated.d.ts +0 -11
- package/browser/lib/typeorm/decorator/Index.d.ts +0 -50
- package/browser/lib/typeorm/decorator/Unique.d.ts +0 -22
- package/browser/lib/typeorm/decorator/columns/Column.d.ts +0 -75
- package/browser/lib/typeorm/decorator/columns/CreateDateColumn.d.ts +0 -8
- package/browser/lib/typeorm/decorator/columns/DeleteDateColumn.d.ts +0 -7
- package/browser/lib/typeorm/decorator/columns/ObjectIdColumn.d.ts +0 -7
- package/browser/lib/typeorm/decorator/columns/PrimaryColumn.d.ts +0 -22
- package/browser/lib/typeorm/decorator/columns/PrimaryGeneratedColumn.d.ts +0 -25
- package/browser/lib/typeorm/decorator/columns/UpdateDateColumn.d.ts +0 -7
- package/browser/lib/typeorm/decorator/columns/VersionColumn.d.ts +0 -8
- package/browser/lib/typeorm/decorator/columns/ViewColumn.d.ts +0 -6
- package/browser/lib/typeorm/decorator/columns/VirtualColumn.d.ts +0 -11
- package/browser/lib/typeorm/decorator/entity/ChildEntity.d.ts +0 -5
- package/browser/lib/typeorm/decorator/entity/Entity.d.ts +0 -12
- package/browser/lib/typeorm/decorator/entity/TableInheritance.d.ts +0 -9
- package/browser/lib/typeorm/decorator/entity-view/ViewEntity.d.ts +0 -12
- package/browser/lib/typeorm/decorator/listeners/AfterInsert.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/AfterLoad.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/AfterRecover.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/AfterRemove.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/AfterSoftRemove.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/AfterUpdate.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/BeforeInsert.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/BeforeRecover.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/BeforeRemove.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/BeforeSoftRemove.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/BeforeUpdate.d.ts +0 -5
- package/browser/lib/typeorm/decorator/listeners/EventSubscriber.d.ts +0 -6
- package/browser/lib/typeorm/decorator/options/ColumnCommonOptions.d.ts +0 -58
- package/browser/lib/typeorm/decorator/options/ColumnEmbeddedOptions.d.ts +0 -17
- package/browser/lib/typeorm/decorator/options/ColumnEnumOptions.d.ts +0 -14
- package/browser/lib/typeorm/decorator/options/ColumnHstoreOptions.d.ts +0 -11
- package/browser/lib/typeorm/decorator/options/ColumnNumericOptions.d.ts +0 -25
- package/browser/lib/typeorm/decorator/options/ColumnOptions.d.ts +0 -159
- package/browser/lib/typeorm/decorator/options/ColumnWithLengthOptions.d.ts +0 -11
- package/browser/lib/typeorm/decorator/options/ColumnWithWidthOptions.d.ts +0 -20
- package/browser/lib/typeorm/decorator/options/EntityOptions.d.ts +0 -43
- package/browser/lib/typeorm/decorator/options/IndexOptions.d.ts +0 -53
- package/browser/lib/typeorm/decorator/options/JoinColumnOptions.d.ts +0 -18
- package/browser/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions.d.ts +0 -30
- package/browser/lib/typeorm/decorator/options/JoinTableOptions.d.ts +0 -30
- package/browser/lib/typeorm/decorator/options/PrimaryGeneratedColumnIdentityOptions.d.ts +0 -27
- package/browser/lib/typeorm/decorator/options/PrimaryGeneratedColumnNumericOptions.d.ts +0 -32
- package/browser/lib/typeorm/decorator/options/PrimaryGeneratedColumnUUIDOptions.d.ts +0 -18
- package/browser/lib/typeorm/decorator/options/RelationOptions.d.ts +0 -65
- package/browser/lib/typeorm/decorator/options/SpatialColumnOptions.d.ts +0 -16
- package/browser/lib/typeorm/decorator/options/UniqueOptions.d.ts +0 -11
- package/browser/lib/typeorm/decorator/options/ValueTransformer.d.ts +0 -14
- package/browser/lib/typeorm/decorator/options/ViewColumnOptions.d.ts +0 -16
- package/browser/lib/typeorm/decorator/options/ViewEntityOptions.d.ts +0 -40
- package/browser/lib/typeorm/decorator/options/VirtualColumnOptions.d.ts +0 -28
- package/browser/lib/typeorm/decorator/relations/JoinColumn.d.ts +0 -20
- package/browser/lib/typeorm/decorator/relations/JoinTable.d.ts +0 -18
- package/browser/lib/typeorm/decorator/relations/ManyToMany.d.ts +0 -15
- package/browser/lib/typeorm/decorator/relations/ManyToOne.d.ts +0 -15
- package/browser/lib/typeorm/decorator/relations/OneToMany.d.ts +0 -9
- package/browser/lib/typeorm/decorator/relations/OneToOne.d.ts +0 -13
- package/browser/lib/typeorm/decorator/relations/RelationCount.d.ts +0 -8
- package/browser/lib/typeorm/decorator/relations/RelationId.d.ts +0 -8
- package/browser/lib/typeorm/decorator/tree/Tree.d.ts +0 -10
- package/browser/lib/typeorm/decorator/tree/TreeChildren.d.ts +0 -8
- package/browser/lib/typeorm/decorator/tree/TreeLevelColumn.d.ts +0 -5
- package/browser/lib/typeorm/decorator/tree/TreeParent.d.ts +0 -9
- package/browser/lib/typeorm/driver/Driver.d.ts +0 -208
- package/browser/lib/typeorm/driver/DriverFactory.d.ts +0 -12
- package/browser/lib/typeorm/driver/DriverUtils.d.ts +0 -62
- package/browser/lib/typeorm/driver/Query.d.ts +0 -10
- package/browser/lib/typeorm/driver/SqlInMemory.d.ts +0 -9
- package/browser/lib/typeorm/driver/cordova/CordovaConnectionOptions.d.ts +0 -25
- package/browser/lib/typeorm/driver/cordova/CordovaDriver.d.ts +0 -26
- package/browser/lib/typeorm/driver/cordova/CordovaQueryRunner.d.ts +0 -81
- package/browser/lib/typeorm/driver/mongodb/typings.d.ts +0 -46
- package/browser/lib/typeorm/driver/nativescript/NativescriptConnectionOptions.d.ts +0 -46
- package/browser/lib/typeorm/driver/nativescript/NativescriptDriver.d.ts +0 -45
- package/browser/lib/typeorm/driver/nativescript/NativescriptQueryRunner.d.ts +0 -30
- package/browser/lib/typeorm/driver/react-native/ReactNativeConnectionOptions.d.ts +0 -25
- package/browser/lib/typeorm/driver/react-native/ReactNativeDriver.d.ts +0 -26
- package/browser/lib/typeorm/driver/react-native/ReactNativeQueryRunner.d.ts +0 -30
- package/browser/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.d.ts +0 -238
- package/browser/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.d.ts +0 -301
- package/browser/lib/typeorm/driver/sqljs/SqljsConnectionOptions.d.ts +0 -47
- package/browser/lib/typeorm/driver/sqljs/SqljsDriver.d.ts +0 -68
- package/browser/lib/typeorm/driver/sqljs/SqljsQueryRunner.d.ts +0 -36
- package/browser/lib/typeorm/driver/types/ColumnTypes.d.ts +0 -26
- package/browser/lib/typeorm/driver/types/CteCapabilities.d.ts +0 -19
- package/browser/lib/typeorm/driver/types/DataTypeDefaults.d.ts +0 -9
- package/browser/lib/typeorm/driver/types/DatabaseType.d.ts +0 -5
- package/browser/lib/typeorm/driver/types/IsolationLevel.d.ts +0 -2
- package/browser/lib/typeorm/driver/types/MappedColumnTypes.d.ts +0 -113
- package/browser/lib/typeorm/driver/types/MetadataTableType.d.ts +0 -6
- package/browser/lib/typeorm/driver/types/ReplicationMode.d.ts +0 -2
- package/browser/lib/typeorm/driver/types/UpsertType.d.ts +0 -2
- package/browser/lib/typeorm/entity-manager/EntityManager.d.ts +0 -353
- package/browser/lib/typeorm/entity-manager/EntityManagerFactory.d.ts +0 -13
- package/browser/lib/typeorm/entity-manager/SqljsEntityManager.d.ts +0 -27
- package/browser/lib/typeorm/entity-schema/EntitySchema.d.ts +0 -10
- package/browser/lib/typeorm/entity-schema/EntitySchemaCheckOptions.d.ts +0 -11
- package/browser/lib/typeorm/entity-schema/EntitySchemaColumnOptions.d.ts +0 -175
- package/browser/lib/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.d.ts +0 -19
- package/browser/lib/typeorm/entity-schema/EntitySchemaEmbeddedError.d.ts +0 -7
- package/browser/lib/typeorm/entity-schema/EntitySchemaExclusionOptions.d.ts +0 -11
- package/browser/lib/typeorm/entity-schema/EntitySchemaIndexOptions.d.ts +0 -54
- package/browser/lib/typeorm/entity-schema/EntitySchemaOptions.d.ts +0 -104
- package/browser/lib/typeorm/entity-schema/EntitySchemaRelationIdOptions.d.ts +0 -16
- package/browser/lib/typeorm/entity-schema/EntitySchemaRelationOptions.d.ts +0 -96
- package/browser/lib/typeorm/entity-schema/EntitySchemaTransformer.d.ts +0 -14
- package/browser/lib/typeorm/entity-schema/EntitySchemaUniqueOptions.d.ts +0 -18
- package/browser/lib/typeorm/error/AlreadyHasActiveConnectionError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotAttachTreeChildrenEntityError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotConnectAlreadyConnectedError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotCreateEntityIdMapError.d.ts +0 -10
- package/browser/lib/typeorm/error/CannotDetermineEntityError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotExecuteNotConnectedError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotGetEntityManagerNotConnectedError.d.ts +0 -8
- package/browser/lib/typeorm/error/CannotReflectMethodParameterTypeError.d.ts +0 -9
- package/browser/lib/typeorm/error/CircularRelationsError.d.ts +0 -8
- package/browser/lib/typeorm/error/ColumnTypeUndefinedError.d.ts +0 -9
- package/browser/lib/typeorm/error/ConnectionIsNotSetError.d.ts +0 -8
- package/browser/lib/typeorm/error/ConnectionNotFoundError.d.ts +0 -8
- package/browser/lib/typeorm/error/CustomRepositoryCannotInheritRepositoryError.d.ts +0 -8
- package/browser/lib/typeorm/error/CustomRepositoryDoesNotHaveEntityError.d.ts +0 -8
- package/browser/lib/typeorm/error/CustomRepositoryNotFoundError.d.ts +0 -8
- package/browser/lib/typeorm/error/DataTypeNotSupportedError.d.ts +0 -8
- package/browser/lib/typeorm/error/DriverOptionNotSetError.d.ts +0 -8
- package/browser/lib/typeorm/error/DriverPackageNotInstalledError.d.ts +0 -8
- package/browser/lib/typeorm/error/EntityMetadataNotFoundError.d.ts +0 -7
- package/browser/lib/typeorm/error/EntityNotFoundError.d.ts +0 -11
- package/browser/lib/typeorm/error/EntityPropertyNotFoundError.d.ts +0 -9
- package/browser/lib/typeorm/error/FindRelationsNotFoundError.d.ts +0 -8
- package/browser/lib/typeorm/error/InitializedRelationError.d.ts +0 -12
- package/browser/lib/typeorm/error/InsertValuesMissingError.d.ts +0 -8
- package/browser/lib/typeorm/error/LimitOnUpdateNotSupportedError.d.ts +0 -8
- package/browser/lib/typeorm/error/LockNotSupportedOnGivenDriverError.d.ts +0 -8
- package/browser/lib/typeorm/error/MetadataAlreadyExistsError.d.ts +0 -5
- package/browser/lib/typeorm/error/MetadataWithSuchNameAlreadyExistsError.d.ts +0 -5
- package/browser/lib/typeorm/error/MissingDeleteDateColumnError.d.ts +0 -6
- package/browser/lib/typeorm/error/MissingDriverError.d.ts +0 -8
- package/browser/lib/typeorm/error/MissingJoinColumnError.d.ts +0 -7
- package/browser/lib/typeorm/error/MissingJoinTableError.d.ts +0 -7
- package/browser/lib/typeorm/error/MissingPrimaryColumnError.d.ts +0 -6
- package/browser/lib/typeorm/error/MustBeEntityError.d.ts +0 -8
- package/browser/lib/typeorm/error/NamingStrategyNotFoundError.d.ts +0 -8
- package/browser/lib/typeorm/error/NestedSetMultipleRootError.d.ts +0 -5
- package/browser/lib/typeorm/error/NoConnectionForRepositoryError.d.ts +0 -8
- package/browser/lib/typeorm/error/NoConnectionOptionError.d.ts +0 -8
- package/browser/lib/typeorm/error/NoNeedToReleaseEntityManagerError.d.ts +0 -8
- package/browser/lib/typeorm/error/NoVersionOrUpdateDateColumnError.d.ts +0 -8
- package/browser/lib/typeorm/error/OffsetWithoutLimitNotSupportedError.d.ts +0 -8
- package/browser/lib/typeorm/error/OptimisticLockCanNotBeUsedError.d.ts +0 -8
- package/browser/lib/typeorm/error/OptimisticLockVersionMismatchError.d.ts +0 -8
- package/browser/lib/typeorm/error/PersistedEntityNotFoundError.d.ts +0 -8
- package/browser/lib/typeorm/error/PessimisticLockTransactionRequiredError.d.ts +0 -8
- package/browser/lib/typeorm/error/PrimaryColumnCannotBeNullableError.d.ts +0 -5
- package/browser/lib/typeorm/error/QueryFailedError.d.ts +0 -11
- package/browser/lib/typeorm/error/QueryRunnerAlreadyReleasedError.d.ts +0 -5
- package/browser/lib/typeorm/error/QueryRunnerProviderAlreadyReleasedError.d.ts +0 -8
- package/browser/lib/typeorm/error/RepositoryNotTreeError.d.ts +0 -9
- package/browser/lib/typeorm/error/ReturningStatementNotSupportedError.d.ts +0 -9
- package/browser/lib/typeorm/error/SubjectRemovedAndUpdatedError.d.ts +0 -9
- package/browser/lib/typeorm/error/SubjectWithoutIdentifierError.d.ts +0 -11
- package/browser/lib/typeorm/error/TransactionAlreadyStartedError.d.ts +0 -8
- package/browser/lib/typeorm/error/TransactionNotStartedError.d.ts +0 -8
- package/browser/lib/typeorm/error/TreeRepositoryNotSupportedError.d.ts +0 -6
- package/browser/lib/typeorm/error/TypeORMError.d.ts +0 -5
- package/browser/lib/typeorm/error/UpdateValuesMissingError.d.ts +0 -5
- package/browser/lib/typeorm/error/UsingJoinColumnIsNotAllowedError.d.ts +0 -7
- package/browser/lib/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.d.ts +0 -7
- package/browser/lib/typeorm/error/UsingJoinTableIsNotAllowedError.d.ts +0 -7
- package/browser/lib/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.d.ts +0 -7
- package/browser/lib/typeorm/error/index.d.ts +0 -62
- package/browser/lib/typeorm/find-options/EqualOperator.d.ts +0 -6
- package/browser/lib/typeorm/find-options/FindManyOptions.d.ts +0 -15
- package/browser/lib/typeorm/find-options/FindOneOptions.d.ts +0 -89
- package/browser/lib/typeorm/find-options/FindOperator.d.ts +0 -66
- package/browser/lib/typeorm/find-options/FindOperatorType.d.ts +0 -5
- package/browser/lib/typeorm/find-options/FindOptionsOrder.d.ts +0 -19
- package/browser/lib/typeorm/find-options/FindOptionsRelations.d.ts +0 -19
- package/browser/lib/typeorm/find-options/FindOptionsSelect.d.ts +0 -18
- package/browser/lib/typeorm/find-options/FindOptionsUtils.d.ts +0 -191
- package/browser/lib/typeorm/find-options/FindOptionsWhere.d.ts +0 -14
- package/browser/lib/typeorm/find-options/FindTreeOptions.d.ts +0 -14
- package/browser/lib/typeorm/find-options/JoinOptions.d.ts +0 -77
- package/browser/lib/typeorm/find-options/OrderByCondition.d.ts +0 -18
- package/browser/lib/typeorm/find-options/operator/Any.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/ArrayContainedBy.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/ArrayContains.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/ArrayOverlap.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/Between.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/Equal.d.ts +0 -12
- package/browser/lib/typeorm/find-options/operator/ILike.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/In.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/IsNull.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/LessThan.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/LessThanOrEqual.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/Like.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/MoreThan.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/MoreThanOrEqual.d.ts +0 -7
- package/browser/lib/typeorm/find-options/operator/Not.d.ts +0 -8
- package/browser/lib/typeorm/find-options/operator/Raw.d.ts +0 -19
- package/browser/lib/typeorm/globals.d.ts +0 -104
- package/browser/lib/typeorm/index.d.ts +0 -168
- package/browser/lib/typeorm/logger/AdvancedConsoleLogger.d.ts +0 -42
- package/browser/lib/typeorm/logger/DebugLogger.d.ts +0 -41
- package/browser/lib/typeorm/logger/Logger.d.ts +0 -32
- package/browser/lib/typeorm/logger/LoggerFactory.d.ts +0 -12
- package/browser/lib/typeorm/logger/LoggerOptions.d.ts +0 -14
- package/browser/lib/typeorm/logger/SimpleConsoleLogger.d.ts +0 -42
- package/browser/lib/typeorm/metadata/CheckMetadata.d.ts +0 -40
- package/browser/lib/typeorm/metadata/ColumnMetadata.d.ts +0 -316
- package/browser/lib/typeorm/metadata/EmbeddedMetadata.d.ts +0 -166
- package/browser/lib/typeorm/metadata/EntityListenerMetadata.d.ts +0 -49
- package/browser/lib/typeorm/metadata/EntityMetadata.d.ts +0 -562
- package/browser/lib/typeorm/metadata/ExclusionMetadata.d.ts +0 -40
- package/browser/lib/typeorm/metadata/ForeignKeyMetadata.d.ts +0 -78
- package/browser/lib/typeorm/metadata/IndexMetadata.d.ts +0 -112
- package/browser/lib/typeorm/metadata/RelationCountMetadata.d.ts +0 -47
- package/browser/lib/typeorm/metadata/RelationIdMetadata.d.ts +0 -54
- package/browser/lib/typeorm/metadata/RelationMetadata.d.ts +0 -291
- package/browser/lib/typeorm/metadata/UniqueMetadata.d.ts +0 -66
- package/browser/lib/typeorm/metadata/types/ClosureTreeOptions.d.ts +0 -11
- package/browser/lib/typeorm/metadata/types/DeferrableType.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/EventListenerTypes.d.ts +0 -21
- package/browser/lib/typeorm/metadata/types/OnDeleteType.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/OnUpdateType.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/PropertyTypeInFunction.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/RelationTypeInFunction.d.ts +0 -6
- package/browser/lib/typeorm/metadata/types/RelationTypes.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/TableTypes.d.ts +0 -5
- package/browser/lib/typeorm/metadata/types/TreeTypes.d.ts +0 -6
- package/browser/lib/typeorm/metadata-args/CheckMetadataArgs.d.ts +0 -18
- package/browser/lib/typeorm/metadata-args/ColumnMetadataArgs.d.ts +0 -26
- package/browser/lib/typeorm/metadata-args/DiscriminatorValueMetadataArgs.d.ts +0 -14
- package/browser/lib/typeorm/metadata-args/EmbeddedMetadataArgs.d.ts +0 -27
- package/browser/lib/typeorm/metadata-args/EntityListenerMetadataArgs.d.ts +0 -19
- package/browser/lib/typeorm/metadata-args/EntityRepositoryMetadataArgs.d.ts +0 -15
- package/browser/lib/typeorm/metadata-args/EntitySubscriberMetadataArgs.d.ts +0 -10
- package/browser/lib/typeorm/metadata-args/ExclusionMetadataArgs.d.ts +0 -18
- package/browser/lib/typeorm/metadata-args/GeneratedMetadataArgs.d.ts +0 -18
- package/browser/lib/typeorm/metadata-args/IndexMetadataArgs.d.ts +0 -71
- package/browser/lib/typeorm/metadata-args/InheritanceMetadataArgs.d.ts +0 -19
- package/browser/lib/typeorm/metadata-args/JoinColumnMetadataArgs.d.ts +0 -27
- package/browser/lib/typeorm/metadata-args/JoinTableMetadataArgs.d.ts +0 -38
- package/browser/lib/typeorm/metadata-args/MetadataArgsStorage.d.ts +0 -109
- package/browser/lib/typeorm/metadata-args/NamingStrategyMetadataArgs.d.ts +0 -14
- package/browser/lib/typeorm/metadata-args/RelationCountMetadataArgs.d.ts +0 -27
- package/browser/lib/typeorm/metadata-args/RelationIdMetadataArgs.d.ts +0 -27
- package/browser/lib/typeorm/metadata-args/RelationMetadataArgs.d.ts +0 -56
- package/browser/lib/typeorm/metadata-args/TableMetadataArgs.d.ts +0 -62
- package/browser/lib/typeorm/metadata-args/TransactionEntityMetadataArgs.d.ts +0 -18
- package/browser/lib/typeorm/metadata-args/TransactionRepositoryMetadataArgs.d.ts +0 -26
- package/browser/lib/typeorm/metadata-args/TreeMetadataArgs.d.ts +0 -20
- package/browser/lib/typeorm/metadata-args/UniqueMetadataArgs.d.ts +0 -25
- package/browser/lib/typeorm/metadata-args/types/ColumnMode.d.ts +0 -8
- package/browser/lib/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.d.ts +0 -15
- package/browser/lib/typeorm/metadata-builder/EntityMetadataBuilder.d.ts +0 -58
- package/browser/lib/typeorm/metadata-builder/EntityMetadataValidator.d.ts +0 -24
- package/browser/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder.d.ts +0 -27
- package/browser/lib/typeorm/metadata-builder/MetadataUtils.d.ts +0 -24
- package/browser/lib/typeorm/metadata-builder/RelationJoinColumnBuilder.d.ts +0 -57
- package/browser/lib/typeorm/migration/Migration.d.ts +0 -25
- package/browser/lib/typeorm/migration/MigrationExecutor.d.ts +0 -100
- package/browser/lib/typeorm/migration/MigrationInterface.d.ts +0 -19
- package/browser/lib/typeorm/naming-strategy/DefaultNamingStrategy.d.ts +0 -50
- package/browser/lib/typeorm/naming-strategy/NamingStrategyInterface.d.ts +0 -117
- package/browser/lib/typeorm/persistence/EntityPersistExecutor.d.ts +0 -22
- package/browser/lib/typeorm/persistence/Subject.d.ts +0 -156
- package/browser/lib/typeorm/persistence/SubjectChangeMap.d.ts +0 -24
- package/browser/lib/typeorm/persistence/SubjectChangedColumnsComputer.d.ts +0 -19
- package/browser/lib/typeorm/persistence/SubjectDatabaseEntityLoader.d.ts +0 -36
- package/browser/lib/typeorm/persistence/SubjectExecutor.d.ts +0 -119
- package/browser/lib/typeorm/persistence/SubjectTopoligicalSorter.d.ts +0 -46
- package/browser/lib/typeorm/persistence/subject-builder/CascadesSubjectBuilder.d.ts +0 -20
- package/browser/lib/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.d.ts +0 -35
- package/browser/lib/typeorm/persistence/subject-builder/OneToManySubjectBuilder.d.ts +0 -28
- package/browser/lib/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.d.ts +0 -28
- package/browser/lib/typeorm/persistence/tree/ClosureSubjectExecutor.d.ts +0 -27
- package/browser/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor.d.ts +0 -19
- package/browser/lib/typeorm/persistence/tree/NestedSetSubjectExecutor.d.ts +0 -39
- package/browser/lib/typeorm/platform/PlatformTools.d.ts +0 -65
- package/browser/lib/typeorm/query-builder/Alias.d.ts +0 -23
- package/browser/lib/typeorm/query-builder/Brackets.d.ts +0 -17
- package/browser/lib/typeorm/query-builder/DeleteQueryBuilder.d.ts +0 -92
- package/browser/lib/typeorm/query-builder/InsertOrUpdateOptions.d.ts +0 -4
- package/browser/lib/typeorm/query-builder/InsertQueryBuilder.d.ts +0 -118
- package/browser/lib/typeorm/query-builder/JoinAttribute.d.ts +0 -84
- package/browser/lib/typeorm/query-builder/NotBrackets.d.ts +0 -9
- package/browser/lib/typeorm/query-builder/QueryBuilder.d.ts +0 -268
- package/browser/lib/typeorm/query-builder/QueryBuilderCte.d.ts +0 -18
- package/browser/lib/typeorm/query-builder/QueryBuilderUtils.d.ts +0 -11
- package/browser/lib/typeorm/query-builder/QueryExpressionMap.d.ts +0 -306
- package/browser/lib/typeorm/query-builder/QueryPartialEntity.d.ts +0 -16
- package/browser/lib/typeorm/query-builder/RelationIdLoader.d.ts +0 -71
- package/browser/lib/typeorm/query-builder/RelationLoader.d.ts +0 -60
- package/browser/lib/typeorm/query-builder/RelationQueryBuilder.d.ts +0 -70
- package/browser/lib/typeorm/query-builder/RelationRemover.d.ts +0 -17
- package/browser/lib/typeorm/query-builder/RelationUpdater.d.ts +0 -17
- package/browser/lib/typeorm/query-builder/ReturningResultsEntityUpdator.d.ts +0 -31
- package/browser/lib/typeorm/query-builder/SelectQuery.d.ts +0 -6
- package/browser/lib/typeorm/query-builder/SelectQueryBuilder.d.ts +0 -665
- package/browser/lib/typeorm/query-builder/SelectQueryBuilderOption.d.ts +0 -2
- package/browser/lib/typeorm/query-builder/SoftDeleteQueryBuilder.d.ts +0 -139
- package/browser/lib/typeorm/query-builder/UpdateQueryBuilder.d.ts +0 -144
- package/browser/lib/typeorm/query-builder/WhereClause.d.ts +0 -17
- package/browser/lib/typeorm/query-builder/WhereExpressionBuilder.d.ts +0 -127
- package/browser/lib/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts +0 -54
- package/browser/lib/typeorm/query-builder/relation-count/RelationCountLoadResult.d.ts +0 -9
- package/browser/lib/typeorm/query-builder/relation-count/RelationCountLoader.d.ts +0 -12
- package/browser/lib/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.d.ts +0 -8
- package/browser/lib/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts +0 -65
- package/browser/lib/typeorm/query-builder/relation-id/RelationIdLoadResult.d.ts +0 -6
- package/browser/lib/typeorm/query-builder/relation-id/RelationIdLoader.d.ts +0 -12
- package/browser/lib/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.d.ts +0 -8
- package/browser/lib/typeorm/query-builder/result/DeleteResult.d.ts +0 -17
- package/browser/lib/typeorm/query-builder/result/InsertResult.d.ts +0 -23
- package/browser/lib/typeorm/query-builder/result/UpdateResult.d.ts +0 -27
- package/browser/lib/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.d.ts +0 -13
- package/browser/lib/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.d.ts +0 -15
- package/browser/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.d.ts +0 -56
- package/browser/lib/typeorm/query-runner/BaseQueryRunner.d.ts +0 -204
- package/browser/lib/typeorm/query-runner/QueryResult.d.ts +0 -18
- package/browser/lib/typeorm/query-runner/QueryRunner.d.ts +0 -359
- package/browser/lib/typeorm/relation-path.d.ts +0 -7
- package/browser/lib/typeorm/repository/AbstractRepository.d.ts +0 -52
- package/browser/lib/typeorm/repository/BaseEntity.d.ts +0 -298
- package/browser/lib/typeorm/repository/FindTreesOptions.d.ts +0 -10
- package/browser/lib/typeorm/repository/RemoveOptions.d.ts +0 -28
- package/browser/lib/typeorm/repository/Repository.d.ts +0 -292
- package/browser/lib/typeorm/repository/SaveOptions.d.ts +0 -36
- package/browser/lib/typeorm/repository/TreeRepository.d.ts +0 -56
- package/browser/lib/typeorm/repository/UpsertOptions.d.ts +0 -11
- package/browser/lib/typeorm/schema-builder/RdbmsSchemaBuilder.d.ts +0 -145
- package/browser/lib/typeorm/schema-builder/SchemaBuilder.d.ts +0 -15
- package/browser/lib/typeorm/schema-builder/options/TableCheckOptions.d.ts +0 -18
- package/browser/lib/typeorm/schema-builder/options/TableColumnOptions.d.ts +0 -123
- package/browser/lib/typeorm/schema-builder/options/TableExclusionOptions.d.ts +0 -14
- package/browser/lib/typeorm/schema-builder/options/TableForeignKeyOptions.d.ts +0 -45
- package/browser/lib/typeorm/schema-builder/options/TableIndexOptions.d.ts +0 -45
- package/browser/lib/typeorm/schema-builder/options/TableOptions.d.ts +0 -62
- package/browser/lib/typeorm/schema-builder/options/TableUniqueOptions.d.ts +0 -19
- package/browser/lib/typeorm/schema-builder/options/ViewOptions.d.ts +0 -27
- package/browser/lib/typeorm/schema-builder/table/Table.d.ts +0 -143
- package/browser/lib/typeorm/schema-builder/table/TableCheck.d.ts +0 -30
- package/browser/lib/typeorm/schema-builder/table/TableColumn.d.ts +0 -127
- package/browser/lib/typeorm/schema-builder/table/TableExclusion.d.ts +0 -26
- package/browser/lib/typeorm/schema-builder/table/TableForeignKey.d.ts +0 -58
- package/browser/lib/typeorm/schema-builder/table/TableIndex.d.ts +0 -57
- package/browser/lib/typeorm/schema-builder/table/TableUnique.d.ts +0 -31
- package/browser/lib/typeorm/schema-builder/util/TableUtils.d.ts +0 -7
- package/browser/lib/typeorm/schema-builder/util/ViewUtils.d.ts +0 -8
- package/browser/lib/typeorm/schema-builder/view/View.d.ts +0 -38
- package/browser/lib/typeorm/subscriber/Broadcaster.d.ts +0 -168
- package/browser/lib/typeorm/subscriber/BroadcasterResult.d.ts +0 -18
- package/browser/lib/typeorm/subscriber/EntitySubscriberInterface.d.ts +0 -93
- package/browser/lib/typeorm/subscriber/event/InsertEvent.d.ts +0 -32
- package/browser/lib/typeorm/subscriber/event/LoadEvent.d.ts +0 -32
- package/browser/lib/typeorm/subscriber/event/RecoverEvent.d.ts +0 -7
- package/browser/lib/typeorm/subscriber/event/RemoveEvent.d.ts +0 -41
- package/browser/lib/typeorm/subscriber/event/SoftRemoveEvent.d.ts +0 -7
- package/browser/lib/typeorm/subscriber/event/TransactionCommitEvent.d.ts +0 -23
- package/browser/lib/typeorm/subscriber/event/TransactionRollbackEvent.d.ts +0 -23
- package/browser/lib/typeorm/subscriber/event/TransactionStartEvent.d.ts +0 -23
- package/browser/lib/typeorm/subscriber/event/UpdateEvent.d.ts +0 -47
- package/browser/lib/typeorm/util/ApplyValueTransformers.d.ts +0 -6
- package/browser/lib/typeorm/util/DateUtils.d.ts +0 -59
- package/browser/lib/typeorm/util/DepGraph.d.ts +0 -65
- package/browser/lib/typeorm/util/DirectoryExportedClassesLoader.d.ts +0 -10
- package/browser/lib/typeorm/util/ImportUtils.d.ts +0 -2
- package/browser/lib/typeorm/util/InstanceChecker.d.ts +0 -60
- package/browser/lib/typeorm/util/ObjectUtils.d.ts +0 -38
- package/browser/lib/typeorm/util/OrmUtils.d.ts +0 -53
- package/browser/lib/typeorm/util/PathUtils.d.ts +0 -11
- package/browser/lib/typeorm/util/RandomGenerator.d.ts +0 -16
- package/browser/lib/typeorm/util/StringUtils.d.ts +0 -64
- package/browser/lib/typeorm/util/TreeRepositoryUtils.d.ts +0 -24
- package/browser/lib/typeorm/util/VersionUtils.d.ts +0 -5
- package/browser/lib/typeorm/util/escapeRegExp.d.ts +0 -2
- package/browser/public-api.d.ts +0 -2
- package/tmp-environment.json +0 -39
- package/websql/index.d.ts +0 -6
- package/websql/lib/index.d.ts +0 -2
- package/websql/lib/typeorm/cache/DbQueryResultCache.d.ts +0 -53
- package/websql/lib/typeorm/cache/QueryResultCache.d.ts +0 -40
- package/websql/lib/typeorm/cache/QueryResultCacheFactory.d.ts +0 -14
- package/websql/lib/typeorm/cache/QueryResultCacheOptions.d.ts +0 -27
- package/websql/lib/typeorm/cache/RedisQueryResultCache.d.ts +0 -66
- package/websql/lib/typeorm/common/DeepPartial.d.ts +0 -7
- package/websql/lib/typeorm/common/EntityTarget.d.ts +0 -10
- package/websql/lib/typeorm/common/MixedList.d.ts +0 -9
- package/websql/lib/typeorm/common/ObjectLiteral.d.ts +0 -7
- package/websql/lib/typeorm/common/ObjectType.d.ts +0 -7
- package/websql/lib/typeorm/common/RelationType.d.ts +0 -15
- package/websql/lib/typeorm/connection/Connection.d.ts +0 -11
- package/websql/lib/typeorm/connection/ConnectionManager.d.ts +0 -34
- package/websql/lib/typeorm/connection/ConnectionMetadataBuilder.d.ts +0 -25
- package/websql/lib/typeorm/connection/ConnectionOptions.d.ts +0 -10
- package/websql/lib/typeorm/connection/ConnectionOptionsReader.d.ts +0 -65
- package/websql/lib/typeorm/constants.d.ts +0 -2
- package/websql/lib/typeorm/container.d.ts +0 -40
- package/websql/lib/typeorm/data-source/BaseDataSourceOptions.d.ts +0 -172
- package/websql/lib/typeorm/data-source/DataSource.d.ts +0 -247
- package/websql/lib/typeorm/data-source/DataSourceOptions.d.ts +0 -9
- package/websql/lib/typeorm/data-source/index.d.ts +0 -3
- package/websql/lib/typeorm/decorator/Check.d.ts +0 -13
- package/websql/lib/typeorm/decorator/EntityRepository.d.ts +0 -10
- package/websql/lib/typeorm/decorator/Exclusion.d.ts +0 -13
- package/websql/lib/typeorm/decorator/Generated.d.ts +0 -11
- package/websql/lib/typeorm/decorator/Index.d.ts +0 -50
- package/websql/lib/typeorm/decorator/Unique.d.ts +0 -22
- package/websql/lib/typeorm/decorator/columns/Column.d.ts +0 -75
- package/websql/lib/typeorm/decorator/columns/CreateDateColumn.d.ts +0 -8
- package/websql/lib/typeorm/decorator/columns/DeleteDateColumn.d.ts +0 -7
- package/websql/lib/typeorm/decorator/columns/ObjectIdColumn.d.ts +0 -7
- package/websql/lib/typeorm/decorator/columns/PrimaryColumn.d.ts +0 -22
- package/websql/lib/typeorm/decorator/columns/PrimaryGeneratedColumn.d.ts +0 -25
- package/websql/lib/typeorm/decorator/columns/UpdateDateColumn.d.ts +0 -7
- package/websql/lib/typeorm/decorator/columns/VersionColumn.d.ts +0 -8
- package/websql/lib/typeorm/decorator/columns/ViewColumn.d.ts +0 -6
- package/websql/lib/typeorm/decorator/columns/VirtualColumn.d.ts +0 -11
- package/websql/lib/typeorm/decorator/entity/ChildEntity.d.ts +0 -5
- package/websql/lib/typeorm/decorator/entity/Entity.d.ts +0 -12
- package/websql/lib/typeorm/decorator/entity/TableInheritance.d.ts +0 -9
- package/websql/lib/typeorm/decorator/entity-view/ViewEntity.d.ts +0 -12
- package/websql/lib/typeorm/decorator/listeners/AfterInsert.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/AfterLoad.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/AfterRecover.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/AfterRemove.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/AfterSoftRemove.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/AfterUpdate.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/BeforeInsert.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/BeforeRecover.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/BeforeRemove.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/BeforeSoftRemove.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/BeforeUpdate.d.ts +0 -5
- package/websql/lib/typeorm/decorator/listeners/EventSubscriber.d.ts +0 -6
- package/websql/lib/typeorm/decorator/options/ColumnCommonOptions.d.ts +0 -58
- package/websql/lib/typeorm/decorator/options/ColumnEmbeddedOptions.d.ts +0 -17
- package/websql/lib/typeorm/decorator/options/ColumnEnumOptions.d.ts +0 -14
- package/websql/lib/typeorm/decorator/options/ColumnHstoreOptions.d.ts +0 -11
- package/websql/lib/typeorm/decorator/options/ColumnNumericOptions.d.ts +0 -25
- package/websql/lib/typeorm/decorator/options/ColumnOptions.d.ts +0 -159
- package/websql/lib/typeorm/decorator/options/ColumnWithLengthOptions.d.ts +0 -11
- package/websql/lib/typeorm/decorator/options/ColumnWithWidthOptions.d.ts +0 -20
- package/websql/lib/typeorm/decorator/options/EntityOptions.d.ts +0 -43
- package/websql/lib/typeorm/decorator/options/IndexOptions.d.ts +0 -53
- package/websql/lib/typeorm/decorator/options/JoinColumnOptions.d.ts +0 -18
- package/websql/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions.d.ts +0 -30
- package/websql/lib/typeorm/decorator/options/JoinTableOptions.d.ts +0 -30
- package/websql/lib/typeorm/decorator/options/PrimaryGeneratedColumnIdentityOptions.d.ts +0 -27
- package/websql/lib/typeorm/decorator/options/PrimaryGeneratedColumnNumericOptions.d.ts +0 -32
- package/websql/lib/typeorm/decorator/options/PrimaryGeneratedColumnUUIDOptions.d.ts +0 -18
- package/websql/lib/typeorm/decorator/options/RelationOptions.d.ts +0 -65
- package/websql/lib/typeorm/decorator/options/SpatialColumnOptions.d.ts +0 -16
- package/websql/lib/typeorm/decorator/options/UniqueOptions.d.ts +0 -11
- package/websql/lib/typeorm/decorator/options/ValueTransformer.d.ts +0 -14
- package/websql/lib/typeorm/decorator/options/ViewColumnOptions.d.ts +0 -16
- package/websql/lib/typeorm/decorator/options/ViewEntityOptions.d.ts +0 -40
- package/websql/lib/typeorm/decorator/options/VirtualColumnOptions.d.ts +0 -28
- package/websql/lib/typeorm/decorator/relations/JoinColumn.d.ts +0 -20
- package/websql/lib/typeorm/decorator/relations/JoinTable.d.ts +0 -18
- package/websql/lib/typeorm/decorator/relations/ManyToMany.d.ts +0 -15
- package/websql/lib/typeorm/decorator/relations/ManyToOne.d.ts +0 -15
- package/websql/lib/typeorm/decorator/relations/OneToMany.d.ts +0 -9
- package/websql/lib/typeorm/decorator/relations/OneToOne.d.ts +0 -13
- package/websql/lib/typeorm/decorator/relations/RelationCount.d.ts +0 -8
- package/websql/lib/typeorm/decorator/relations/RelationId.d.ts +0 -8
- package/websql/lib/typeorm/decorator/tree/Tree.d.ts +0 -10
- package/websql/lib/typeorm/decorator/tree/TreeChildren.d.ts +0 -8
- package/websql/lib/typeorm/decorator/tree/TreeLevelColumn.d.ts +0 -5
- package/websql/lib/typeorm/decorator/tree/TreeParent.d.ts +0 -9
- package/websql/lib/typeorm/driver/Driver.d.ts +0 -208
- package/websql/lib/typeorm/driver/DriverFactory.d.ts +0 -12
- package/websql/lib/typeorm/driver/DriverUtils.d.ts +0 -62
- package/websql/lib/typeorm/driver/Query.d.ts +0 -10
- package/websql/lib/typeorm/driver/SqlInMemory.d.ts +0 -9
- package/websql/lib/typeorm/driver/cordova/CordovaConnectionOptions.d.ts +0 -25
- package/websql/lib/typeorm/driver/cordova/CordovaDriver.d.ts +0 -26
- package/websql/lib/typeorm/driver/cordova/CordovaQueryRunner.d.ts +0 -81
- package/websql/lib/typeorm/driver/mongodb/typings.d.ts +0 -46
- package/websql/lib/typeorm/driver/nativescript/NativescriptConnectionOptions.d.ts +0 -46
- package/websql/lib/typeorm/driver/nativescript/NativescriptDriver.d.ts +0 -45
- package/websql/lib/typeorm/driver/nativescript/NativescriptQueryRunner.d.ts +0 -30
- package/websql/lib/typeorm/driver/react-native/ReactNativeConnectionOptions.d.ts +0 -25
- package/websql/lib/typeorm/driver/react-native/ReactNativeDriver.d.ts +0 -26
- package/websql/lib/typeorm/driver/react-native/ReactNativeQueryRunner.d.ts +0 -30
- package/websql/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.d.ts +0 -238
- package/websql/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.d.ts +0 -301
- package/websql/lib/typeorm/driver/sqljs/SqljsConnectionOptions.d.ts +0 -47
- package/websql/lib/typeorm/driver/sqljs/SqljsDriver.d.ts +0 -68
- package/websql/lib/typeorm/driver/sqljs/SqljsQueryRunner.d.ts +0 -36
- package/websql/lib/typeorm/driver/types/ColumnTypes.d.ts +0 -26
- package/websql/lib/typeorm/driver/types/CteCapabilities.d.ts +0 -19
- package/websql/lib/typeorm/driver/types/DataTypeDefaults.d.ts +0 -9
- package/websql/lib/typeorm/driver/types/DatabaseType.d.ts +0 -5
- package/websql/lib/typeorm/driver/types/IsolationLevel.d.ts +0 -2
- package/websql/lib/typeorm/driver/types/MappedColumnTypes.d.ts +0 -113
- package/websql/lib/typeorm/driver/types/MetadataTableType.d.ts +0 -6
- package/websql/lib/typeorm/driver/types/ReplicationMode.d.ts +0 -2
- package/websql/lib/typeorm/driver/types/UpsertType.d.ts +0 -2
- package/websql/lib/typeorm/entity-manager/EntityManager.d.ts +0 -353
- package/websql/lib/typeorm/entity-manager/EntityManagerFactory.d.ts +0 -13
- package/websql/lib/typeorm/entity-manager/SqljsEntityManager.d.ts +0 -27
- package/websql/lib/typeorm/entity-schema/EntitySchema.d.ts +0 -10
- package/websql/lib/typeorm/entity-schema/EntitySchemaCheckOptions.d.ts +0 -11
- package/websql/lib/typeorm/entity-schema/EntitySchemaColumnOptions.d.ts +0 -175
- package/websql/lib/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.d.ts +0 -19
- package/websql/lib/typeorm/entity-schema/EntitySchemaEmbeddedError.d.ts +0 -7
- package/websql/lib/typeorm/entity-schema/EntitySchemaExclusionOptions.d.ts +0 -11
- package/websql/lib/typeorm/entity-schema/EntitySchemaIndexOptions.d.ts +0 -54
- package/websql/lib/typeorm/entity-schema/EntitySchemaOptions.d.ts +0 -104
- package/websql/lib/typeorm/entity-schema/EntitySchemaRelationIdOptions.d.ts +0 -16
- package/websql/lib/typeorm/entity-schema/EntitySchemaRelationOptions.d.ts +0 -96
- package/websql/lib/typeorm/entity-schema/EntitySchemaTransformer.d.ts +0 -14
- package/websql/lib/typeorm/entity-schema/EntitySchemaUniqueOptions.d.ts +0 -18
- package/websql/lib/typeorm/error/AlreadyHasActiveConnectionError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotAttachTreeChildrenEntityError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotConnectAlreadyConnectedError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotCreateEntityIdMapError.d.ts +0 -10
- package/websql/lib/typeorm/error/CannotDetermineEntityError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotExecuteNotConnectedError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotGetEntityManagerNotConnectedError.d.ts +0 -8
- package/websql/lib/typeorm/error/CannotReflectMethodParameterTypeError.d.ts +0 -9
- package/websql/lib/typeorm/error/CircularRelationsError.d.ts +0 -8
- package/websql/lib/typeorm/error/ColumnTypeUndefinedError.d.ts +0 -9
- package/websql/lib/typeorm/error/ConnectionIsNotSetError.d.ts +0 -8
- package/websql/lib/typeorm/error/ConnectionNotFoundError.d.ts +0 -8
- package/websql/lib/typeorm/error/CustomRepositoryCannotInheritRepositoryError.d.ts +0 -8
- package/websql/lib/typeorm/error/CustomRepositoryDoesNotHaveEntityError.d.ts +0 -8
- package/websql/lib/typeorm/error/CustomRepositoryNotFoundError.d.ts +0 -8
- package/websql/lib/typeorm/error/DataTypeNotSupportedError.d.ts +0 -8
- package/websql/lib/typeorm/error/DriverOptionNotSetError.d.ts +0 -8
- package/websql/lib/typeorm/error/DriverPackageNotInstalledError.d.ts +0 -8
- package/websql/lib/typeorm/error/EntityMetadataNotFoundError.d.ts +0 -7
- package/websql/lib/typeorm/error/EntityNotFoundError.d.ts +0 -11
- package/websql/lib/typeorm/error/EntityPropertyNotFoundError.d.ts +0 -9
- package/websql/lib/typeorm/error/FindRelationsNotFoundError.d.ts +0 -8
- package/websql/lib/typeorm/error/InitializedRelationError.d.ts +0 -12
- package/websql/lib/typeorm/error/InsertValuesMissingError.d.ts +0 -8
- package/websql/lib/typeorm/error/LimitOnUpdateNotSupportedError.d.ts +0 -8
- package/websql/lib/typeorm/error/LockNotSupportedOnGivenDriverError.d.ts +0 -8
- package/websql/lib/typeorm/error/MetadataAlreadyExistsError.d.ts +0 -5
- package/websql/lib/typeorm/error/MetadataWithSuchNameAlreadyExistsError.d.ts +0 -5
- package/websql/lib/typeorm/error/MissingDeleteDateColumnError.d.ts +0 -6
- package/websql/lib/typeorm/error/MissingDriverError.d.ts +0 -8
- package/websql/lib/typeorm/error/MissingJoinColumnError.d.ts +0 -7
- package/websql/lib/typeorm/error/MissingJoinTableError.d.ts +0 -7
- package/websql/lib/typeorm/error/MissingPrimaryColumnError.d.ts +0 -6
- package/websql/lib/typeorm/error/MustBeEntityError.d.ts +0 -8
- package/websql/lib/typeorm/error/NamingStrategyNotFoundError.d.ts +0 -8
- package/websql/lib/typeorm/error/NestedSetMultipleRootError.d.ts +0 -5
- package/websql/lib/typeorm/error/NoConnectionForRepositoryError.d.ts +0 -8
- package/websql/lib/typeorm/error/NoConnectionOptionError.d.ts +0 -8
- package/websql/lib/typeorm/error/NoNeedToReleaseEntityManagerError.d.ts +0 -8
- package/websql/lib/typeorm/error/NoVersionOrUpdateDateColumnError.d.ts +0 -8
- package/websql/lib/typeorm/error/OffsetWithoutLimitNotSupportedError.d.ts +0 -8
- package/websql/lib/typeorm/error/OptimisticLockCanNotBeUsedError.d.ts +0 -8
- package/websql/lib/typeorm/error/OptimisticLockVersionMismatchError.d.ts +0 -8
- package/websql/lib/typeorm/error/PersistedEntityNotFoundError.d.ts +0 -8
- package/websql/lib/typeorm/error/PessimisticLockTransactionRequiredError.d.ts +0 -8
- package/websql/lib/typeorm/error/PrimaryColumnCannotBeNullableError.d.ts +0 -5
- package/websql/lib/typeorm/error/QueryFailedError.d.ts +0 -11
- package/websql/lib/typeorm/error/QueryRunnerAlreadyReleasedError.d.ts +0 -5
- package/websql/lib/typeorm/error/QueryRunnerProviderAlreadyReleasedError.d.ts +0 -8
- package/websql/lib/typeorm/error/RepositoryNotTreeError.d.ts +0 -9
- package/websql/lib/typeorm/error/ReturningStatementNotSupportedError.d.ts +0 -9
- package/websql/lib/typeorm/error/SubjectRemovedAndUpdatedError.d.ts +0 -9
- package/websql/lib/typeorm/error/SubjectWithoutIdentifierError.d.ts +0 -11
- package/websql/lib/typeorm/error/TransactionAlreadyStartedError.d.ts +0 -8
- package/websql/lib/typeorm/error/TransactionNotStartedError.d.ts +0 -8
- package/websql/lib/typeorm/error/TreeRepositoryNotSupportedError.d.ts +0 -6
- package/websql/lib/typeorm/error/TypeORMError.d.ts +0 -5
- package/websql/lib/typeorm/error/UpdateValuesMissingError.d.ts +0 -5
- package/websql/lib/typeorm/error/UsingJoinColumnIsNotAllowedError.d.ts +0 -7
- package/websql/lib/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.d.ts +0 -7
- package/websql/lib/typeorm/error/UsingJoinTableIsNotAllowedError.d.ts +0 -7
- package/websql/lib/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.d.ts +0 -7
- package/websql/lib/typeorm/error/index.d.ts +0 -62
- package/websql/lib/typeorm/find-options/EqualOperator.d.ts +0 -6
- package/websql/lib/typeorm/find-options/FindManyOptions.d.ts +0 -15
- package/websql/lib/typeorm/find-options/FindOneOptions.d.ts +0 -89
- package/websql/lib/typeorm/find-options/FindOperator.d.ts +0 -66
- package/websql/lib/typeorm/find-options/FindOperatorType.d.ts +0 -5
- package/websql/lib/typeorm/find-options/FindOptionsOrder.d.ts +0 -19
- package/websql/lib/typeorm/find-options/FindOptionsRelations.d.ts +0 -19
- package/websql/lib/typeorm/find-options/FindOptionsSelect.d.ts +0 -18
- package/websql/lib/typeorm/find-options/FindOptionsUtils.d.ts +0 -191
- package/websql/lib/typeorm/find-options/FindOptionsWhere.d.ts +0 -14
- package/websql/lib/typeorm/find-options/FindTreeOptions.d.ts +0 -14
- package/websql/lib/typeorm/find-options/JoinOptions.d.ts +0 -77
- package/websql/lib/typeorm/find-options/OrderByCondition.d.ts +0 -18
- package/websql/lib/typeorm/find-options/operator/Any.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/ArrayContainedBy.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/ArrayContains.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/ArrayOverlap.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/Between.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/Equal.d.ts +0 -12
- package/websql/lib/typeorm/find-options/operator/ILike.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/In.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/IsNull.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/LessThan.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/LessThanOrEqual.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/Like.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/MoreThan.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/MoreThanOrEqual.d.ts +0 -7
- package/websql/lib/typeorm/find-options/operator/Not.d.ts +0 -8
- package/websql/lib/typeorm/find-options/operator/Raw.d.ts +0 -19
- package/websql/lib/typeorm/globals.d.ts +0 -104
- package/websql/lib/typeorm/index.d.ts +0 -168
- package/websql/lib/typeorm/logger/AdvancedConsoleLogger.d.ts +0 -42
- package/websql/lib/typeorm/logger/DebugLogger.d.ts +0 -41
- package/websql/lib/typeorm/logger/Logger.d.ts +0 -32
- package/websql/lib/typeorm/logger/LoggerFactory.d.ts +0 -12
- package/websql/lib/typeorm/logger/LoggerOptions.d.ts +0 -14
- package/websql/lib/typeorm/logger/SimpleConsoleLogger.d.ts +0 -42
- package/websql/lib/typeorm/metadata/CheckMetadata.d.ts +0 -40
- package/websql/lib/typeorm/metadata/ColumnMetadata.d.ts +0 -316
- package/websql/lib/typeorm/metadata/EmbeddedMetadata.d.ts +0 -166
- package/websql/lib/typeorm/metadata/EntityListenerMetadata.d.ts +0 -49
- package/websql/lib/typeorm/metadata/EntityMetadata.d.ts +0 -562
- package/websql/lib/typeorm/metadata/ExclusionMetadata.d.ts +0 -40
- package/websql/lib/typeorm/metadata/ForeignKeyMetadata.d.ts +0 -78
- package/websql/lib/typeorm/metadata/IndexMetadata.d.ts +0 -112
- package/websql/lib/typeorm/metadata/RelationCountMetadata.d.ts +0 -47
- package/websql/lib/typeorm/metadata/RelationIdMetadata.d.ts +0 -54
- package/websql/lib/typeorm/metadata/RelationMetadata.d.ts +0 -291
- package/websql/lib/typeorm/metadata/UniqueMetadata.d.ts +0 -66
- package/websql/lib/typeorm/metadata/types/ClosureTreeOptions.d.ts +0 -11
- package/websql/lib/typeorm/metadata/types/DeferrableType.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/EventListenerTypes.d.ts +0 -21
- package/websql/lib/typeorm/metadata/types/OnDeleteType.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/OnUpdateType.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/PropertyTypeInFunction.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/RelationTypeInFunction.d.ts +0 -6
- package/websql/lib/typeorm/metadata/types/RelationTypes.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/TableTypes.d.ts +0 -5
- package/websql/lib/typeorm/metadata/types/TreeTypes.d.ts +0 -6
- package/websql/lib/typeorm/metadata-args/CheckMetadataArgs.d.ts +0 -18
- package/websql/lib/typeorm/metadata-args/ColumnMetadataArgs.d.ts +0 -26
- package/websql/lib/typeorm/metadata-args/DiscriminatorValueMetadataArgs.d.ts +0 -14
- package/websql/lib/typeorm/metadata-args/EmbeddedMetadataArgs.d.ts +0 -27
- package/websql/lib/typeorm/metadata-args/EntityListenerMetadataArgs.d.ts +0 -19
- package/websql/lib/typeorm/metadata-args/EntityRepositoryMetadataArgs.d.ts +0 -15
- package/websql/lib/typeorm/metadata-args/EntitySubscriberMetadataArgs.d.ts +0 -10
- package/websql/lib/typeorm/metadata-args/ExclusionMetadataArgs.d.ts +0 -18
- package/websql/lib/typeorm/metadata-args/GeneratedMetadataArgs.d.ts +0 -18
- package/websql/lib/typeorm/metadata-args/IndexMetadataArgs.d.ts +0 -71
- package/websql/lib/typeorm/metadata-args/InheritanceMetadataArgs.d.ts +0 -19
- package/websql/lib/typeorm/metadata-args/JoinColumnMetadataArgs.d.ts +0 -27
- package/websql/lib/typeorm/metadata-args/JoinTableMetadataArgs.d.ts +0 -38
- package/websql/lib/typeorm/metadata-args/MetadataArgsStorage.d.ts +0 -109
- package/websql/lib/typeorm/metadata-args/NamingStrategyMetadataArgs.d.ts +0 -14
- package/websql/lib/typeorm/metadata-args/RelationCountMetadataArgs.d.ts +0 -27
- package/websql/lib/typeorm/metadata-args/RelationIdMetadataArgs.d.ts +0 -27
- package/websql/lib/typeorm/metadata-args/RelationMetadataArgs.d.ts +0 -56
- package/websql/lib/typeorm/metadata-args/TableMetadataArgs.d.ts +0 -62
- package/websql/lib/typeorm/metadata-args/TransactionEntityMetadataArgs.d.ts +0 -18
- package/websql/lib/typeorm/metadata-args/TransactionRepositoryMetadataArgs.d.ts +0 -26
- package/websql/lib/typeorm/metadata-args/TreeMetadataArgs.d.ts +0 -20
- package/websql/lib/typeorm/metadata-args/UniqueMetadataArgs.d.ts +0 -25
- package/websql/lib/typeorm/metadata-args/types/ColumnMode.d.ts +0 -8
- package/websql/lib/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.d.ts +0 -15
- package/websql/lib/typeorm/metadata-builder/EntityMetadataBuilder.d.ts +0 -58
- package/websql/lib/typeorm/metadata-builder/EntityMetadataValidator.d.ts +0 -24
- package/websql/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder.d.ts +0 -27
- package/websql/lib/typeorm/metadata-builder/MetadataUtils.d.ts +0 -24
- package/websql/lib/typeorm/metadata-builder/RelationJoinColumnBuilder.d.ts +0 -57
- package/websql/lib/typeorm/migration/Migration.d.ts +0 -25
- package/websql/lib/typeorm/migration/MigrationExecutor.d.ts +0 -100
- package/websql/lib/typeorm/migration/MigrationInterface.d.ts +0 -19
- package/websql/lib/typeorm/naming-strategy/DefaultNamingStrategy.d.ts +0 -50
- package/websql/lib/typeorm/naming-strategy/NamingStrategyInterface.d.ts +0 -117
- package/websql/lib/typeorm/persistence/EntityPersistExecutor.d.ts +0 -22
- package/websql/lib/typeorm/persistence/Subject.d.ts +0 -156
- package/websql/lib/typeorm/persistence/SubjectChangeMap.d.ts +0 -24
- package/websql/lib/typeorm/persistence/SubjectChangedColumnsComputer.d.ts +0 -19
- package/websql/lib/typeorm/persistence/SubjectDatabaseEntityLoader.d.ts +0 -36
- package/websql/lib/typeorm/persistence/SubjectExecutor.d.ts +0 -119
- package/websql/lib/typeorm/persistence/SubjectTopoligicalSorter.d.ts +0 -46
- package/websql/lib/typeorm/persistence/subject-builder/CascadesSubjectBuilder.d.ts +0 -20
- package/websql/lib/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.d.ts +0 -35
- package/websql/lib/typeorm/persistence/subject-builder/OneToManySubjectBuilder.d.ts +0 -28
- package/websql/lib/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.d.ts +0 -28
- package/websql/lib/typeorm/persistence/tree/ClosureSubjectExecutor.d.ts +0 -27
- package/websql/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor.d.ts +0 -19
- package/websql/lib/typeorm/persistence/tree/NestedSetSubjectExecutor.d.ts +0 -39
- package/websql/lib/typeorm/platform/PlatformTools.d.ts +0 -65
- package/websql/lib/typeorm/query-builder/Alias.d.ts +0 -23
- package/websql/lib/typeorm/query-builder/Brackets.d.ts +0 -17
- package/websql/lib/typeorm/query-builder/DeleteQueryBuilder.d.ts +0 -92
- package/websql/lib/typeorm/query-builder/InsertOrUpdateOptions.d.ts +0 -4
- package/websql/lib/typeorm/query-builder/InsertQueryBuilder.d.ts +0 -118
- package/websql/lib/typeorm/query-builder/JoinAttribute.d.ts +0 -84
- package/websql/lib/typeorm/query-builder/NotBrackets.d.ts +0 -9
- package/websql/lib/typeorm/query-builder/QueryBuilder.d.ts +0 -268
- package/websql/lib/typeorm/query-builder/QueryBuilderCte.d.ts +0 -18
- package/websql/lib/typeorm/query-builder/QueryBuilderUtils.d.ts +0 -11
- package/websql/lib/typeorm/query-builder/QueryExpressionMap.d.ts +0 -306
- package/websql/lib/typeorm/query-builder/QueryPartialEntity.d.ts +0 -16
- package/websql/lib/typeorm/query-builder/RelationIdLoader.d.ts +0 -71
- package/websql/lib/typeorm/query-builder/RelationLoader.d.ts +0 -60
- package/websql/lib/typeorm/query-builder/RelationQueryBuilder.d.ts +0 -70
- package/websql/lib/typeorm/query-builder/RelationRemover.d.ts +0 -17
- package/websql/lib/typeorm/query-builder/RelationUpdater.d.ts +0 -17
- package/websql/lib/typeorm/query-builder/ReturningResultsEntityUpdator.d.ts +0 -31
- package/websql/lib/typeorm/query-builder/SelectQuery.d.ts +0 -6
- package/websql/lib/typeorm/query-builder/SelectQueryBuilder.d.ts +0 -665
- package/websql/lib/typeorm/query-builder/SelectQueryBuilderOption.d.ts +0 -2
- package/websql/lib/typeorm/query-builder/SoftDeleteQueryBuilder.d.ts +0 -139
- package/websql/lib/typeorm/query-builder/UpdateQueryBuilder.d.ts +0 -144
- package/websql/lib/typeorm/query-builder/WhereClause.d.ts +0 -17
- package/websql/lib/typeorm/query-builder/WhereExpressionBuilder.d.ts +0 -127
- package/websql/lib/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts +0 -54
- package/websql/lib/typeorm/query-builder/relation-count/RelationCountLoadResult.d.ts +0 -9
- package/websql/lib/typeorm/query-builder/relation-count/RelationCountLoader.d.ts +0 -12
- package/websql/lib/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.d.ts +0 -8
- package/websql/lib/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts +0 -65
- package/websql/lib/typeorm/query-builder/relation-id/RelationIdLoadResult.d.ts +0 -6
- package/websql/lib/typeorm/query-builder/relation-id/RelationIdLoader.d.ts +0 -12
- package/websql/lib/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.d.ts +0 -8
- package/websql/lib/typeorm/query-builder/result/DeleteResult.d.ts +0 -17
- package/websql/lib/typeorm/query-builder/result/InsertResult.d.ts +0 -23
- package/websql/lib/typeorm/query-builder/result/UpdateResult.d.ts +0 -27
- package/websql/lib/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.d.ts +0 -13
- package/websql/lib/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.d.ts +0 -15
- package/websql/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.d.ts +0 -56
- package/websql/lib/typeorm/query-runner/BaseQueryRunner.d.ts +0 -204
- package/websql/lib/typeorm/query-runner/QueryResult.d.ts +0 -18
- package/websql/lib/typeorm/query-runner/QueryRunner.d.ts +0 -359
- package/websql/lib/typeorm/relation-path.d.ts +0 -7
- package/websql/lib/typeorm/repository/AbstractRepository.d.ts +0 -52
- package/websql/lib/typeorm/repository/BaseEntity.d.ts +0 -298
- package/websql/lib/typeorm/repository/FindTreesOptions.d.ts +0 -10
- package/websql/lib/typeorm/repository/RemoveOptions.d.ts +0 -28
- package/websql/lib/typeorm/repository/Repository.d.ts +0 -292
- package/websql/lib/typeorm/repository/SaveOptions.d.ts +0 -36
- package/websql/lib/typeorm/repository/TreeRepository.d.ts +0 -56
- package/websql/lib/typeorm/repository/UpsertOptions.d.ts +0 -11
- package/websql/lib/typeorm/schema-builder/RdbmsSchemaBuilder.d.ts +0 -145
- package/websql/lib/typeorm/schema-builder/SchemaBuilder.d.ts +0 -15
- package/websql/lib/typeorm/schema-builder/options/TableCheckOptions.d.ts +0 -18
- package/websql/lib/typeorm/schema-builder/options/TableColumnOptions.d.ts +0 -123
- package/websql/lib/typeorm/schema-builder/options/TableExclusionOptions.d.ts +0 -14
- package/websql/lib/typeorm/schema-builder/options/TableForeignKeyOptions.d.ts +0 -45
- package/websql/lib/typeorm/schema-builder/options/TableIndexOptions.d.ts +0 -45
- package/websql/lib/typeorm/schema-builder/options/TableOptions.d.ts +0 -62
- package/websql/lib/typeorm/schema-builder/options/TableUniqueOptions.d.ts +0 -19
- package/websql/lib/typeorm/schema-builder/options/ViewOptions.d.ts +0 -27
- package/websql/lib/typeorm/schema-builder/table/Table.d.ts +0 -143
- package/websql/lib/typeorm/schema-builder/table/TableCheck.d.ts +0 -30
- package/websql/lib/typeorm/schema-builder/table/TableColumn.d.ts +0 -127
- package/websql/lib/typeorm/schema-builder/table/TableExclusion.d.ts +0 -26
- package/websql/lib/typeorm/schema-builder/table/TableForeignKey.d.ts +0 -58
- package/websql/lib/typeorm/schema-builder/table/TableIndex.d.ts +0 -57
- package/websql/lib/typeorm/schema-builder/table/TableUnique.d.ts +0 -31
- package/websql/lib/typeorm/schema-builder/util/TableUtils.d.ts +0 -7
- package/websql/lib/typeorm/schema-builder/util/ViewUtils.d.ts +0 -8
- package/websql/lib/typeorm/schema-builder/view/View.d.ts +0 -38
- package/websql/lib/typeorm/subscriber/Broadcaster.d.ts +0 -168
- package/websql/lib/typeorm/subscriber/BroadcasterResult.d.ts +0 -18
- package/websql/lib/typeorm/subscriber/EntitySubscriberInterface.d.ts +0 -93
- package/websql/lib/typeorm/subscriber/event/InsertEvent.d.ts +0 -32
- package/websql/lib/typeorm/subscriber/event/LoadEvent.d.ts +0 -32
- package/websql/lib/typeorm/subscriber/event/RecoverEvent.d.ts +0 -7
- package/websql/lib/typeorm/subscriber/event/RemoveEvent.d.ts +0 -41
- package/websql/lib/typeorm/subscriber/event/SoftRemoveEvent.d.ts +0 -7
- package/websql/lib/typeorm/subscriber/event/TransactionCommitEvent.d.ts +0 -23
- package/websql/lib/typeorm/subscriber/event/TransactionRollbackEvent.d.ts +0 -23
- package/websql/lib/typeorm/subscriber/event/TransactionStartEvent.d.ts +0 -23
- package/websql/lib/typeorm/subscriber/event/UpdateEvent.d.ts +0 -47
- package/websql/lib/typeorm/util/ApplyValueTransformers.d.ts +0 -6
- package/websql/lib/typeorm/util/DateUtils.d.ts +0 -59
- package/websql/lib/typeorm/util/DepGraph.d.ts +0 -65
- package/websql/lib/typeorm/util/DirectoryExportedClassesLoader.d.ts +0 -10
- package/websql/lib/typeorm/util/ImportUtils.d.ts +0 -2
- package/websql/lib/typeorm/util/InstanceChecker.d.ts +0 -60
- package/websql/lib/typeorm/util/ObjectUtils.d.ts +0 -38
- package/websql/lib/typeorm/util/OrmUtils.d.ts +0 -53
- package/websql/lib/typeorm/util/PathUtils.d.ts +0 -11
- package/websql/lib/typeorm/util/RandomGenerator.d.ts +0 -16
- package/websql/lib/typeorm/util/StringUtils.d.ts +0 -64
- package/websql/lib/typeorm/util/TreeRepositoryUtils.d.ts +0 -24
- package/websql/lib/typeorm/util/VersionUtils.d.ts +0 -5
- package/websql/lib/typeorm/util/escapeRegExp.d.ts +0 -2
- package/websql/public-api.d.ts +0 -2
|
@@ -1,665 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ObjectLiteral } from "../common/ObjectLiteral";
|
|
3
|
-
import { QueryBuilder } from "./QueryBuilder";
|
|
4
|
-
import { SelectQuery } from "./SelectQuery";
|
|
5
|
-
import { EntityMetadata } from "../metadata/EntityMetadata";
|
|
6
|
-
import { OrderByCondition } from "../find-options/OrderByCondition";
|
|
7
|
-
import { QueryExpressionMap } from "./QueryExpressionMap";
|
|
8
|
-
import { EntityTarget } from "../common/EntityTarget";
|
|
9
|
-
import { QueryRunner } from "../query-runner/QueryRunner";
|
|
10
|
-
import { WhereExpressionBuilder } from "./WhereExpressionBuilder";
|
|
11
|
-
import { Brackets } from "./Brackets";
|
|
12
|
-
import { SelectQueryBuilderOption } from "./SelectQueryBuilderOption";
|
|
13
|
-
import { FindManyOptions } from "../find-options/FindManyOptions";
|
|
14
|
-
import { FindOptionsSelect } from "../find-options/FindOptionsSelect";
|
|
15
|
-
import { RelationMetadata } from "../metadata/RelationMetadata";
|
|
16
|
-
import { FindOptionsOrder } from "../find-options/FindOptionsOrder";
|
|
17
|
-
import { FindOptionsWhere } from "../find-options/FindOptionsWhere";
|
|
18
|
-
import { FindOptionsRelations } from "../find-options/FindOptionsRelations";
|
|
19
|
-
import { RelationPath } from "../relation-path";
|
|
20
|
-
/**
|
|
21
|
-
* Allows to build complex sql queries in a fashion way and execute those queries.
|
|
22
|
-
*/
|
|
23
|
-
export declare class SelectQueryBuilder<Entity extends ObjectLiteral> extends QueryBuilder<Entity> implements WhereExpressionBuilder {
|
|
24
|
-
readonly "@instanceof": symbol;
|
|
25
|
-
protected findOptions: FindManyOptions;
|
|
26
|
-
protected selects: string[];
|
|
27
|
-
protected joins: {
|
|
28
|
-
type: "inner" | "left";
|
|
29
|
-
alias: string;
|
|
30
|
-
parentAlias: string;
|
|
31
|
-
relationMetadata: RelationMetadata;
|
|
32
|
-
select: boolean;
|
|
33
|
-
selection: FindOptionsSelect<any> | undefined;
|
|
34
|
-
}[];
|
|
35
|
-
protected conditions: string;
|
|
36
|
-
protected orderBys: {
|
|
37
|
-
alias: string;
|
|
38
|
-
direction: "ASC" | "DESC";
|
|
39
|
-
nulls?: "NULLS FIRST" | "NULLS LAST";
|
|
40
|
-
}[];
|
|
41
|
-
protected relationMetadatas: RelationMetadata[];
|
|
42
|
-
/**
|
|
43
|
-
* Gets generated SQL query without parameters being replaced.
|
|
44
|
-
*/
|
|
45
|
-
getQuery(): string;
|
|
46
|
-
setFindOptions(findOptions: FindManyOptions<Entity>): this;
|
|
47
|
-
/**
|
|
48
|
-
* Creates a subquery - query that can be used inside other queries.
|
|
49
|
-
*/
|
|
50
|
-
subQuery(): SelectQueryBuilder<any>;
|
|
51
|
-
/**
|
|
52
|
-
* Creates SELECT query.
|
|
53
|
-
* Replaces all previous selections if they exist.
|
|
54
|
-
*/
|
|
55
|
-
select(): this;
|
|
56
|
-
/**
|
|
57
|
-
* Creates SELECT query.
|
|
58
|
-
* Replaces all previous selections if they exist.
|
|
59
|
-
*/
|
|
60
|
-
select(selection: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, selectionAliasName?: string): this;
|
|
61
|
-
/**
|
|
62
|
-
* Creates SELECT query and selects given data.
|
|
63
|
-
* Replaces all previous selections if they exist.
|
|
64
|
-
*/
|
|
65
|
-
select(selection: string, selectionAliasName?: string): this;
|
|
66
|
-
/**
|
|
67
|
-
* Creates SELECT query and selects given data.
|
|
68
|
-
* Replaces all previous selections if they exist.
|
|
69
|
-
*/
|
|
70
|
-
select(selection: string[]): this;
|
|
71
|
-
/**
|
|
72
|
-
* Adds new selection to the SELECT query.
|
|
73
|
-
*/
|
|
74
|
-
addSelect(selection: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, selectionAliasName?: string): this;
|
|
75
|
-
/**
|
|
76
|
-
* Adds new selection to the SELECT query.
|
|
77
|
-
*/
|
|
78
|
-
addSelect(selection: string, selectionAliasName?: string): this;
|
|
79
|
-
/**
|
|
80
|
-
* Adds new selection to the SELECT query.
|
|
81
|
-
*/
|
|
82
|
-
addSelect(selection: string[]): this;
|
|
83
|
-
/**
|
|
84
|
-
* Set max execution time.
|
|
85
|
-
* @param milliseconds
|
|
86
|
-
*/
|
|
87
|
-
maxExecutionTime(milliseconds: number): this;
|
|
88
|
-
/**
|
|
89
|
-
* Sets whether the selection is DISTINCT.
|
|
90
|
-
*/
|
|
91
|
-
distinct(distinct?: boolean): this;
|
|
92
|
-
/**
|
|
93
|
-
* Sets the distinct on clause for Postgres.
|
|
94
|
-
*/
|
|
95
|
-
distinctOn(distinctOn: string[]): this;
|
|
96
|
-
/**
|
|
97
|
-
* Specifies FROM which entity's table select/update/delete will be executed.
|
|
98
|
-
* Also sets a main string alias of the selection data.
|
|
99
|
-
* Removes all previously set from-s.
|
|
100
|
-
*/
|
|
101
|
-
from<T extends ObjectLiteral>(entityTarget: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, aliasName: string): SelectQueryBuilder<T>;
|
|
102
|
-
/**
|
|
103
|
-
* Specifies FROM which entity's table select/update/delete will be executed.
|
|
104
|
-
* Also sets a main string alias of the selection data.
|
|
105
|
-
* Removes all previously set from-s.
|
|
106
|
-
*/
|
|
107
|
-
from<T extends ObjectLiteral>(entityTarget: EntityTarget<T>, aliasName: string): SelectQueryBuilder<T>;
|
|
108
|
-
/**
|
|
109
|
-
* Specifies FROM which entity's table select/update/delete will be executed.
|
|
110
|
-
* Also sets a main string alias of the selection data.
|
|
111
|
-
*/
|
|
112
|
-
addFrom<T extends ObjectLiteral>(entityTarget: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, aliasName: string): SelectQueryBuilder<T>;
|
|
113
|
-
/**
|
|
114
|
-
* Specifies FROM which entity's table select/update/delete will be executed.
|
|
115
|
-
* Also sets a main string alias of the selection data.
|
|
116
|
-
*/
|
|
117
|
-
addFrom<T extends ObjectLiteral>(entityTarget: EntityTarget<T>, aliasName: string): SelectQueryBuilder<T>;
|
|
118
|
-
/**
|
|
119
|
-
* INNER JOINs (without selection) given subquery.
|
|
120
|
-
* You also need to specify an alias of the joined data.
|
|
121
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
122
|
-
*/
|
|
123
|
-
innerJoin(subQueryFactory: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
124
|
-
/**
|
|
125
|
-
* INNER JOINs (without selection) entity's property.
|
|
126
|
-
* Given entity property should be a relation.
|
|
127
|
-
* You also need to specify an alias of the joined data.
|
|
128
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
129
|
-
*/
|
|
130
|
-
innerJoin(property: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
131
|
-
/**
|
|
132
|
-
* INNER JOINs (without selection) given entity's table.
|
|
133
|
-
* You also need to specify an alias of the joined data.
|
|
134
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
135
|
-
*/
|
|
136
|
-
innerJoin(entity: Function | string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
137
|
-
/**
|
|
138
|
-
* INNER JOINs (without selection) given table.
|
|
139
|
-
* You also need to specify an alias of the joined data.
|
|
140
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
141
|
-
*/
|
|
142
|
-
innerJoin(tableName: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
143
|
-
/**
|
|
144
|
-
* LEFT JOINs (without selection) given subquery.
|
|
145
|
-
* You also need to specify an alias of the joined data.
|
|
146
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
147
|
-
*/
|
|
148
|
-
leftJoin(subQueryFactory: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
149
|
-
/**
|
|
150
|
-
* LEFT JOINs (without selection) entity's property.
|
|
151
|
-
* Given entity property should be a relation.
|
|
152
|
-
* You also need to specify an alias of the joined data.
|
|
153
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
154
|
-
*/
|
|
155
|
-
leftJoin(property: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
156
|
-
/**
|
|
157
|
-
* LEFT JOINs (without selection) entity's table.
|
|
158
|
-
* You also need to specify an alias of the joined data.
|
|
159
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
160
|
-
*/
|
|
161
|
-
leftJoin(entity: Function | string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
162
|
-
/**
|
|
163
|
-
* LEFT JOINs (without selection) given table.
|
|
164
|
-
* You also need to specify an alias of the joined data.
|
|
165
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
166
|
-
*/
|
|
167
|
-
leftJoin(tableName: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
168
|
-
/**
|
|
169
|
-
* INNER JOINs given subquery and adds all selection properties to SELECT..
|
|
170
|
-
* You also need to specify an alias of the joined data.
|
|
171
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
172
|
-
*/
|
|
173
|
-
innerJoinAndSelect(subQueryFactory: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
174
|
-
/**
|
|
175
|
-
* INNER JOINs entity's property and adds all selection properties to SELECT.
|
|
176
|
-
* Given entity property should be a relation.
|
|
177
|
-
* You also need to specify an alias of the joined data.
|
|
178
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
179
|
-
*/
|
|
180
|
-
innerJoinAndSelect(property: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
181
|
-
innerJoinAndSelect(property: RelationPath<Entity>, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
182
|
-
/**
|
|
183
|
-
* INNER JOINs entity and adds all selection properties to SELECT.
|
|
184
|
-
* You also need to specify an alias of the joined data.
|
|
185
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
186
|
-
*/
|
|
187
|
-
innerJoinAndSelect(entity: Function | string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
188
|
-
/**
|
|
189
|
-
* INNER JOINs table and adds all selection properties to SELECT.
|
|
190
|
-
* You also need to specify an alias of the joined data.
|
|
191
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
192
|
-
*/
|
|
193
|
-
innerJoinAndSelect(tableName: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
194
|
-
/**
|
|
195
|
-
* LEFT JOINs given subquery and adds all selection properties to SELECT..
|
|
196
|
-
* You also need to specify an alias of the joined data.
|
|
197
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
198
|
-
*/
|
|
199
|
-
leftJoinAndSelect(subQueryFactory: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
200
|
-
/**
|
|
201
|
-
* LEFT JOINs entity's property and adds all selection properties to SELECT.
|
|
202
|
-
* Given entity property should be a relation.
|
|
203
|
-
* You also need to specify an alias of the joined data.
|
|
204
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
205
|
-
*/
|
|
206
|
-
leftJoinAndSelect(property: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
207
|
-
leftJoinAndSelect(property: RelationPath<Entity>, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
208
|
-
/**
|
|
209
|
-
* LEFT JOINs entity and adds all selection properties to SELECT.
|
|
210
|
-
* You also need to specify an alias of the joined data.
|
|
211
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
212
|
-
*/
|
|
213
|
-
leftJoinAndSelect(entity: Function | string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
214
|
-
/**
|
|
215
|
-
* LEFT JOINs table and adds all selection properties to SELECT.
|
|
216
|
-
* You also need to specify an alias of the joined data.
|
|
217
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
218
|
-
*/
|
|
219
|
-
leftJoinAndSelect(tableName: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
220
|
-
/**
|
|
221
|
-
* INNER JOINs given subquery, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
222
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
223
|
-
* It will assume that there are multiple rows of selecting data, and mapped result will be an array.
|
|
224
|
-
* Given entity property should be a relation.
|
|
225
|
-
* You also need to specify an alias of the joined data.
|
|
226
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
227
|
-
*/
|
|
228
|
-
innerJoinAndMapMany(mapToProperty: string, subQueryFactory: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
229
|
-
/**
|
|
230
|
-
* INNER JOINs entity's property, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
231
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
232
|
-
* It will assume that there are multiple rows of selecting data, and mapped result will be an array.
|
|
233
|
-
* Given entity property should be a relation.
|
|
234
|
-
* You also need to specify an alias of the joined data.
|
|
235
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
236
|
-
*/
|
|
237
|
-
innerJoinAndMapMany(mapToProperty: string, property: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
238
|
-
/**
|
|
239
|
-
* INNER JOINs entity's table, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
240
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
241
|
-
* It will assume that there are multiple rows of selecting data, and mapped result will be an array.
|
|
242
|
-
* You also need to specify an alias of the joined data.
|
|
243
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
244
|
-
*/
|
|
245
|
-
innerJoinAndMapMany(mapToProperty: string, entity: Function | string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
246
|
-
/**
|
|
247
|
-
* INNER JOINs table, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
248
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
249
|
-
* It will assume that there are multiple rows of selecting data, and mapped result will be an array.
|
|
250
|
-
* You also need to specify an alias of the joined data.
|
|
251
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
252
|
-
*/
|
|
253
|
-
innerJoinAndMapMany(mapToProperty: string, tableName: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
254
|
-
/**
|
|
255
|
-
* INNER JOINs given subquery, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
256
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
257
|
-
* It will assume that there is a single row of selecting data, and mapped result will be a single selected value.
|
|
258
|
-
* Given entity property should be a relation.
|
|
259
|
-
* You also need to specify an alias of the joined data.
|
|
260
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
261
|
-
*/
|
|
262
|
-
innerJoinAndMapOne(mapToProperty: string, subQueryFactory: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
263
|
-
/**
|
|
264
|
-
* INNER JOINs entity's property, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
265
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
266
|
-
* It will assume that there is a single row of selecting data, and mapped result will be a single selected value.
|
|
267
|
-
* Given entity property should be a relation.
|
|
268
|
-
* You also need to specify an alias of the joined data.
|
|
269
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
270
|
-
*/
|
|
271
|
-
innerJoinAndMapOne(mapToProperty: string, property: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
272
|
-
/**
|
|
273
|
-
* INNER JOINs entity's table, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
274
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
275
|
-
* It will assume that there is a single row of selecting data, and mapped result will be a single selected value.
|
|
276
|
-
* You also need to specify an alias of the joined data.
|
|
277
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
278
|
-
*/
|
|
279
|
-
innerJoinAndMapOne(mapToProperty: string, entity: Function | string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
280
|
-
/**
|
|
281
|
-
* INNER JOINs table, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
282
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
283
|
-
* It will assume that there is a single row of selecting data, and mapped result will be a single selected value.
|
|
284
|
-
* You also need to specify an alias of the joined data.
|
|
285
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
286
|
-
*/
|
|
287
|
-
innerJoinAndMapOne(mapToProperty: string, tableName: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
288
|
-
/**
|
|
289
|
-
* LEFT JOINs given subquery, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
290
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
291
|
-
* It will assume that there are multiple rows of selecting data, and mapped result will be an array.
|
|
292
|
-
* Given entity property should be a relation.
|
|
293
|
-
* You also need to specify an alias of the joined data.
|
|
294
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
295
|
-
*/
|
|
296
|
-
leftJoinAndMapMany(mapToProperty: string, subQueryFactory: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
297
|
-
/**
|
|
298
|
-
* LEFT JOINs entity's property, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
299
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
300
|
-
* It will assume that there are multiple rows of selecting data, and mapped result will be an array.
|
|
301
|
-
* Given entity property should be a relation.
|
|
302
|
-
* You also need to specify an alias of the joined data.
|
|
303
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
304
|
-
*/
|
|
305
|
-
leftJoinAndMapMany(mapToProperty: string, property: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
306
|
-
/**
|
|
307
|
-
* LEFT JOINs entity's table, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
308
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
309
|
-
* It will assume that there are multiple rows of selecting data, and mapped result will be an array.
|
|
310
|
-
* You also need to specify an alias of the joined data.
|
|
311
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
312
|
-
*/
|
|
313
|
-
leftJoinAndMapMany(mapToProperty: string, entity: Function | string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
314
|
-
/**
|
|
315
|
-
* LEFT JOINs table, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
316
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
317
|
-
* It will assume that there are multiple rows of selecting data, and mapped result will be an array.
|
|
318
|
-
* You also need to specify an alias of the joined data.
|
|
319
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
320
|
-
*/
|
|
321
|
-
leftJoinAndMapMany(mapToProperty: string, tableName: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
322
|
-
/**
|
|
323
|
-
* LEFT JOINs given subquery, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
324
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
325
|
-
* It will assume that there is a single row of selecting data, and mapped result will be a single selected value.
|
|
326
|
-
* Given entity property should be a relation.
|
|
327
|
-
* You also need to specify an alias of the joined data.
|
|
328
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
329
|
-
*/
|
|
330
|
-
leftJoinAndMapOne(mapToProperty: string, subQueryFactory: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
331
|
-
/**
|
|
332
|
-
* LEFT JOINs entity's property, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
333
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
334
|
-
* It will assume that there is a single row of selecting data, and mapped result will be a single selected value.
|
|
335
|
-
* Given entity property should be a relation.
|
|
336
|
-
* You also need to specify an alias of the joined data.
|
|
337
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
338
|
-
*/
|
|
339
|
-
leftJoinAndMapOne(mapToProperty: string, property: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
340
|
-
/**
|
|
341
|
-
* LEFT JOINs entity's table, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
342
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
343
|
-
* It will assume that there is a single row of selecting data, and mapped result will be a single selected value.
|
|
344
|
-
* You also need to specify an alias of the joined data.
|
|
345
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
346
|
-
*/
|
|
347
|
-
leftJoinAndMapOne(mapToProperty: string, entity: Function | string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
348
|
-
/**
|
|
349
|
-
* LEFT JOINs table, SELECTs the data returned by a join and MAPs all that data to some entity's property.
|
|
350
|
-
* This is extremely useful when you want to select some data and map it to some virtual property.
|
|
351
|
-
* It will assume that there is a single row of selecting data, and mapped result will be a single selected value.
|
|
352
|
-
* You also need to specify an alias of the joined data.
|
|
353
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
354
|
-
*/
|
|
355
|
-
leftJoinAndMapOne(mapToProperty: string, tableName: string, alias: string, condition?: string, parameters?: ObjectLiteral): this;
|
|
356
|
-
/**
|
|
357
|
-
*/
|
|
358
|
-
/**
|
|
359
|
-
*/
|
|
360
|
-
/**
|
|
361
|
-
*/
|
|
362
|
-
/**
|
|
363
|
-
*/
|
|
364
|
-
/**
|
|
365
|
-
* LEFT JOINs relation id and maps it into some entity's property.
|
|
366
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
367
|
-
*/
|
|
368
|
-
loadRelationIdAndMap(mapToProperty: string, relationName: string, options?: {
|
|
369
|
-
disableMixedMap?: boolean;
|
|
370
|
-
}): this;
|
|
371
|
-
/**
|
|
372
|
-
* LEFT JOINs relation id and maps it into some entity's property.
|
|
373
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
374
|
-
*/
|
|
375
|
-
loadRelationIdAndMap(mapToProperty: string, relationName: string, alias: string, queryBuilderFactory: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>): this;
|
|
376
|
-
/**
|
|
377
|
-
* Counts number of entities of entity's relation and maps the value into some entity's property.
|
|
378
|
-
* Optionally, you can add condition and parameters used in condition.
|
|
379
|
-
*/
|
|
380
|
-
loadRelationCountAndMap(mapToProperty: string, relationName: string, aliasName?: string, queryBuilderFactory?: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>): this;
|
|
381
|
-
/**
|
|
382
|
-
* Loads all relation ids for all relations of the selected entity.
|
|
383
|
-
* All relation ids will be mapped to relation property themself.
|
|
384
|
-
* If array of strings is given then loads only relation ids of the given properties.
|
|
385
|
-
*/
|
|
386
|
-
loadAllRelationIds(options?: {
|
|
387
|
-
relations?: string[];
|
|
388
|
-
disableMixedMap?: boolean;
|
|
389
|
-
}): this;
|
|
390
|
-
/**
|
|
391
|
-
* Sets WHERE condition in the query builder.
|
|
392
|
-
* If you had previously WHERE expression defined,
|
|
393
|
-
* calling this function will override previously set WHERE conditions.
|
|
394
|
-
* Additionally you can add parameters used in where expression.
|
|
395
|
-
*/
|
|
396
|
-
where(where: Brackets | string | ((qb: this) => string) | ObjectLiteral | ObjectLiteral[], parameters?: ObjectLiteral): this;
|
|
397
|
-
/**
|
|
398
|
-
* Adds new AND WHERE condition in the query builder.
|
|
399
|
-
* Additionally you can add parameters used in where expression.
|
|
400
|
-
*/
|
|
401
|
-
andWhere(where: string | Brackets | ((qb: this) => string) | ObjectLiteral | ObjectLiteral[], parameters?: ObjectLiteral): this;
|
|
402
|
-
/**
|
|
403
|
-
* Adds new OR WHERE condition in the query builder.
|
|
404
|
-
* Additionally you can add parameters used in where expression.
|
|
405
|
-
*/
|
|
406
|
-
orWhere(where: Brackets | string | ((qb: this) => string) | ObjectLiteral | ObjectLiteral[], parameters?: ObjectLiteral): this;
|
|
407
|
-
/**
|
|
408
|
-
* Adds new AND WHERE with conditions for the given ids.
|
|
409
|
-
*
|
|
410
|
-
* Ids are mixed.
|
|
411
|
-
* It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
|
|
412
|
-
* If you have multiple primary keys you need to pass object with property names and values specified,
|
|
413
|
-
* for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
|
|
414
|
-
*/
|
|
415
|
-
whereInIds(ids: any | any[]): this;
|
|
416
|
-
/**
|
|
417
|
-
* Adds new AND WHERE with conditions for the given ids.
|
|
418
|
-
*
|
|
419
|
-
* Ids are mixed.
|
|
420
|
-
* It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
|
|
421
|
-
* If you have multiple primary keys you need to pass object with property names and values specified,
|
|
422
|
-
* for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
|
|
423
|
-
*/
|
|
424
|
-
andWhereInIds(ids: any | any[]): this;
|
|
425
|
-
/**
|
|
426
|
-
* Adds new OR WHERE with conditions for the given ids.
|
|
427
|
-
*
|
|
428
|
-
* Ids are mixed.
|
|
429
|
-
* It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
|
|
430
|
-
* If you have multiple primary keys you need to pass object with property names and values specified,
|
|
431
|
-
* for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
|
|
432
|
-
*/
|
|
433
|
-
orWhereInIds(ids: any | any[]): this;
|
|
434
|
-
/**
|
|
435
|
-
* Sets HAVING condition in the query builder.
|
|
436
|
-
* If you had previously HAVING expression defined,
|
|
437
|
-
* calling this function will override previously set HAVING conditions.
|
|
438
|
-
* Additionally you can add parameters used in where expression.
|
|
439
|
-
*/
|
|
440
|
-
having(having: string, parameters?: ObjectLiteral): this;
|
|
441
|
-
/**
|
|
442
|
-
* Adds new AND HAVING condition in the query builder.
|
|
443
|
-
* Additionally you can add parameters used in where expression.
|
|
444
|
-
*/
|
|
445
|
-
andHaving(having: string, parameters?: ObjectLiteral): this;
|
|
446
|
-
/**
|
|
447
|
-
* Adds new OR HAVING condition in the query builder.
|
|
448
|
-
* Additionally you can add parameters used in where expression.
|
|
449
|
-
*/
|
|
450
|
-
orHaving(having: string, parameters?: ObjectLiteral): this;
|
|
451
|
-
/**
|
|
452
|
-
* Sets GROUP BY condition in the query builder.
|
|
453
|
-
* If you had previously GROUP BY expression defined,
|
|
454
|
-
* calling this function will override previously set GROUP BY conditions.
|
|
455
|
-
*/
|
|
456
|
-
groupBy(): this;
|
|
457
|
-
/**
|
|
458
|
-
* Sets GROUP BY condition in the query builder.
|
|
459
|
-
* If you had previously GROUP BY expression defined,
|
|
460
|
-
* calling this function will override previously set GROUP BY conditions.
|
|
461
|
-
*/
|
|
462
|
-
groupBy(groupBy: string): this;
|
|
463
|
-
/**
|
|
464
|
-
* Adds GROUP BY condition in the query builder.
|
|
465
|
-
*/
|
|
466
|
-
addGroupBy(groupBy: string): this;
|
|
467
|
-
/**
|
|
468
|
-
* Sets ORDER BY condition in the query builder.
|
|
469
|
-
* If you had previously ORDER BY expression defined,
|
|
470
|
-
* calling this function will override previously set ORDER BY conditions.
|
|
471
|
-
*
|
|
472
|
-
* Calling order by without order set will remove all previously set order bys.
|
|
473
|
-
*/
|
|
474
|
-
orderBy(): this;
|
|
475
|
-
/**
|
|
476
|
-
* Sets ORDER BY condition in the query builder.
|
|
477
|
-
* If you had previously ORDER BY expression defined,
|
|
478
|
-
* calling this function will override previously set ORDER BY conditions.
|
|
479
|
-
*/
|
|
480
|
-
orderBy(sort: string, order?: "ASC" | "DESC", nulls?: "NULLS FIRST" | "NULLS LAST"): this;
|
|
481
|
-
/**
|
|
482
|
-
* Sets ORDER BY condition in the query builder.
|
|
483
|
-
* If you had previously ORDER BY expression defined,
|
|
484
|
-
* calling this function will override previously set ORDER BY conditions.
|
|
485
|
-
*/
|
|
486
|
-
orderBy(order: OrderByCondition): this;
|
|
487
|
-
/**
|
|
488
|
-
* Adds ORDER BY condition in the query builder.
|
|
489
|
-
*/
|
|
490
|
-
addOrderBy(sort: string, order?: "ASC" | "DESC", nulls?: "NULLS FIRST" | "NULLS LAST"): this;
|
|
491
|
-
/**
|
|
492
|
-
* Set's LIMIT - maximum number of rows to be selected.
|
|
493
|
-
* NOTE that it may not work as you expect if you are using joins.
|
|
494
|
-
* If you want to implement pagination, and you are having join in your query,
|
|
495
|
-
* then use instead take method instead.
|
|
496
|
-
*/
|
|
497
|
-
limit(limit?: number): this;
|
|
498
|
-
/**
|
|
499
|
-
* Set's OFFSET - selection offset.
|
|
500
|
-
* NOTE that it may not work as you expect if you are using joins.
|
|
501
|
-
* If you want to implement pagination, and you are having join in your query,
|
|
502
|
-
* then use instead skip method instead.
|
|
503
|
-
*/
|
|
504
|
-
offset(offset?: number): this;
|
|
505
|
-
/**
|
|
506
|
-
* Sets maximal number of entities to take.
|
|
507
|
-
*/
|
|
508
|
-
take(take?: number): this;
|
|
509
|
-
/**
|
|
510
|
-
* Sets number of entities to skip.
|
|
511
|
-
*/
|
|
512
|
-
skip(skip?: number): this;
|
|
513
|
-
/**
|
|
514
|
-
* Set certain index to be used by the query.
|
|
515
|
-
*
|
|
516
|
-
* @param index Name of index to be used.
|
|
517
|
-
*/
|
|
518
|
-
useIndex(index: string): this;
|
|
519
|
-
/**
|
|
520
|
-
* Sets locking mode.
|
|
521
|
-
*/
|
|
522
|
-
setLock(lockMode: "optimistic", lockVersion: number | Date): this;
|
|
523
|
-
/**
|
|
524
|
-
* Sets locking mode.
|
|
525
|
-
*/
|
|
526
|
-
setLock(lockMode: "pessimistic_read" | "pessimistic_write" | "dirty_read" | "pessimistic_partial_write" | "pessimistic_write_or_fail" | "for_no_key_update" | "for_key_share", lockVersion?: undefined, lockTables?: string[]): this;
|
|
527
|
-
/**
|
|
528
|
-
* Sets lock handling by adding NO WAIT or SKIP LOCKED.
|
|
529
|
-
*/
|
|
530
|
-
setOnLocked(onLocked: "nowait" | "skip_locked"): this;
|
|
531
|
-
/**
|
|
532
|
-
* Disables the global condition of "non-deleted" for the entity with delete date columns.
|
|
533
|
-
*/
|
|
534
|
-
withDeleted(): this;
|
|
535
|
-
/**
|
|
536
|
-
* Gets first raw result returned by execution of generated query builder sql.
|
|
537
|
-
*/
|
|
538
|
-
getRawOne<T = any>(): Promise<T | undefined>;
|
|
539
|
-
/**
|
|
540
|
-
* Gets all raw results returned by execution of generated query builder sql.
|
|
541
|
-
*/
|
|
542
|
-
getRawMany<T = any>(): Promise<T[]>;
|
|
543
|
-
/**
|
|
544
|
-
* Executes sql generated by query builder and returns object with raw results and entities created from them.
|
|
545
|
-
*/
|
|
546
|
-
getRawAndEntities<T = any>(): Promise<{
|
|
547
|
-
entities: Entity[];
|
|
548
|
-
raw: T[];
|
|
549
|
-
}>;
|
|
550
|
-
/**
|
|
551
|
-
* Gets single entity returned by execution of generated query builder sql.
|
|
552
|
-
*/
|
|
553
|
-
getOne(): Promise<Entity | null>;
|
|
554
|
-
/**
|
|
555
|
-
* Gets the first entity returned by execution of generated query builder sql or rejects the returned promise on error.
|
|
556
|
-
*/
|
|
557
|
-
getOneOrFail(): Promise<Entity>;
|
|
558
|
-
/**
|
|
559
|
-
* Gets entities returned by execution of generated query builder sql.
|
|
560
|
-
*/
|
|
561
|
-
getMany(): Promise<Entity[]>;
|
|
562
|
-
/**
|
|
563
|
-
* Gets count - number of entities selected by sql generated by this query builder.
|
|
564
|
-
* Count excludes all limitations set by setFirstResult and setMaxResults methods call.
|
|
565
|
-
*/
|
|
566
|
-
getCount(): Promise<number>;
|
|
567
|
-
/**
|
|
568
|
-
* Executes built SQL query and returns entities and overall entities count (without limitation).
|
|
569
|
-
* This method is useful to build pagination.
|
|
570
|
-
*/
|
|
571
|
-
getManyAndCount(): Promise<[Entity[], number]>;
|
|
572
|
-
/**
|
|
573
|
-
* Enables or disables query result caching.
|
|
574
|
-
*/
|
|
575
|
-
cache(enabled: boolean): this;
|
|
576
|
-
/**
|
|
577
|
-
* Enables query result caching and sets in milliseconds in which cache will expire.
|
|
578
|
-
* If not set then global caching time will be used.
|
|
579
|
-
*/
|
|
580
|
-
cache(milliseconds: number): this;
|
|
581
|
-
/**
|
|
582
|
-
* Enables query result caching and sets cache id and milliseconds in which cache will expire.
|
|
583
|
-
*/
|
|
584
|
-
cache(id: any, milliseconds?: number): this;
|
|
585
|
-
/**
|
|
586
|
-
* Sets extra options that can be used to configure how query builder works.
|
|
587
|
-
*/
|
|
588
|
-
setOption(option: SelectQueryBuilderOption): this;
|
|
589
|
-
protected join(direction: "INNER" | "LEFT", entityOrProperty: Function | string | ((qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>), aliasName: string, condition?: string, parameters?: ObjectLiteral, mapToProperty?: string, isMappingMany?: boolean): void;
|
|
590
|
-
/**
|
|
591
|
-
* Creates "SELECT FROM" part of SQL query.
|
|
592
|
-
*/
|
|
593
|
-
protected createSelectExpression(): string;
|
|
594
|
-
/**
|
|
595
|
-
* Creates select | select distinct part of SQL query.
|
|
596
|
-
*/
|
|
597
|
-
protected createSelectDistinctExpression(): string;
|
|
598
|
-
/**
|
|
599
|
-
* Creates "JOIN" part of SQL query.
|
|
600
|
-
*/
|
|
601
|
-
protected createJoinExpression(): string;
|
|
602
|
-
/**
|
|
603
|
-
* Creates "GROUP BY" part of SQL query.
|
|
604
|
-
*/
|
|
605
|
-
protected createGroupByExpression(): string;
|
|
606
|
-
/**
|
|
607
|
-
* Creates "ORDER BY" part of SQL query.
|
|
608
|
-
*/
|
|
609
|
-
protected createOrderByExpression(): string;
|
|
610
|
-
/**
|
|
611
|
-
* Creates "LIMIT" and "OFFSET" parts of SQL query.
|
|
612
|
-
*/
|
|
613
|
-
protected createLimitOffsetExpression(): string;
|
|
614
|
-
/**
|
|
615
|
-
* Creates "LOCK" part of SELECT Query after table Clause
|
|
616
|
-
* ex.
|
|
617
|
-
* SELECT 1
|
|
618
|
-
* FROM USER U WITH (NOLOCK)
|
|
619
|
-
* JOIN ORDER O WITH (NOLOCK)
|
|
620
|
-
* ON U.ID=O.OrderID
|
|
621
|
-
*/
|
|
622
|
-
private createTableLockExpression;
|
|
623
|
-
/**
|
|
624
|
-
* Creates "LOCK" part of SQL query.
|
|
625
|
-
*/
|
|
626
|
-
protected createLockExpression(): string;
|
|
627
|
-
/**
|
|
628
|
-
* Creates "HAVING" part of SQL query.
|
|
629
|
-
*/
|
|
630
|
-
protected createHavingExpression(): string;
|
|
631
|
-
protected buildEscapedEntityColumnSelects(aliasName: string, metadata: EntityMetadata): SelectQuery[];
|
|
632
|
-
protected findEntityColumnSelects(aliasName: string, metadata: EntityMetadata): SelectQuery[];
|
|
633
|
-
private computeCountExpression;
|
|
634
|
-
protected executeCountQuery(queryRunner: QueryRunner): Promise<number>;
|
|
635
|
-
protected applyFindOptions(): void;
|
|
636
|
-
/**
|
|
637
|
-
* Executes sql generated by query builder and returns object with raw results and entities created from them.
|
|
638
|
-
*/
|
|
639
|
-
protected executeEntitiesAndRawResults(queryRunner: QueryRunner): Promise<{
|
|
640
|
-
entities: Entity[];
|
|
641
|
-
raw: any[];
|
|
642
|
-
}>;
|
|
643
|
-
protected createOrderByCombinedWithSelectExpression(parentAlias: string): [string, OrderByCondition];
|
|
644
|
-
/**
|
|
645
|
-
* Loads raw results from the database.
|
|
646
|
-
*/
|
|
647
|
-
protected loadRawResults(queryRunner: QueryRunner): Promise<any>;
|
|
648
|
-
/**
|
|
649
|
-
* Merges into expression map given expression map properties.
|
|
650
|
-
*/
|
|
651
|
-
protected mergeExpressionMap(expressionMap: Partial<QueryExpressionMap>): this;
|
|
652
|
-
/**
|
|
653
|
-
* Normalizes a give number - converts to int if possible.
|
|
654
|
-
*/
|
|
655
|
-
protected normalizeNumber(num: any): any;
|
|
656
|
-
/**
|
|
657
|
-
* Creates a query builder used to execute sql queries inside this query builder.
|
|
658
|
-
*/
|
|
659
|
-
protected obtainQueryRunner(): QueryRunner;
|
|
660
|
-
protected buildSelect(select: FindOptionsSelect<any>, metadata: EntityMetadata, alias: string, embedPrefix?: string): void;
|
|
661
|
-
protected buildRelations(relations: FindOptionsRelations<any>, selection: FindOptionsSelect<any> | undefined, metadata: EntityMetadata, alias: string, embedPrefix?: string): void;
|
|
662
|
-
protected buildEagerRelations(relations: FindOptionsRelations<any>, selection: FindOptionsSelect<any> | undefined, metadata: EntityMetadata, alias: string, embedPrefix?: string): void;
|
|
663
|
-
protected buildOrder(order: FindOptionsOrder<any>, metadata: EntityMetadata, alias: string, embedPrefix?: string): void;
|
|
664
|
-
protected buildWhere(where: FindOptionsWhere<any>, metadata: EntityMetadata, alias: string, embedPrefix?: string): string;
|
|
665
|
-
}
|