lakutata 2.0.65 → 2.0.67
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/com/cacher.cjs +1 -1
- package/com/cacher.d.ts +4 -4
- package/com/cacher.mjs +1 -1
- package/com/database.cjs +0 -2
- package/com/database.d.ts +4 -4
- package/com/database.mjs +0 -2
- package/com/docker.d.ts +5 -5
- package/com/entrypoint.cjs +3 -1
- package/com/entrypoint.d.ts +2 -2
- package/com/entrypoint.mjs +3 -1
- package/com/logger.d.ts +1 -1
- package/com/monitor.d.ts +2 -2
- package/decorator/asst.d.ts +1 -1
- package/decorator/ctrl.cjs +3 -1
- package/decorator/ctrl.d.ts +4 -4
- package/decorator/ctrl.mjs +3 -1
- package/decorator/di.d.ts +3 -3
- package/decorator/dto.d.ts +3 -3
- package/decorator/orm.cjs +86 -88
- package/decorator/orm.d.ts +51 -75
- package/decorator/orm.mjs +44 -46
- package/helper.cjs +24 -18
- package/helper.d.ts +129 -3
- package/helper.mjs +6 -2
- package/lakutata.cjs +3 -1
- package/lakutata.d.ts +10 -10
- package/lakutata.mjs +3 -1
- package/orm.cjs +1075 -112
- package/orm.d.ts +6 -6
- package/orm.mjs +1015 -17
- package/package.json +1 -1
- package/provider/database.cjs +0 -2
- package/provider/database.d.ts +4 -4
- package/provider/database.mjs +0 -2
- package/provider/passwordHash.d.ts +1 -1
- package/src/components/Database.cjs +0 -2
- package/src/components/Database.mjs +0 -2
- package/src/components/cacher/Cacher.cjs +1 -1
- package/src/components/cacher/Cacher.mjs +1 -1
- package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +1 -1
- package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +1 -1
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +2 -2
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +2 -2
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +2 -2
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +2 -2
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +2 -2
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +2 -2
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +2 -2
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +2 -2
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +2 -2
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +2 -2
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +2 -2
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +2 -2
- package/src/components/entrypoint/Entrypoint.cjs +3 -1
- package/src/components/entrypoint/Entrypoint.mjs +3 -1
- package/src/decorators/ctrl/CLIAction.cjs +7 -5
- package/src/decorators/ctrl/CLIAction.mjs +3 -1
- package/src/decorators/ctrl/HTTPAction.cjs +8 -6
- package/src/decorators/ctrl/HTTPAction.mjs +3 -1
- package/src/decorators/ctrl/ServiceAction.cjs +3 -1
- package/src/decorators/ctrl/ServiceAction.mjs +7 -5
- package/src/decorators/ctrl/http/DELETE.cjs +3 -1
- package/src/decorators/ctrl/http/DELETE.mjs +3 -1
- package/src/decorators/ctrl/http/GET.cjs +3 -1
- package/src/decorators/ctrl/http/GET.mjs +3 -1
- package/src/decorators/ctrl/http/HEAD.cjs +3 -1
- package/src/decorators/ctrl/http/HEAD.mjs +3 -1
- package/src/decorators/ctrl/http/OPTIONS.cjs +3 -1
- package/src/decorators/ctrl/http/OPTIONS.mjs +3 -1
- package/src/decorators/ctrl/http/PATCH.cjs +3 -1
- package/src/decorators/ctrl/http/PATCH.mjs +3 -1
- package/src/decorators/ctrl/http/POST.cjs +3 -1
- package/src/decorators/ctrl/http/POST.mjs +3 -1
- package/src/decorators/ctrl/http/PUT.cjs +3 -1
- package/src/decorators/ctrl/http/PUT.mjs +3 -1
- package/src/decorators/orm/AfterInsert.cjs +27 -7
- package/src/decorators/orm/AfterInsert.mjs +28 -6
- package/src/decorators/orm/AfterLoad.cjs +27 -7
- package/src/decorators/orm/AfterLoad.mjs +28 -6
- package/src/decorators/orm/AfterRecover.cjs +27 -7
- package/src/decorators/orm/AfterRecover.mjs +28 -6
- package/src/decorators/orm/AfterRemove.cjs +27 -7
- package/src/decorators/orm/AfterRemove.mjs +28 -6
- package/src/decorators/orm/AfterSoftRemove.cjs +27 -7
- package/src/decorators/orm/AfterSoftRemove.mjs +28 -6
- package/src/decorators/orm/AfterUpdate.cjs +27 -7
- package/src/decorators/orm/AfterUpdate.mjs +28 -6
- package/src/decorators/orm/BeforeInsert.cjs +27 -7
- package/src/decorators/orm/BeforeInsert.mjs +28 -6
- package/src/decorators/orm/BeforeRecover.cjs +27 -7
- package/src/decorators/orm/BeforeRecover.mjs +28 -6
- package/src/decorators/orm/BeforeRemove.cjs +27 -7
- package/src/decorators/orm/BeforeRemove.mjs +28 -6
- package/src/decorators/orm/BeforeSoftRemove.cjs +27 -7
- package/src/decorators/orm/BeforeSoftRemove.mjs +28 -6
- package/src/decorators/orm/BeforeUpdate.cjs +27 -7
- package/src/decorators/orm/BeforeUpdate.mjs +28 -6
- package/src/decorators/orm/Check.cjs +30 -7
- package/src/decorators/orm/Check.mjs +31 -6
- package/src/decorators/orm/ChildEntity.cjs +30 -7
- package/src/decorators/orm/ChildEntity.mjs +31 -6
- package/src/decorators/orm/Column.cjs +62 -7
- package/src/decorators/orm/Column.mjs +63 -6
- package/src/decorators/orm/CreateDateColumn.cjs +26 -7
- package/src/decorators/orm/CreateDateColumn.mjs +27 -6
- package/src/decorators/orm/DeleteDateColumn.cjs +26 -7
- package/src/decorators/orm/DeleteDateColumn.mjs +27 -6
- package/src/decorators/orm/Entity.cjs +36 -7
- package/src/decorators/orm/Entity.mjs +37 -6
- package/src/decorators/orm/EventSubscriber.cjs +23 -7
- package/src/decorators/orm/EventSubscriber.mjs +24 -6
- package/src/decorators/orm/Exclusion.cjs +30 -7
- package/src/decorators/orm/Exclusion.mjs +31 -6
- package/src/decorators/orm/Generated.cjs +25 -7
- package/src/decorators/orm/Generated.mjs +26 -6
- package/src/decorators/orm/Index.cjs +42 -7
- package/src/decorators/orm/Index.mjs +43 -6
- package/src/decorators/orm/JoinColumn.cjs +30 -7
- package/src/decorators/orm/JoinColumn.mjs +31 -6
- package/src/decorators/orm/JoinTable.cjs +31 -7
- package/src/decorators/orm/JoinTable.mjs +32 -6
- package/src/decorators/orm/ManyToMany.cjs +43 -7
- package/src/decorators/orm/ManyToMany.mjs +44 -6
- package/src/decorators/orm/ManyToOne.cjs +43 -7
- package/src/decorators/orm/ManyToOne.mjs +44 -6
- package/src/decorators/orm/ObjectIdColumn.cjs +29 -7
- package/src/decorators/orm/ObjectIdColumn.mjs +30 -6
- package/src/decorators/orm/OneToMany.cjs +35 -7
- package/src/decorators/orm/OneToMany.mjs +36 -6
- package/src/decorators/orm/OneToOne.cjs +43 -7
- package/src/decorators/orm/OneToOne.mjs +44 -6
- package/src/decorators/orm/PrimaryColumn.cjs +50 -7
- package/src/decorators/orm/PrimaryColumn.mjs +51 -6
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +55 -7
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +56 -6
- package/src/decorators/orm/RelationId.cjs +27 -7
- package/src/decorators/orm/RelationId.mjs +28 -6
- package/src/decorators/orm/TableInheritance.cjs +27 -7
- package/src/decorators/orm/TableInheritance.mjs +28 -6
- package/src/decorators/orm/Tree.cjs +25 -7
- package/src/decorators/orm/Tree.mjs +26 -6
- package/src/decorators/orm/TreeChildren.cjs +32 -7
- package/src/decorators/orm/TreeChildren.mjs +33 -6
- package/src/decorators/orm/TreeLevelColumn.cjs +26 -7
- package/src/decorators/orm/TreeLevelColumn.mjs +27 -6
- package/src/decorators/orm/TreeParent.cjs +32 -7
- package/src/decorators/orm/TreeParent.mjs +33 -6
- package/src/decorators/orm/Unique.cjs +45 -7
- package/src/decorators/orm/Unique.mjs +46 -6
- package/src/decorators/orm/UpdateDateColumn.cjs +26 -7
- package/src/decorators/orm/UpdateDateColumn.mjs +27 -6
- package/src/decorators/orm/VersionColumn.cjs +26 -7
- package/src/decorators/orm/VersionColumn.mjs +27 -6
- package/src/decorators/orm/ViewColumn.cjs +26 -7
- package/src/decorators/orm/ViewColumn.mjs +27 -6
- package/src/decorators/orm/ViewEntity.cjs +35 -7
- package/src/decorators/orm/ViewEntity.mjs +36 -6
- package/src/decorators/orm/VirtualColumn.cjs +43 -7
- package/src/decorators/orm/VirtualColumn.mjs +44 -6
- package/src/lib/base/internal/ControllerEntrypoint.cjs +70 -610
- package/src/lib/base/internal/ControllerEntrypoint.mjs +87 -627
- package/src/lib/base/internal/StringifyPattern.cjs +1 -1
- package/src/lib/base/internal/StringifyPattern.mjs +1 -1
- package/src/lib/core/Application.cjs +3 -1
- package/src/lib/core/Application.mjs +3 -1
- package/src/lib/helpers/MD5.cjs +1 -1
- package/src/lib/helpers/MD5.mjs +1 -1
- package/src/lib/helpers/SHA1.cjs +1 -1
- package/src/lib/helpers/SHA1.mjs +1 -1
- package/src/lib/helpers/SHA256.cjs +1 -1
- package/src/lib/helpers/SHA256.mjs +1 -1
- package/src/lib/helpers/SortArray.cjs +1 -1
- package/src/lib/helpers/SortArray.mjs +1 -1
- package/src/lib/helpers/UUID.cjs +45 -0
- package/src/lib/helpers/UUID.mjs +39 -0
- package/src/providers/Database.cjs +0 -2
- package/src/providers/Database.mjs +0 -2
- package/vendor/Package.122.cjs +13223 -16706
- package/vendor/Package.122.mjs +13498 -16881
- package/vendor/Package.19.cjs +184 -195
- package/vendor/Package.19.mjs +176 -187
- package/vendor/Package.610.cjs +297 -113
- package/vendor/Package.610.mjs +285 -97
- package/vendor/Package.611.cjs +85 -103
- package/vendor/Package.611.mjs +80 -98
- package/vendor/Package.612.cjs +100 -121
- package/vendor/Package.612.mjs +97 -120
- package/vendor/Package.613.cjs +196 -0
- package/vendor/Package.613.mjs +180 -0
- package/vendor/Package.64.cjs +511 -134
- package/vendor/Package.64.mjs +491 -134
- package/vendor/Package.65.cjs +140 -4118
- package/vendor/Package.65.mjs +140 -4126
- package/vendor/Package.66.cjs +4142 -692
- package/vendor/Package.66.mjs +4151 -689
- package/vendor/Package.67.cjs +571 -535
- package/vendor/Package.67.mjs +586 -528
- package/vendor/Package.68.cjs +633 -96
- package/vendor/Package.68.mjs +619 -94
- package/vendor/Package.69.cjs +96 -294
- package/vendor/Package.69.mjs +95 -295
- package/vendor/TypeDef.internal.1.d.ts +1 -1
- package/vendor/TypeDef.internal.10.d.ts +1 -1
- package/vendor/TypeDef.internal.11.d.ts +2 -2
- package/vendor/TypeDef.internal.12.d.ts +2 -2
- package/vendor/TypeDef.internal.13.d.ts +6 -6
- package/vendor/TypeDef.internal.3.d.ts +3 -3
- package/vendor/TypeDef.internal.4.d.ts +181 -347
- package/vendor/TypeDef.internal.5.d.ts +2 -2
- package/vendor/TypeDef.internal.6.d.ts +2 -2
- package/vendor/TypeDef.internal.7.d.ts +1 -1
- package/vendor/TypeDef.internal.8.d.ts +1 -1
- package/vendor/TypeDef.internal.9.d.ts +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './TypeDef.internal.2.js';
|
|
2
2
|
import { ReadStream } from 'fs';
|
|
3
|
-
import { SrvRecord } from 'dns';
|
|
4
|
-
import { TcpNetConnectOpts, Socket } from 'net';
|
|
5
3
|
import { ConnectionOptions as ConnectionOptions$1, TLSSocketOptions, TLSSocket, TlsOptions } from 'tls';
|
|
4
|
+
import { TcpNetConnectOpts, Socket } from 'net';
|
|
5
|
+
import { SrvRecord } from 'dns';
|
|
6
6
|
import { EventEmitter } from 'events';
|
|
7
7
|
import { Readable } from 'stream';
|
|
8
8
|
|
|
@@ -456,8 +456,8 @@ type WithPrecisionColumnType = "float" | "double" | "dec" | "decimal" | "smallde
|
|
|
456
456
|
/**
|
|
457
457
|
* Column types where column length is used.
|
|
458
458
|
*/
|
|
459
|
-
type WithLengthColumnType = "character varying" | "varying character" | "char varying" | "nvarchar" | "national varchar" | "character" | "native character" | "varchar" | "char" | "nchar" | "national char" | "varchar2" | "nvarchar2" | "alphanum" | "shorttext" | "raw" | "binary" | "varbinary" | "string"
|
|
460
|
-
type
|
|
459
|
+
type WithLengthColumnType = "character varying" | "varying character" | "char varying" | "nvarchar" | "national varchar" | "character" | "native character" | "varchar" | "char" | "nchar" | "national char" | "varchar2" | "nvarchar2" | "alphanum" | "shorttext" | "raw" | "binary" | "varbinary" | "string";
|
|
460
|
+
type WithWidthColumnType = "tinyint" | "smallint" | "mediumint" | "int" | "bigint";
|
|
461
461
|
/**
|
|
462
462
|
* All other regular column types.
|
|
463
463
|
*/
|
|
@@ -465,7 +465,7 @@ type SimpleColumnType = "simple-array" | "simple-json" | "simple-enum" | "int2"
|
|
|
465
465
|
/**
|
|
466
466
|
* Any column type column can be.
|
|
467
467
|
*/
|
|
468
|
-
type ColumnType = WithPrecisionColumnType | WithLengthColumnType |
|
|
468
|
+
type ColumnType = WithPrecisionColumnType | WithLengthColumnType | WithWidthColumnType | SpatialColumnType | SimpleColumnType | BooleanConstructor | DateConstructor | NumberConstructor | StringConstructor;
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
471
|
* Interface for objects that deal with (un)marshalling data.
|
|
@@ -558,9 +558,6 @@ interface ColumnOptions extends ColumnCommonOptions {
|
|
|
558
558
|
/**
|
|
559
559
|
* Column type's display width. Used only on some column types in MySQL.
|
|
560
560
|
* For example, INT(4) specifies an INT with a display width of four digits.
|
|
561
|
-
* @deprecated No longer supported in newer MySQL versions, will be removed
|
|
562
|
-
* from TypeORM in an upcoming version. Use a character column and the
|
|
563
|
-
* `LPAD` function as suggested by MySQL
|
|
564
561
|
*/
|
|
565
562
|
width?: number;
|
|
566
563
|
/**
|
|
@@ -628,9 +625,6 @@ interface ColumnOptions extends ColumnCommonOptions {
|
|
|
628
625
|
/**
|
|
629
626
|
* Puts ZEROFILL attribute on to numeric column. Works only for MySQL.
|
|
630
627
|
* If you specify ZEROFILL for a numeric column, MySQL automatically adds the UNSIGNED attribute to this column
|
|
631
|
-
* @deprecated No longer supported in newer MySQL versions, will be removed
|
|
632
|
-
* from TypeORM in an upcoming version. Use a character column and the
|
|
633
|
-
* `LPAD` function as suggested by MySQL
|
|
634
628
|
*/
|
|
635
629
|
zerofill?: boolean;
|
|
636
630
|
/**
|
|
@@ -698,12 +692,6 @@ interface ColumnOptions extends ColumnCommonOptions {
|
|
|
698
692
|
* SRID (Spatial Reference ID (EPSG code))
|
|
699
693
|
*/
|
|
700
694
|
srid?: number;
|
|
701
|
-
/**
|
|
702
|
-
* Query to be used to populate the column data. This query is used when generating the relational db script.
|
|
703
|
-
* The query function is called with the current entities alias either defined by the Entity Decorator or automatically
|
|
704
|
-
* @See https://typeorm.io/decorator-reference#virtualcolumn for more details.
|
|
705
|
-
*/
|
|
706
|
-
query?: (alias: string) => string;
|
|
707
695
|
}
|
|
708
696
|
|
|
709
697
|
/**
|
|
@@ -1915,13 +1903,13 @@ declare class ColumnMetadata {
|
|
|
1915
1903
|
/**
|
|
1916
1904
|
* Indicates if column is a virtual property. Virtual properties are not mapped to the entity.
|
|
1917
1905
|
* This property is used in tandem the virtual column decorator.
|
|
1918
|
-
* @See https://typeorm.io/
|
|
1906
|
+
* @See https://typeorm.io/decorator-reference#virtualcolumn for more details.
|
|
1919
1907
|
*/
|
|
1920
1908
|
isVirtualProperty: boolean;
|
|
1921
1909
|
/**
|
|
1922
1910
|
* Query to be used to populate the column data. This query is used when generating the relational db script.
|
|
1923
1911
|
* The query function is called with the current entities alias either defined by the Entity Decorator or automatically
|
|
1924
|
-
* @See https://typeorm.io/
|
|
1912
|
+
* @See https://typeorm.io/decorator-reference#virtualcolumn for more details.
|
|
1925
1913
|
*/
|
|
1926
1914
|
query?: (alias: string) => string;
|
|
1927
1915
|
/**
|
|
@@ -2012,7 +2000,7 @@ declare class ColumnMetadata {
|
|
|
2012
2000
|
/**
|
|
2013
2001
|
* Creates entity id map from the given entity ids array.
|
|
2014
2002
|
*/
|
|
2015
|
-
createValueMap(value: any, useDatabaseName?: boolean):
|
|
2003
|
+
createValueMap(value: any, useDatabaseName?: boolean): any;
|
|
2016
2004
|
/**
|
|
2017
2005
|
* Extracts column value and returns its column name with this value in a literal object.
|
|
2018
2006
|
* If column is in embedded (or recursive embedded) it returns complex literal object.
|
|
@@ -2444,10 +2432,6 @@ interface EntitySchemaColumnOptions extends SpatialColumnOptions {
|
|
|
2444
2432
|
* Indicates if this column is a treeLevel column.
|
|
2445
2433
|
*/
|
|
2446
2434
|
treeLevel?: boolean;
|
|
2447
|
-
/**
|
|
2448
|
-
* Indicates if this column is a virtualProperty column.
|
|
2449
|
-
*/
|
|
2450
|
-
virtualProperty?: boolean;
|
|
2451
2435
|
/**
|
|
2452
2436
|
* Column type. Must be one of the value from the ColumnTypes class.
|
|
2453
2437
|
*/
|
|
@@ -2589,12 +2573,6 @@ interface EntitySchemaColumnOptions extends SpatialColumnOptions {
|
|
|
2589
2573
|
* Foreign key options of this column.
|
|
2590
2574
|
*/
|
|
2591
2575
|
foreignKey?: EntitySchemaColumnForeignKeyOptions;
|
|
2592
|
-
/**
|
|
2593
|
-
* Query to be used to populate the column data. This query is used when generating the relational db script.
|
|
2594
|
-
* The query function is called with the current entities alias either defined by the Entity Decorator or automatically
|
|
2595
|
-
* @See https://typeorm.io/decorator-reference#virtualcolumn for more details.
|
|
2596
|
-
*/
|
|
2597
|
-
query?: (alias: string) => string;
|
|
2598
2576
|
}
|
|
2599
2577
|
|
|
2600
2578
|
/**
|
|
@@ -3238,24 +3216,6 @@ interface BaseDataSourceOptions {
|
|
|
3238
3216
|
* Allows automatic isolation of where clauses
|
|
3239
3217
|
*/
|
|
3240
3218
|
readonly isolateWhereStatements?: boolean;
|
|
3241
|
-
/**
|
|
3242
|
-
* Controls how null and undefined values are handled in find operations.
|
|
3243
|
-
*/
|
|
3244
|
-
readonly invalidWhereValuesBehavior?: {
|
|
3245
|
-
/**
|
|
3246
|
-
* How to handle null values in where conditions.
|
|
3247
|
-
* - 'ignore': Skip null properties (default)
|
|
3248
|
-
* - 'sql-null': Transform null to SQL NULL
|
|
3249
|
-
* - 'throw': Throw an error when null is encountered
|
|
3250
|
-
*/
|
|
3251
|
-
readonly null?: "ignore" | "sql-null" | "throw";
|
|
3252
|
-
/**
|
|
3253
|
-
* How to handle undefined values in where conditions.
|
|
3254
|
-
* - 'ignore': Skip undefined properties (default)
|
|
3255
|
-
* - 'throw': Throw an error when undefined is encountered
|
|
3256
|
-
*/
|
|
3257
|
-
readonly undefined?: "ignore" | "throw";
|
|
3258
|
-
};
|
|
3259
3219
|
}
|
|
3260
3220
|
|
|
3261
3221
|
type ReplicationMode = "master" | "slave";
|
|
@@ -3360,7 +3320,7 @@ declare class TableForeignKey {
|
|
|
3360
3320
|
static create(metadata: ForeignKeyMetadata, driver: Driver): TableForeignKey;
|
|
3361
3321
|
}
|
|
3362
3322
|
|
|
3363
|
-
type UpsertType = "on-conflict-do-update" | "on-duplicate-key-update" | "primary-key"
|
|
3323
|
+
type UpsertType = "on-conflict-do-update" | "on-duplicate-key-update" | "primary-key";
|
|
3364
3324
|
|
|
3365
3325
|
type ReturningType = "insert" | "update" | "delete";
|
|
3366
3326
|
/**
|
|
@@ -3810,6 +3770,11 @@ declare interface BinaryExtendedLegacy {
|
|
|
3810
3770
|
}
|
|
3811
3771
|
/** @public */
|
|
3812
3772
|
declare type BinarySequence = Uint8Array | number[];
|
|
3773
|
+
declare namespace BSON {
|
|
3774
|
+
export { setInternalBufferSize, serialize, serializeWithBufferAndIndex, deserialize, calculateObjectSize, deserializeStream, LongWithoutOverridesClass, Code, BSONSymbol, DBRef, Binary, ObjectId, UUID, Long, Timestamp, Double, Int32, MinKey, MaxKey, BSONRegExp, Decimal128, BSONValue, BSONError, BSONVersionError, BSONRuntimeError, BSONType, EJSON };
|
|
3775
|
+
export type { UUIDExtended, BinaryExtended, BinaryExtendedLegacy, BinarySequence, CodeExtended, DBRefLike, Decimal128Extended, DoubleExtended, EJSONOptions, Int32Extended, LongExtended, MaxKeyExtended, MinKeyExtended, ObjectIdExtended, ObjectIdLike, BSONRegExpExtended, BSONRegExpExtendedLegacy, BSONSymbolExtended, LongWithoutOverrides, TimestampExtended, TimestampOverrides, SerializeOptions, DeserializeOptions, Document, CalculateObjectSizeOptions };
|
|
3776
|
+
}
|
|
3777
|
+
|
|
3813
3778
|
/**
|
|
3814
3779
|
* @public
|
|
3815
3780
|
* @category Error
|
|
@@ -4796,81 +4761,6 @@ declare type UUIDExtended = {
|
|
|
4796
4761
|
$uuid: string;
|
|
4797
4762
|
};
|
|
4798
4763
|
|
|
4799
|
-
type bson_typings_d_BSONError = BSONError;
|
|
4800
|
-
declare const bson_typings_d_BSONError: typeof BSONError;
|
|
4801
|
-
type bson_typings_d_BSONRegExp = BSONRegExp;
|
|
4802
|
-
declare const bson_typings_d_BSONRegExp: typeof BSONRegExp;
|
|
4803
|
-
type bson_typings_d_BSONRegExpExtended = BSONRegExpExtended;
|
|
4804
|
-
type bson_typings_d_BSONRegExpExtendedLegacy = BSONRegExpExtendedLegacy;
|
|
4805
|
-
type bson_typings_d_BSONRuntimeError = BSONRuntimeError;
|
|
4806
|
-
declare const bson_typings_d_BSONRuntimeError: typeof BSONRuntimeError;
|
|
4807
|
-
type bson_typings_d_BSONSymbol = BSONSymbol;
|
|
4808
|
-
declare const bson_typings_d_BSONSymbol: typeof BSONSymbol;
|
|
4809
|
-
type bson_typings_d_BSONSymbolExtended = BSONSymbolExtended;
|
|
4810
|
-
type bson_typings_d_BSONType = BSONType;
|
|
4811
|
-
type bson_typings_d_BSONValue = BSONValue;
|
|
4812
|
-
declare const bson_typings_d_BSONValue: typeof BSONValue;
|
|
4813
|
-
type bson_typings_d_BSONVersionError = BSONVersionError;
|
|
4814
|
-
declare const bson_typings_d_BSONVersionError: typeof BSONVersionError;
|
|
4815
|
-
type bson_typings_d_Binary = Binary;
|
|
4816
|
-
declare const bson_typings_d_Binary: typeof Binary;
|
|
4817
|
-
type bson_typings_d_BinaryExtended = BinaryExtended;
|
|
4818
|
-
type bson_typings_d_BinaryExtendedLegacy = BinaryExtendedLegacy;
|
|
4819
|
-
type bson_typings_d_BinarySequence = BinarySequence;
|
|
4820
|
-
type bson_typings_d_CalculateObjectSizeOptions = CalculateObjectSizeOptions;
|
|
4821
|
-
type bson_typings_d_Code = Code;
|
|
4822
|
-
declare const bson_typings_d_Code: typeof Code;
|
|
4823
|
-
type bson_typings_d_CodeExtended = CodeExtended;
|
|
4824
|
-
type bson_typings_d_DBRef = DBRef;
|
|
4825
|
-
declare const bson_typings_d_DBRef: typeof DBRef;
|
|
4826
|
-
type bson_typings_d_DBRefLike = DBRefLike;
|
|
4827
|
-
type bson_typings_d_Decimal128 = Decimal128;
|
|
4828
|
-
declare const bson_typings_d_Decimal128: typeof Decimal128;
|
|
4829
|
-
type bson_typings_d_Decimal128Extended = Decimal128Extended;
|
|
4830
|
-
type bson_typings_d_DeserializeOptions = DeserializeOptions;
|
|
4831
|
-
type bson_typings_d_Document = Document;
|
|
4832
|
-
type bson_typings_d_Double = Double;
|
|
4833
|
-
declare const bson_typings_d_Double: typeof Double;
|
|
4834
|
-
type bson_typings_d_DoubleExtended = DoubleExtended;
|
|
4835
|
-
declare const bson_typings_d_EJSON: typeof EJSON;
|
|
4836
|
-
type bson_typings_d_EJSONOptions = EJSONOptions;
|
|
4837
|
-
type bson_typings_d_Int32 = Int32;
|
|
4838
|
-
declare const bson_typings_d_Int32: typeof Int32;
|
|
4839
|
-
type bson_typings_d_Int32Extended = Int32Extended;
|
|
4840
|
-
type bson_typings_d_Long = Long;
|
|
4841
|
-
declare const bson_typings_d_Long: typeof Long;
|
|
4842
|
-
type bson_typings_d_LongExtended = LongExtended;
|
|
4843
|
-
type bson_typings_d_LongWithoutOverrides = LongWithoutOverrides;
|
|
4844
|
-
declare const bson_typings_d_LongWithoutOverridesClass: typeof LongWithoutOverridesClass;
|
|
4845
|
-
type bson_typings_d_MaxKey = MaxKey;
|
|
4846
|
-
declare const bson_typings_d_MaxKey: typeof MaxKey;
|
|
4847
|
-
type bson_typings_d_MaxKeyExtended = MaxKeyExtended;
|
|
4848
|
-
type bson_typings_d_MinKey = MinKey;
|
|
4849
|
-
declare const bson_typings_d_MinKey: typeof MinKey;
|
|
4850
|
-
type bson_typings_d_MinKeyExtended = MinKeyExtended;
|
|
4851
|
-
type bson_typings_d_ObjectId = ObjectId;
|
|
4852
|
-
declare const bson_typings_d_ObjectId: typeof ObjectId;
|
|
4853
|
-
type bson_typings_d_ObjectIdExtended = ObjectIdExtended;
|
|
4854
|
-
type bson_typings_d_ObjectIdLike = ObjectIdLike;
|
|
4855
|
-
type bson_typings_d_SerializeOptions = SerializeOptions;
|
|
4856
|
-
type bson_typings_d_Timestamp = Timestamp;
|
|
4857
|
-
declare const bson_typings_d_Timestamp: typeof Timestamp;
|
|
4858
|
-
type bson_typings_d_TimestampExtended = TimestampExtended;
|
|
4859
|
-
type bson_typings_d_TimestampOverrides = TimestampOverrides;
|
|
4860
|
-
type bson_typings_d_UUID = UUID;
|
|
4861
|
-
declare const bson_typings_d_UUID: typeof UUID;
|
|
4862
|
-
type bson_typings_d_UUIDExtended = UUIDExtended;
|
|
4863
|
-
declare const bson_typings_d_calculateObjectSize: typeof calculateObjectSize;
|
|
4864
|
-
declare const bson_typings_d_deserialize: typeof deserialize;
|
|
4865
|
-
declare const bson_typings_d_deserializeStream: typeof deserializeStream;
|
|
4866
|
-
declare const bson_typings_d_serialize: typeof serialize;
|
|
4867
|
-
declare const bson_typings_d_serializeWithBufferAndIndex: typeof serializeWithBufferAndIndex;
|
|
4868
|
-
declare const bson_typings_d_setInternalBufferSize: typeof setInternalBufferSize;
|
|
4869
|
-
declare namespace bson_typings_d {
|
|
4870
|
-
export { bson_typings_d_BSONError as BSONError, bson_typings_d_BSONRegExp as BSONRegExp, bson_typings_d_BSONRuntimeError as BSONRuntimeError, bson_typings_d_BSONSymbol as BSONSymbol, bson_typings_d_BSONValue as BSONValue, bson_typings_d_BSONVersionError as BSONVersionError, bson_typings_d_Binary as Binary, bson_typings_d_Code as Code, bson_typings_d_DBRef as DBRef, bson_typings_d_Decimal128 as Decimal128, bson_typings_d_Double as Double, bson_typings_d_EJSON as EJSON, bson_typings_d_Int32 as Int32, bson_typings_d_Long as Long, bson_typings_d_LongWithoutOverridesClass as LongWithoutOverridesClass, bson_typings_d_MaxKey as MaxKey, bson_typings_d_MinKey as MinKey, bson_typings_d_ObjectId as ObjectId, bson_typings_d_Timestamp as Timestamp, bson_typings_d_UUID as UUID, bson_typings_d_calculateObjectSize as calculateObjectSize, bson_typings_d_deserialize as deserialize, bson_typings_d_deserializeStream as deserializeStream, bson_typings_d_serialize as serialize, bson_typings_d_serializeWithBufferAndIndex as serializeWithBufferAndIndex, bson_typings_d_setInternalBufferSize as setInternalBufferSize };
|
|
4871
|
-
export type { bson_typings_d_BSONRegExpExtended as BSONRegExpExtended, bson_typings_d_BSONRegExpExtendedLegacy as BSONRegExpExtendedLegacy, bson_typings_d_BSONSymbolExtended as BSONSymbolExtended, bson_typings_d_BSONType as BSONType, bson_typings_d_BinaryExtended as BinaryExtended, bson_typings_d_BinaryExtendedLegacy as BinaryExtendedLegacy, bson_typings_d_BinarySequence as BinarySequence, bson_typings_d_CalculateObjectSizeOptions as CalculateObjectSizeOptions, bson_typings_d_CodeExtended as CodeExtended, bson_typings_d_DBRefLike as DBRefLike, bson_typings_d_Decimal128Extended as Decimal128Extended, bson_typings_d_DeserializeOptions as DeserializeOptions, bson_typings_d_Document as Document, bson_typings_d_DoubleExtended as DoubleExtended, bson_typings_d_EJSONOptions as EJSONOptions, bson_typings_d_Int32Extended as Int32Extended, bson_typings_d_LongExtended as LongExtended, bson_typings_d_LongWithoutOverrides as LongWithoutOverrides, bson_typings_d_MaxKeyExtended as MaxKeyExtended, bson_typings_d_MinKeyExtended as MinKeyExtended, bson_typings_d_ObjectIdExtended as ObjectIdExtended, bson_typings_d_ObjectIdLike as ObjectIdLike, bson_typings_d_SerializeOptions as SerializeOptions, bson_typings_d_TimestampExtended as TimestampExtended, bson_typings_d_TimestampOverrides as TimestampOverrides, bson_typings_d_UUIDExtended as UUIDExtended };
|
|
4872
|
-
}
|
|
4873
|
-
|
|
4874
4764
|
/** @public */
|
|
4875
4765
|
declare abstract class AbstractCursor<TSchema = any, CursorEvents extends AbstractCursorEvents = AbstractCursorEvents> extends TypedEventEmitter<CursorEvents> {
|
|
4876
4766
|
/** @event */
|
|
@@ -5318,8 +5208,8 @@ declare interface AuthMechanismProperties extends Document {
|
|
|
5318
5208
|
PROVIDER_NAME?: "aws";
|
|
5319
5209
|
}
|
|
5320
5210
|
/** @public */
|
|
5321
|
-
declare
|
|
5322
|
-
|
|
5211
|
+
declare interface AutoEncrypter {
|
|
5212
|
+
new (client: MongoClient, options: AutoEncryptionOptions): AutoEncrypter;
|
|
5323
5213
|
init(cb: Callback): void;
|
|
5324
5214
|
teardown(force: boolean, callback: Callback): void;
|
|
5325
5215
|
encrypt(ns: string, cmd: Document, options: any, callback: Callback<Document>): void;
|
|
@@ -10576,7 +10466,7 @@ interface SaveOptions {
|
|
|
10576
10466
|
* Flag to determine whether the entity that is being persisted
|
|
10577
10467
|
* should be reloaded during the persistence operation.
|
|
10578
10468
|
*
|
|
10579
|
-
* It will work only on databases which
|
|
10469
|
+
* It will work only on databases which does not support RETURNING / OUTPUT statement.
|
|
10580
10470
|
* Enabled by default.
|
|
10581
10471
|
*/
|
|
10582
10472
|
reload?: boolean;
|
|
@@ -12537,142 +12427,6 @@ declare class PlainObjectToNewEntityTransformer {
|
|
|
12537
12427
|
|
|
12538
12428
|
type IsolationLevel = "READ UNCOMMITTED" | "READ COMMITTED" | "REPEATABLE READ" | "SERIALIZABLE";
|
|
12539
12429
|
|
|
12540
|
-
/**
|
|
12541
|
-
* Query Builders can implement this interface to support where expression
|
|
12542
|
-
*/
|
|
12543
|
-
interface WhereExpressionBuilder {
|
|
12544
|
-
/**
|
|
12545
|
-
* Sets WHERE condition in the query builder.
|
|
12546
|
-
* If you had previously WHERE expression defined,
|
|
12547
|
-
* calling this function will override previously set WHERE conditions.
|
|
12548
|
-
* Additionally you can add parameters used in where expression.
|
|
12549
|
-
*/
|
|
12550
|
-
where(where: string, parameters?: ObjectLiteral): this;
|
|
12551
|
-
/**
|
|
12552
|
-
* Sets WHERE condition in the query builder.
|
|
12553
|
-
* If you had previously WHERE expression defined,
|
|
12554
|
-
* calling this function will override previously set WHERE conditions.
|
|
12555
|
-
* Additionally you can add parameters used in where expression.
|
|
12556
|
-
*/
|
|
12557
|
-
where(where: Brackets, parameters?: ObjectLiteral): this;
|
|
12558
|
-
/**
|
|
12559
|
-
* Sets WHERE condition in the query builder.
|
|
12560
|
-
* If you had previously WHERE expression defined,
|
|
12561
|
-
* calling this function will override previously set WHERE conditions.
|
|
12562
|
-
* Additionally you can add parameters used in where expression.
|
|
12563
|
-
*/
|
|
12564
|
-
where(where: ObjectLiteral, parameters?: ObjectLiteral): this;
|
|
12565
|
-
/**
|
|
12566
|
-
* Sets WHERE condition in the query builder.
|
|
12567
|
-
* If you had previously WHERE expression defined,
|
|
12568
|
-
* calling this function will override previously set WHERE conditions.
|
|
12569
|
-
* Additionally you can add parameters used in where expression.
|
|
12570
|
-
*/
|
|
12571
|
-
where(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
|
|
12572
|
-
/**
|
|
12573
|
-
* Sets WHERE condition in the query builder.
|
|
12574
|
-
* If you had previously WHERE expression defined,
|
|
12575
|
-
* calling this function will override previously set WHERE conditions.
|
|
12576
|
-
* Additionally you can add parameters used in where expression.
|
|
12577
|
-
*/
|
|
12578
|
-
where(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
|
|
12579
|
-
/**
|
|
12580
|
-
* Adds new AND WHERE condition in the query builder.
|
|
12581
|
-
* Additionally you can add parameters used in where expression.
|
|
12582
|
-
*/
|
|
12583
|
-
andWhere(where: string, parameters?: ObjectLiteral): this;
|
|
12584
|
-
/**
|
|
12585
|
-
* Adds new AND WHERE condition in the query builder.
|
|
12586
|
-
* Additionally you can add parameters used in where expression.
|
|
12587
|
-
*/
|
|
12588
|
-
andWhere(where: Brackets, parameters?: ObjectLiteral): this;
|
|
12589
|
-
/**
|
|
12590
|
-
* Adds new AND WHERE condition in the query builder.
|
|
12591
|
-
* Additionally you can add parameters used in where expression.
|
|
12592
|
-
*/
|
|
12593
|
-
andWhere(where: ObjectLiteral, parameters?: ObjectLiteral): this;
|
|
12594
|
-
/**
|
|
12595
|
-
* Adds new AND WHERE condition in the query builder.
|
|
12596
|
-
* Additionally you can add parameters used in where expression.
|
|
12597
|
-
*/
|
|
12598
|
-
andWhere(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
|
|
12599
|
-
/**
|
|
12600
|
-
* Adds new AND WHERE condition in the query builder.
|
|
12601
|
-
* Additionally you can add parameters used in where expression.
|
|
12602
|
-
*/
|
|
12603
|
-
andWhere(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
|
|
12604
|
-
/**
|
|
12605
|
-
* Adds new OR WHERE condition in the query builder.
|
|
12606
|
-
* Additionally you can add parameters used in where expression.
|
|
12607
|
-
*/
|
|
12608
|
-
orWhere(where: string, parameters?: ObjectLiteral): this;
|
|
12609
|
-
/**
|
|
12610
|
-
* Adds new OR WHERE condition in the query builder.
|
|
12611
|
-
* Additionally you can add parameters used in where expression.
|
|
12612
|
-
*/
|
|
12613
|
-
orWhere(where: Brackets, parameters?: ObjectLiteral): this;
|
|
12614
|
-
/**
|
|
12615
|
-
* Adds new OR WHERE condition in the query builder.
|
|
12616
|
-
* Additionally you can add parameters used in where expression.
|
|
12617
|
-
*/
|
|
12618
|
-
orWhere(where: ObjectLiteral, parameters?: ObjectLiteral): this;
|
|
12619
|
-
/**
|
|
12620
|
-
* Adds new OR WHERE condition in the query builder.
|
|
12621
|
-
* Additionally you can add parameters used in where expression.
|
|
12622
|
-
*/
|
|
12623
|
-
orWhere(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
|
|
12624
|
-
/**
|
|
12625
|
-
* Adds new OR WHERE condition in the query builder.
|
|
12626
|
-
* Additionally you can add parameters used in where expression.
|
|
12627
|
-
*/
|
|
12628
|
-
orWhere(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
|
|
12629
|
-
/**
|
|
12630
|
-
* Sets WHERE condition in the query builder with a condition for the given ids.
|
|
12631
|
-
* If you had previously WHERE expression defined,
|
|
12632
|
-
* calling this function will override previously set WHERE conditions.
|
|
12633
|
-
*
|
|
12634
|
-
* Ids are mixed.
|
|
12635
|
-
* It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
|
|
12636
|
-
* If you have multiple primary keys you need to pass object with property names and values specified,
|
|
12637
|
-
* for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
|
|
12638
|
-
*/
|
|
12639
|
-
whereInIds(ids: any | any[]): this;
|
|
12640
|
-
/**
|
|
12641
|
-
* Adds new AND WHERE with conditions for the given ids.
|
|
12642
|
-
*
|
|
12643
|
-
* Ids are mixed.
|
|
12644
|
-
* It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
|
|
12645
|
-
* If you have multiple primary keys you need to pass object with property names and values specified,
|
|
12646
|
-
* for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
|
|
12647
|
-
*/
|
|
12648
|
-
andWhereInIds(ids: any | any[]): this;
|
|
12649
|
-
/**
|
|
12650
|
-
* Adds new OR WHERE with conditions for the given ids.
|
|
12651
|
-
*
|
|
12652
|
-
* Ids are mixed.
|
|
12653
|
-
* It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
|
|
12654
|
-
* If you have multiple primary keys you need to pass object with property names and values specified,
|
|
12655
|
-
* for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
|
|
12656
|
-
*/
|
|
12657
|
-
orWhereInIds(ids: any | any[]): this;
|
|
12658
|
-
}
|
|
12659
|
-
|
|
12660
|
-
/**
|
|
12661
|
-
* Syntax sugar.
|
|
12662
|
-
* Allows to use brackets in WHERE expressions for better syntax.
|
|
12663
|
-
*/
|
|
12664
|
-
declare class Brackets {
|
|
12665
|
-
readonly "@instanceof": symbol;
|
|
12666
|
-
/**
|
|
12667
|
-
* WHERE expression that will be taken into brackets.
|
|
12668
|
-
*/
|
|
12669
|
-
whereFactory: (qb: WhereExpressionBuilder) => any;
|
|
12670
|
-
/**
|
|
12671
|
-
* Given WHERE query builder that will build a WHERE expression that will be taken into brackets.
|
|
12672
|
-
*/
|
|
12673
|
-
constructor(whereFactory: (qb: WhereExpressionBuilder) => any);
|
|
12674
|
-
}
|
|
12675
|
-
|
|
12676
12430
|
type InsertOrUpdateOptions = {
|
|
12677
12431
|
/**
|
|
12678
12432
|
* If true, postgres will skip the update if no values would be changed (reduces writes)
|
|
@@ -12683,10 +12437,6 @@ type InsertOrUpdateOptions = {
|
|
|
12683
12437
|
*/
|
|
12684
12438
|
indexPredicate?: string;
|
|
12685
12439
|
upsertType?: UpsertType;
|
|
12686
|
-
overwriteCondition?: {
|
|
12687
|
-
where: string | Brackets | ObjectLiteral | ObjectLiteral[];
|
|
12688
|
-
parameters?: ObjectLiteral;
|
|
12689
|
-
};
|
|
12690
12440
|
};
|
|
12691
12441
|
|
|
12692
12442
|
/**
|
|
@@ -12757,7 +12507,7 @@ declare class EntityManager {
|
|
|
12757
12507
|
/**
|
|
12758
12508
|
* Executes raw SQL query and returns raw database results.
|
|
12759
12509
|
*
|
|
12760
|
-
* @see [Official docs](https://typeorm.io/
|
|
12510
|
+
* @see [Official docs](https://typeorm.io/entity-manager-api) for examples.
|
|
12761
12511
|
*/
|
|
12762
12512
|
query<T = any>(query: string, parameters?: any[]): Promise<T>;
|
|
12763
12513
|
/**
|
|
@@ -12947,7 +12697,7 @@ declare class EntityManager {
|
|
|
12947
12697
|
/**
|
|
12948
12698
|
* Restores entities by a given condition(s).
|
|
12949
12699
|
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
|
12950
|
-
* Executes fast and efficient
|
|
12700
|
+
* Executes fast and efficient DELETE query.
|
|
12951
12701
|
* Does not check if entity exist in the database.
|
|
12952
12702
|
* Condition(s) cannot be empty.
|
|
12953
12703
|
*/
|
|
@@ -13284,14 +13034,14 @@ declare class Repository<Entity extends ObjectLiteral> {
|
|
|
13284
13034
|
/**
|
|
13285
13035
|
* Records the delete date of entities by a given criteria.
|
|
13286
13036
|
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
|
13287
|
-
* Executes fast and efficient
|
|
13037
|
+
* Executes fast and efficient SOFT-DELETE query.
|
|
13288
13038
|
* Does not check if entity exist in the database.
|
|
13289
13039
|
*/
|
|
13290
13040
|
softDelete(criteria: string | string[] | number | number[] | Date | Date[] | ObjectId | ObjectId[] | FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<UpdateResult>;
|
|
13291
13041
|
/**
|
|
13292
13042
|
* Restores entities by a given criteria.
|
|
13293
13043
|
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
|
13294
|
-
* Executes fast and efficient
|
|
13044
|
+
* Executes fast and efficient SOFT-DELETE query.
|
|
13295
13045
|
* Does not check if entity exist in the database.
|
|
13296
13046
|
*/
|
|
13297
13047
|
restore(criteria: string | string[] | number | number[] | Date | Date[] | ObjectId | ObjectId[] | FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<UpdateResult>;
|
|
@@ -14624,13 +14374,13 @@ interface MongoConnectionOptions extends BaseDataSourceOptions {
|
|
|
14624
14374
|
readonly socketTimeoutMS?: number;
|
|
14625
14375
|
/**
|
|
14626
14376
|
* @deprecated A boolean to enable or disables TLS/SSL for the connection.
|
|
14627
|
-
* (The ssl option is equivalent to the
|
|
14377
|
+
* (The ssl option is equivalent to the tls option.)
|
|
14628
14378
|
*/
|
|
14629
14379
|
readonly ssl?: boolean;
|
|
14630
14380
|
/**
|
|
14631
14381
|
* @deprecated SSL Root Certificate file path.
|
|
14632
14382
|
*
|
|
14633
|
-
* Will be removed in the next major version. Please use
|
|
14383
|
+
* Will be removed in the next major version. Please use tlsCAFile instead.
|
|
14634
14384
|
*/
|
|
14635
14385
|
readonly sslCA?: string;
|
|
14636
14386
|
/**
|
|
@@ -14642,25 +14392,25 @@ interface MongoConnectionOptions extends BaseDataSourceOptions {
|
|
|
14642
14392
|
/**
|
|
14643
14393
|
* @deprecated SSL Certificate file path.
|
|
14644
14394
|
*
|
|
14645
|
-
* Will be removed in the next major version. Please use
|
|
14395
|
+
* Will be removed in the next major version. Please use tlsCertificateKeyFile instead.
|
|
14646
14396
|
*/
|
|
14647
14397
|
readonly sslCert?: string;
|
|
14648
14398
|
/**
|
|
14649
14399
|
* @deprecated SSL Key file file path.
|
|
14650
14400
|
*
|
|
14651
|
-
* Will be removed in the next major version. Please use
|
|
14401
|
+
* Will be removed in the next major version. Please use tlsCertificateKeyFile instead.
|
|
14652
14402
|
*/
|
|
14653
14403
|
readonly sslKey?: string;
|
|
14654
14404
|
/**
|
|
14655
14405
|
* @deprecated SSL Certificate pass phrase.
|
|
14656
14406
|
*
|
|
14657
|
-
* Will be removed in the next major version. Please use
|
|
14407
|
+
* Will be removed in the next major version. Please use tlsCertificateKeyFilePassword instead.
|
|
14658
14408
|
*/
|
|
14659
14409
|
readonly sslPass?: string;
|
|
14660
14410
|
/**
|
|
14661
14411
|
* @deprecated Validate mongod server certificate against Certificate Authority
|
|
14662
14412
|
*
|
|
14663
|
-
* Will be removed in the next major version. Please use
|
|
14413
|
+
* Will be removed in the next major version. Please use tlsAllowInvalidCertificates instead.
|
|
14664
14414
|
*/
|
|
14665
14415
|
readonly sslValidate?: boolean;
|
|
14666
14416
|
/**
|
|
@@ -14680,13 +14430,13 @@ interface MongoConnectionOptions extends BaseDataSourceOptions {
|
|
|
14680
14430
|
*/
|
|
14681
14431
|
readonly tlsCertificateKeyFile?: string;
|
|
14682
14432
|
/**
|
|
14683
|
-
* Specifies the password to de-crypt the
|
|
14433
|
+
* Specifies the password to de-crypt the tlsCertificateKeyFile.
|
|
14684
14434
|
*/
|
|
14685
14435
|
readonly tlsCertificateKeyFilePassword?: string;
|
|
14686
14436
|
/**
|
|
14687
14437
|
* @deprecated The write concern w value
|
|
14688
14438
|
*
|
|
14689
|
-
* Please use the
|
|
14439
|
+
* Please use the `writeConcern` option instead
|
|
14690
14440
|
*/
|
|
14691
14441
|
readonly w?: string | number;
|
|
14692
14442
|
/**
|
|
@@ -14697,7 +14447,7 @@ interface MongoConnectionOptions extends BaseDataSourceOptions {
|
|
|
14697
14447
|
/**
|
|
14698
14448
|
* @deprecated The write concern timeout
|
|
14699
14449
|
*
|
|
14700
|
-
* Please use the
|
|
14450
|
+
* Please use the `writeConcern` option instead
|
|
14701
14451
|
*/
|
|
14702
14452
|
readonly wtimeoutMS?: number;
|
|
14703
14453
|
}
|
|
@@ -14990,66 +14740,40 @@ interface SapConnectionOptions extends BaseDataSourceOptions, SapConnectionCrede
|
|
|
14990
14740
|
readonly schema?: string;
|
|
14991
14741
|
/**
|
|
14992
14742
|
* The driver objects
|
|
14993
|
-
* This defaults to require("
|
|
14743
|
+
* This defaults to require("hdb-pool")
|
|
14994
14744
|
*/
|
|
14995
14745
|
readonly driver?: any;
|
|
14996
14746
|
/**
|
|
14997
|
-
*
|
|
14747
|
+
* The driver objects
|
|
14748
|
+
* This defaults to require("@sap/hana-client")
|
|
14998
14749
|
*/
|
|
14999
14750
|
readonly hanaClientDriver?: any;
|
|
15000
14751
|
/**
|
|
15001
14752
|
* Pool options.
|
|
15002
14753
|
*/
|
|
15003
14754
|
readonly pool?: {
|
|
15004
|
-
/**
|
|
15005
|
-
* Maximum number of open connections created by the pool, each of which
|
|
15006
|
-
* may be in the pool waiting to be reused or may no longer be in the
|
|
15007
|
-
* pool and actively being used (default: 10).
|
|
15008
|
-
*/
|
|
15009
|
-
readonly maxConnectedOrPooled?: number;
|
|
15010
|
-
/**
|
|
15011
|
-
* Defines the maximum time, in seconds, that connections are allowed to
|
|
15012
|
-
* remain in the pool before being marked for eviction (default: 30).
|
|
15013
|
-
*/
|
|
15014
|
-
readonly maxPooledIdleTime?: number;
|
|
15015
|
-
/**
|
|
15016
|
-
* Determines whether or not the pooled connection should be tested for
|
|
15017
|
-
* viability before being reused (default: false).
|
|
15018
|
-
*/
|
|
15019
|
-
readonly pingCheck?: boolean;
|
|
15020
|
-
/**
|
|
15021
|
-
* Maximum number of connections allowed to be in the pool, waiting to
|
|
15022
|
-
* be reused (default: 0, no limit).
|
|
15023
|
-
*/
|
|
15024
|
-
readonly poolCapacity?: number;
|
|
15025
14755
|
/**
|
|
15026
14756
|
* Max number of connections.
|
|
15027
|
-
* @deprecated Use {@link maxConnectedOrPooled} instead.
|
|
15028
14757
|
*/
|
|
15029
14758
|
readonly max?: number;
|
|
15030
14759
|
/**
|
|
15031
14760
|
* Minimum number of connections.
|
|
15032
|
-
* @deprecated Obsolete, no alternative exists.
|
|
15033
14761
|
*/
|
|
15034
14762
|
readonly min?: number;
|
|
15035
14763
|
/**
|
|
15036
|
-
* Maximum number of waiting requests allowed.
|
|
15037
|
-
* @deprecated Obsolete, no alternative exists.
|
|
14764
|
+
* Maximum number of waiting requests allowed. (default=0, no limit).
|
|
15038
14765
|
*/
|
|
15039
14766
|
readonly maxWaitingRequests?: number;
|
|
15040
14767
|
/**
|
|
15041
|
-
* Max milliseconds a request will wait for a resource before timing out.
|
|
15042
|
-
* @deprecated Obsolete, no alternative exists.
|
|
14768
|
+
* Max milliseconds a request will wait for a resource before timing out. (default=5000)
|
|
15043
14769
|
*/
|
|
15044
14770
|
readonly requestTimeout?: number;
|
|
15045
14771
|
/**
|
|
15046
|
-
* How often to run resource timeout checks.
|
|
15047
|
-
* @deprecated Obsolete, no alternative exists.
|
|
14772
|
+
* How often to run resource timeout checks. (default=0, disabled)
|
|
15048
14773
|
*/
|
|
15049
14774
|
readonly checkInterval?: number;
|
|
15050
14775
|
/**
|
|
15051
|
-
* Idle timeout
|
|
15052
|
-
* @deprecated Use {@link maxPooledIdleTime} (in seconds) instead .
|
|
14776
|
+
* Idle timeout
|
|
15053
14777
|
*/
|
|
15054
14778
|
readonly idleTimeout?: number;
|
|
15055
14779
|
/**
|
|
@@ -15058,6 +14782,7 @@ interface SapConnectionOptions extends BaseDataSourceOptions, SapConnectionCrede
|
|
|
15058
14782
|
*/
|
|
15059
14783
|
readonly poolErrorHandler?: (err: any) => any;
|
|
15060
14784
|
};
|
|
14785
|
+
readonly poolSize?: never;
|
|
15061
14786
|
}
|
|
15062
14787
|
|
|
15063
14788
|
/**
|
|
@@ -15215,19 +14940,6 @@ interface SpannerConnectionCredentialsOptions {
|
|
|
15215
14940
|
* Database host port.
|
|
15216
14941
|
*/
|
|
15217
14942
|
readonly databaseId?: string;
|
|
15218
|
-
/**
|
|
15219
|
-
* Object containing client_email and private_key properties, or the external account client options. Cannot be used with apiKey.
|
|
15220
|
-
*/
|
|
15221
|
-
readonly credentials?: {
|
|
15222
|
-
/**
|
|
15223
|
-
* Client email connection credentials (Optional)
|
|
15224
|
-
*/
|
|
15225
|
-
readonly client_email: string;
|
|
15226
|
-
/**
|
|
15227
|
-
* Private key connection credentials (Optional)
|
|
15228
|
-
*/
|
|
15229
|
-
readonly private_key: string;
|
|
15230
|
-
};
|
|
15231
14943
|
}
|
|
15232
14944
|
|
|
15233
14945
|
/**
|
|
@@ -15303,6 +15015,11 @@ interface SpannerConnectionOptions extends BaseConnectionOptions, SpannerConnect
|
|
|
15303
15015
|
* (Default: false)
|
|
15304
15016
|
*/
|
|
15305
15017
|
readonly multipleStatements?: boolean;
|
|
15018
|
+
/**
|
|
15019
|
+
* Use spatial functions like GeomFromText and AsText which are removed in MySQL 8.
|
|
15020
|
+
* (Default: true)
|
|
15021
|
+
*/
|
|
15022
|
+
readonly legacySpatialSupport?: boolean;
|
|
15306
15023
|
/**
|
|
15307
15024
|
* List of connection flags to use other than the default ones. It is also possible to blacklist default ones.
|
|
15308
15025
|
* For more information, check https://github.com/mysqljs/mysql#connection-flags.
|
|
@@ -16080,7 +15797,6 @@ declare class QueryExpressionMap {
|
|
|
16080
15797
|
skipUpdateIfNoValuesChanged?: boolean;
|
|
16081
15798
|
indexPredicate?: string;
|
|
16082
15799
|
upsertType?: UpsertType;
|
|
16083
|
-
overwriteCondition?: WhereClause[];
|
|
16084
15800
|
};
|
|
16085
15801
|
/**
|
|
16086
15802
|
* JOIN queries.
|
|
@@ -16305,6 +16021,142 @@ declare class QueryExpressionMap {
|
|
|
16305
16021
|
clone(): QueryExpressionMap;
|
|
16306
16022
|
}
|
|
16307
16023
|
|
|
16024
|
+
/**
|
|
16025
|
+
* Syntax sugar.
|
|
16026
|
+
* Allows to use brackets in WHERE expressions for better syntax.
|
|
16027
|
+
*/
|
|
16028
|
+
declare class Brackets {
|
|
16029
|
+
readonly "@instanceof": symbol;
|
|
16030
|
+
/**
|
|
16031
|
+
* WHERE expression that will be taken into brackets.
|
|
16032
|
+
*/
|
|
16033
|
+
whereFactory: (qb: WhereExpressionBuilder) => any;
|
|
16034
|
+
/**
|
|
16035
|
+
* Given WHERE query builder that will build a WHERE expression that will be taken into brackets.
|
|
16036
|
+
*/
|
|
16037
|
+
constructor(whereFactory: (qb: WhereExpressionBuilder) => any);
|
|
16038
|
+
}
|
|
16039
|
+
|
|
16040
|
+
/**
|
|
16041
|
+
* Query Builders can implement this interface to support where expression
|
|
16042
|
+
*/
|
|
16043
|
+
interface WhereExpressionBuilder {
|
|
16044
|
+
/**
|
|
16045
|
+
* Sets WHERE condition in the query builder.
|
|
16046
|
+
* If you had previously WHERE expression defined,
|
|
16047
|
+
* calling this function will override previously set WHERE conditions.
|
|
16048
|
+
* Additionally you can add parameters used in where expression.
|
|
16049
|
+
*/
|
|
16050
|
+
where(where: string, parameters?: ObjectLiteral): this;
|
|
16051
|
+
/**
|
|
16052
|
+
* Sets WHERE condition in the query builder.
|
|
16053
|
+
* If you had previously WHERE expression defined,
|
|
16054
|
+
* calling this function will override previously set WHERE conditions.
|
|
16055
|
+
* Additionally you can add parameters used in where expression.
|
|
16056
|
+
*/
|
|
16057
|
+
where(where: Brackets, parameters?: ObjectLiteral): this;
|
|
16058
|
+
/**
|
|
16059
|
+
* Sets WHERE condition in the query builder.
|
|
16060
|
+
* If you had previously WHERE expression defined,
|
|
16061
|
+
* calling this function will override previously set WHERE conditions.
|
|
16062
|
+
* Additionally you can add parameters used in where expression.
|
|
16063
|
+
*/
|
|
16064
|
+
where(where: ObjectLiteral, parameters?: ObjectLiteral): this;
|
|
16065
|
+
/**
|
|
16066
|
+
* Sets WHERE condition in the query builder.
|
|
16067
|
+
* If you had previously WHERE expression defined,
|
|
16068
|
+
* calling this function will override previously set WHERE conditions.
|
|
16069
|
+
* Additionally you can add parameters used in where expression.
|
|
16070
|
+
*/
|
|
16071
|
+
where(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
|
|
16072
|
+
/**
|
|
16073
|
+
* Sets WHERE condition in the query builder.
|
|
16074
|
+
* If you had previously WHERE expression defined,
|
|
16075
|
+
* calling this function will override previously set WHERE conditions.
|
|
16076
|
+
* Additionally you can add parameters used in where expression.
|
|
16077
|
+
*/
|
|
16078
|
+
where(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
|
|
16079
|
+
/**
|
|
16080
|
+
* Adds new AND WHERE condition in the query builder.
|
|
16081
|
+
* Additionally you can add parameters used in where expression.
|
|
16082
|
+
*/
|
|
16083
|
+
andWhere(where: string, parameters?: ObjectLiteral): this;
|
|
16084
|
+
/**
|
|
16085
|
+
* Adds new AND WHERE condition in the query builder.
|
|
16086
|
+
* Additionally you can add parameters used in where expression.
|
|
16087
|
+
*/
|
|
16088
|
+
andWhere(where: Brackets, parameters?: ObjectLiteral): this;
|
|
16089
|
+
/**
|
|
16090
|
+
* Adds new AND WHERE condition in the query builder.
|
|
16091
|
+
* Additionally you can add parameters used in where expression.
|
|
16092
|
+
*/
|
|
16093
|
+
andWhere(where: ObjectLiteral, parameters?: ObjectLiteral): this;
|
|
16094
|
+
/**
|
|
16095
|
+
* Adds new AND WHERE condition in the query builder.
|
|
16096
|
+
* Additionally you can add parameters used in where expression.
|
|
16097
|
+
*/
|
|
16098
|
+
andWhere(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
|
|
16099
|
+
/**
|
|
16100
|
+
* Adds new AND WHERE condition in the query builder.
|
|
16101
|
+
* Additionally you can add parameters used in where expression.
|
|
16102
|
+
*/
|
|
16103
|
+
andWhere(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
|
|
16104
|
+
/**
|
|
16105
|
+
* Adds new OR WHERE condition in the query builder.
|
|
16106
|
+
* Additionally you can add parameters used in where expression.
|
|
16107
|
+
*/
|
|
16108
|
+
orWhere(where: string, parameters?: ObjectLiteral): this;
|
|
16109
|
+
/**
|
|
16110
|
+
* Adds new OR WHERE condition in the query builder.
|
|
16111
|
+
* Additionally you can add parameters used in where expression.
|
|
16112
|
+
*/
|
|
16113
|
+
orWhere(where: Brackets, parameters?: ObjectLiteral): this;
|
|
16114
|
+
/**
|
|
16115
|
+
* Adds new OR WHERE condition in the query builder.
|
|
16116
|
+
* Additionally you can add parameters used in where expression.
|
|
16117
|
+
*/
|
|
16118
|
+
orWhere(where: ObjectLiteral, parameters?: ObjectLiteral): this;
|
|
16119
|
+
/**
|
|
16120
|
+
* Adds new OR WHERE condition in the query builder.
|
|
16121
|
+
* Additionally you can add parameters used in where expression.
|
|
16122
|
+
*/
|
|
16123
|
+
orWhere(where: ObjectLiteral[], parameters?: ObjectLiteral): this;
|
|
16124
|
+
/**
|
|
16125
|
+
* Adds new OR WHERE condition in the query builder.
|
|
16126
|
+
* Additionally you can add parameters used in where expression.
|
|
16127
|
+
*/
|
|
16128
|
+
orWhere(subQuery: (qb: this) => string, parameters?: ObjectLiteral): this;
|
|
16129
|
+
/**
|
|
16130
|
+
* Sets WHERE condition in the query builder with a condition for the given ids.
|
|
16131
|
+
* If you had previously WHERE expression defined,
|
|
16132
|
+
* calling this function will override previously set WHERE conditions.
|
|
16133
|
+
*
|
|
16134
|
+
* Ids are mixed.
|
|
16135
|
+
* It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
|
|
16136
|
+
* If you have multiple primary keys you need to pass object with property names and values specified,
|
|
16137
|
+
* for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
|
|
16138
|
+
*/
|
|
16139
|
+
whereInIds(ids: any | any[]): this;
|
|
16140
|
+
/**
|
|
16141
|
+
* Adds new AND WHERE with conditions for the given ids.
|
|
16142
|
+
*
|
|
16143
|
+
* Ids are mixed.
|
|
16144
|
+
* It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
|
|
16145
|
+
* If you have multiple primary keys you need to pass object with property names and values specified,
|
|
16146
|
+
* for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
|
|
16147
|
+
*/
|
|
16148
|
+
andWhereInIds(ids: any | any[]): this;
|
|
16149
|
+
/**
|
|
16150
|
+
* Adds new OR WHERE with conditions for the given ids.
|
|
16151
|
+
*
|
|
16152
|
+
* Ids are mixed.
|
|
16153
|
+
* It means if you have single primary key you can pass a simple id values, for example [1, 2, 3].
|
|
16154
|
+
* If you have multiple primary keys you need to pass object with property names and values specified,
|
|
16155
|
+
* for example [{ firstId: 1, secondId: 2 }, { firstId: 2, secondId: 3 }, ...]
|
|
16156
|
+
*/
|
|
16157
|
+
orWhereInIds(ids: any | any[]): this;
|
|
16158
|
+
}
|
|
16159
|
+
|
|
16308
16160
|
/**
|
|
16309
16161
|
* Allows to build complex sql queries in a fashion way and execute those queries.
|
|
16310
16162
|
*/
|
|
@@ -16763,23 +16615,6 @@ declare class InsertQueryBuilder<Entity extends ObjectLiteral> extends QueryBuil
|
|
|
16763
16615
|
* @param column
|
|
16764
16616
|
*/
|
|
16765
16617
|
protected isOverridingAutoIncrementBehavior(column: ColumnMetadata): boolean;
|
|
16766
|
-
/**
|
|
16767
|
-
* Creates MERGE express used to perform insert query.
|
|
16768
|
-
*/
|
|
16769
|
-
protected createMergeExpression(): string;
|
|
16770
|
-
/**
|
|
16771
|
-
* Creates list of values needs to be inserted in the VALUES expression.
|
|
16772
|
-
*/
|
|
16773
|
-
protected createMergeIntoSourceExpression(mergeSourceAlias: string): string;
|
|
16774
|
-
/**
|
|
16775
|
-
* Creates list of values needs to be inserted in the VALUES expression.
|
|
16776
|
-
*/
|
|
16777
|
-
protected createMergeIntoInsertValuesExpression(mergeSourceAlias: string): string;
|
|
16778
|
-
/**
|
|
16779
|
-
* Create upsert search condition expression.
|
|
16780
|
-
*/
|
|
16781
|
-
protected createUpsertConditionExpression(): string;
|
|
16782
|
-
protected createColumnValueExpression(valueSets: ObjectLiteral[], valueSetIndex: number, column: ColumnMetadata): string;
|
|
16783
16618
|
}
|
|
16784
16619
|
|
|
16785
16620
|
/**
|
|
@@ -17691,7 +17526,6 @@ declare class SelectQueryBuilder<Entity extends ObjectLiteral> extends QueryBuil
|
|
|
17691
17526
|
* This method is useful to build pagination.
|
|
17692
17527
|
*/
|
|
17693
17528
|
getManyAndCount(): Promise<[Entity[], number]>;
|
|
17694
|
-
private lazyCount;
|
|
17695
17529
|
/**
|
|
17696
17530
|
* Executes built SQL query and returns raw data stream.
|
|
17697
17531
|
*/
|
|
@@ -19381,5 +19215,5 @@ interface QueryResultCache {
|
|
|
19381
19215
|
remove(identifiers: string[], queryRunner?: QueryRunner): Promise<void>;
|
|
19382
19216
|
}
|
|
19383
19217
|
|
|
19384
|
-
export {
|
|
19385
|
-
export type {
|
|
19218
|
+
export { AbstractCursor, Admin, AggregationCursor, AuthMechanism, AutoEncryptionLoggerLevel, BSON, BSONRegExp, BSONSymbol, BSONType, Batch, BatchType, Binary, Brackets, BulkOperationBase, BulkWriteResult, CURSOR_FLAGS, CancellationToken, ChangeStream, ClientSession, Code, Collection, ColumnMetadata, CommandFailedEvent, CommandStartedEvent, CommandSucceededEvent, Compressor, ConnectionCheckOutFailedEvent, ConnectionCheckOutStartedEvent, ConnectionCheckedInEvent, ConnectionCheckedOutEvent, ConnectionClosedEvent, ConnectionCreatedEvent, ConnectionPoolClearedEvent, ConnectionPoolClosedEvent, ConnectionPoolCreatedEvent, ConnectionPoolMonitoringEvent, ConnectionPoolReadyEvent, ConnectionReadyEvent, DBRef, DataSource, Db, Decimal128, DeleteQueryBuilder, DeleteResult, Double, EntityManager, EntityMetadata, EntitySchema, EntitySchemaEmbeddedColumnOptions, EntitySchemaOptions, EqualOperator, ExplainVerbosity, FindCursor, FindOperator, FindOperators, GSSAPICanonicalizationValue, GridFSBucket, GridFSBucketReadStream, GridFSBucketWriteStream, HostAddress, InsertQueryBuilder, InsertResult, Int32, LEGAL_TCP_SOCKET_OPTIONS, LEGAL_TLS_SOCKET_OPTIONS, ListCollectionsCursor, ListIndexesCursor, Long, MONGO_CLIENT_EVENTS, MaxKey, Migration, MinKey, MongoAPIError, MongoAWSError, MongoBatchReExecutionError, MongoBulkWriteError, MongoChangeStreamError, MongoClient, MongoCompatibilityError, MongoCredentials, MongoCursorExhaustedError, MongoCursorInUseError, MongoDBNamespace, MongoDecompressionError, MongoDriverError, MongoEntityManager, MongoError, MongoErrorLabel, MongoExpiredSessionError, MongoGridFSChunkError, MongoGridFSStreamError, MongoInvalidArgumentError, MongoKerberosError, MongoMissingCredentialsError, MongoMissingDependencyError, MongoNetworkError, MongoNetworkTimeoutError, MongoNotConnectedError, MongoParseError, MongoRepository, MongoRuntimeError, MongoServerClosedError, MongoServerError, MongoServerSelectionError, MongoSystemError, MongoTailableCursorError, MongoTopologyClosedError, MongoTransactionError, MongoUnexpectedServerResponseError, MongoWriteConcernError, NotBrackets, ObjectId, OrderedBulkOperation, ProfilingLevel, Query, QueryBuilder, QueryResult, ReadConcern, ReadConcernLevel, ReadPreference, ReadPreferenceMode, RelationMetadata, RelationQueryBuilder, Repository, ReturnDocument, SelectQueryBuilder, ServerApiVersion, ServerCapabilities, ServerClosedEvent, ServerDescription, ServerDescriptionChangedEvent, ServerHeartbeatFailedEvent, ServerHeartbeatStartedEvent, ServerHeartbeatSucceededEvent, ServerOpeningEvent, ServerSession, ServerType, SoftDeleteQueryBuilder, SqlInMemory, SqljsEntityManager, StreamDescription, Table, TableCheck, TableColumn, TableExclusion, TableForeignKey, TableIndex, TableUnique, Timestamp, TopologyClosedEvent, TopologyDescription, TopologyDescriptionChangedEvent, TopologyOpeningEvent, TopologyType, Transaction, TreeRepository, TypedEventEmitter, UnorderedBulkOperation, UpdateQueryBuilder, UpdateResult, View, WriteConcern, WriteConcernError, WriteError, deserialize, serialize };
|
|
19219
|
+
export type { AbstractCursorEvents, AbstractCursorOptions, AcceptedFields, AddToSetOperators, AddUserOptions, AggregateOptions, AggregationCursorOptions, AlternativeType, AnyBulkWriteOperation, AnyError, ArrayElement, ArrayOperator, AuroraMysqlConnectionCredentialsOptions, AuroraMysqlConnectionOptions, AuroraPostgresConnectionOptions, Auth, AuthMechanismProperties, AutoEncrypter, AutoEncryptionOptions, AutoEncryptionTlsOptions, BSONSerializeOptions, BSONTypeAlias, BetterSqlite3ConnectionOptions, BitwiseFilter, BulkWriteOperationError, BulkWriteOptions, Callback, CapacitorConnectionOptions, ChangeStreamCollModDocument, ChangeStreamCreateDocument, ChangeStreamCreateIndexDocument, ChangeStreamDeleteDocument, ChangeStreamDocument, ChangeStreamDocumentCollectionUUID, ChangeStreamDocumentCommon, ChangeStreamDocumentKey, ChangeStreamDocumentOperationDescription, ChangeStreamDropDatabaseDocument, ChangeStreamDropDocument, ChangeStreamDropIndexDocument, ChangeStreamEvents, ChangeStreamInsertDocument, ChangeStreamInvalidateDocument, ChangeStreamNameSpace, ChangeStreamOptions, ChangeStreamRefineCollectionShardKeyDocument, ChangeStreamRenameDocument, ChangeStreamReplaceDocument, ChangeStreamReshardCollectionDocument, ChangeStreamShardCollectionDocument, ChangeStreamUpdateDocument, CheckMetadataArgs, ClientMetadata, ClientMetadataOptions, ClientSessionEvents, ClientSessionOptions, CloseOptions, ClosureTreeOptions, ClusterTime, ClusteredCollectionOptions, CockroachConnectionCredentialsOptions, CockroachConnectionOptions, CollStats, CollStatsOptions, CollationOptions, CollectionInfo, CollectionOptions, ColumnCommonOptions, ColumnMetadataArgs, ColumnOptions, ColumnType, CommandOperationOptions, CommonEvents, CompressorName, Condition, ConnectOptions, ConnectionEvents, ConnectionOptions, ConnectionPoolEvents, ConnectionPoolOptions, CordovaConnectionOptions, CountDocumentsOptions, CountOptions, CreateCollectionOptions, CreateIndexesOptions, CursorFlag, CursorStreamOptions, DataSourceOptions, DatabaseType, DbOptions, DbStatsOptions, DeepPartial, DeferrableType, DeleteManyModel, DeleteOneModel, DeleteOptions, DeleteStatement, DistinctOptions, Document, Driver, DriverInfo, DropCollectionOptions, DropDatabaseOptions, DropIndexesOptions, EmbeddedMetadataArgs, EndSessionOptions, EnhancedOmit, EntityListenerMetadataArgs, EntitySchemaColumnOptions, EntitySchemaIndexOptions, EntitySchemaRelationOptions, EntitySubscriberInterface, EntityTarget, ErrorDescription, EstimatedDocumentCountOptions, EvalOptions, EventEmitterWithState, EventsDescription, ExclusionMetadataArgs, ExplainOptions, ExplainVerbosityLike, ExpoConnectionOptions, Feature, FeatureCollection, FileLoggerOptions, Filter, FilterOperations, FilterOperators, FindManyOptions, FindOneAndDeleteOptions, FindOneAndReplaceOptions, FindOneAndUpdateOptions, FindOneOptions, FindOperatorType, FindOptions, FindOptionsOrder, FindOptionsOrderProperty, FindOptionsOrderValue, FindOptionsRelationByString, FindOptionsRelations, FindOptionsRelationsProperty, FindOptionsSelect, FindOptionsSelectByString, FindOptionsSelectProperty, FindOptionsWhere, FindOptionsWhereProperty, FindTreeOptions, Flatten, GenericListener, GeoJSON, Geography, Geometry, GeometryCollection, GridFSBucketEvents, GridFSBucketOptions, GridFSBucketReadStreamOptions, GridFSBucketReadStreamOptionsWithRevision, GridFSBucketWriteStreamOptions, GridFSChunk, GridFSFile, HedgeOptions, Hint, IndexDescription, IndexDirection, IndexInformationOptions, IndexMetadataArgs, IndexSpecification, InferIdType, InsertEvent, InsertManyResult, InsertOneModel, InsertOneOptions, InsertOneResult, IntegerType, IsAny, IsolationLevel, Join, JoinColumnOptions, JoinOptions, JoinTableMultipleColumnsOptions, JoinTableOptions, KeysOfAType, KeysOfOtherType, LineString, ListCollectionsOptions, ListDatabasesOptions, ListDatabasesResult, ListIndexesOptions, LoadEvent, LogLevel, LogMessage, LogMessageFormat, LogMessageType, Logger, LoggerOptions, MatchKeysAndValues, MigrationInterface, MixedList, ModifyResult, MongoClientEvents, MongoClientOptions, MongoConnectionOptions, MongoCredentialsOptions, MongoNetworkErrorOptions, MongoOptions, MonitorEvents, MonitorOptions, MultiLineString, MultiPoint, MultiPolygon, MysqlConnectionCredentialsOptions, MysqlConnectionOptions, NamingStrategyInterface, NativescriptConnectionOptions, NestedPaths, NestedPathsOfType, NonObjectIdLikeDocument, NotAcceptedFields, NumericType, OIDCMechanismServerStep1, OIDCRefreshFunction, OIDCRequestFunction, OIDCRequestTokenResult, ObjectLiteral, ObjectType, OnDeleteType, OnUpdateType, OneOrMore, OnlyFieldsOfType, OperationOptions, OperationTime, OptionalId, OptionalUnlessRequiredId, OracleConnectionCredentialsOptions, OracleConnectionOptions, OrderByCondition, PickKeysByType, PkFactory, Point, Polygon, Position, PostgresConnectionCredentialsOptions, PostgresConnectionOptions, PrepareLogMessagesOptions, PrimaryGeneratedColumnType, ProfilingLevelOptions, PropertyType, PropertyTypeFactory, ProxyOptions, PullAllOperator, PullOperator, PushOperator, QueryDeepPartialEntity, QueryResultCache, QueryResultCacheOptions, QueryRunner, ReactNativeConnectionOptions, ReadConcernLike, ReadPreferenceFromOptions, ReadPreferenceLike, ReadPreferenceLikeOptions, ReadPreferenceOptions, RecoverEvent, RegExpOrString, RelationCountMetadataArgs, RelationIdMetadataArgs, RelationMetadataArgs, RelationOptions, RelationTypeInFunction, RemoveEvent, RemoveOptions, RemoveUserOptions, RenameOptions, ReplaceOneModel, ReplaceOptions, ReplicationMode, ResumeOptions, ResumeToken, RoleSpecification, RootFilterOperators, RunCommandOptions, SapConnectionCredentialsOptions, SapConnectionOptions, SaveOptions, SchemaBuilder, SchemaMember, SelectServerOptions, ServerApi, ServerEvents, ServerSessionId, SetFields, SetProfilingLevelOptions, SimpleColumnType, SoftRemoveEvent, Sort, SortDirection, SpannerConnectionCredentialsOptions, SpannerConnectionOptions, SpatialColumnOptions, SpatialColumnType, SqlServerConnectionCredentialsOptions, SqlServerConnectionOptions, SqliteConnectionOptions, SqljsConnectionOptions, Stream, StreamDescriptionOptions, StrictFilter, StrictMatchKeysAndValues, StrictUpdateFilter, SupportedNodeConnectionOptions, SupportedSocketOptions, SupportedTLSConnectionOptions, SupportedTLSSocketOptions, TableCheckOptions, TableColumnOptions, TableExclusionOptions, TableForeignKeyOptions, TableIndexOptions, TableMetadataArgs, TableOptions, TableUniqueOptions, TagSet, TimeSeriesCollectionOptions, TopologyDescriptionOptions, TopologyEvents, TopologyVersion, TransactionCommitEvent, TransactionOptions, TransactionRollbackEvent, TransactionStartEvent, TreeMetadataArgs, TreeType, UniqueMetadataArgs, UpdateDescription, UpdateEvent, UpdateFilter, UpdateManyModel, UpdateOneModel, UpdateOptions, UpdateStatement, UpsertOptions, ValidateCollectionOptions, ValueTransformer, ViewOptions, W, WhereExpressionBuilder, WiredTigerData, WithId, WithLengthColumnType, WithPrecisionColumnType, WithSessionCallback, WithTransactionCallback, WithWidthColumnType, WithoutId, WriteConcernErrorData, WriteConcernOptions, WriteConcernSettings };
|