@lossless.org/client 1.13.0 → 1.14.0
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/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/nosqldb/classes.doc.d.ts +7 -0
- package/dist_ts/nosqldb/classes.doc.js +23 -1
- package/dist_ts/nosqldb/classes.queryplaninspection.d.ts +65 -0
- package/dist_ts/nosqldb/classes.queryplaninspection.js +148 -0
- package/dist_ts/nosqldb/index.d.ts +1 -0
- package/dist_ts/nosqldb/index.js +1 -1
- package/package.json +2 -2
- package/readme.md +2 -0
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/nosqldb/classes.doc.ts +30 -0
- package/ts/nosqldb/classes.queryplaninspection.ts +220 -0
- package/ts/nosqldb/index.ts +3 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@lossless.org/client',
|
|
6
|
-
version: '1.
|
|
6
|
+
version: '1.14.0',
|
|
7
7
|
description: 'One typed client for NoSQLDB, MongoDB, SQLDB, MariaDB, ClickHouse and S3 object storage.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxzQkFBc0I7SUFDNUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLDBGQUEwRjtDQUN4RyxDQUFBIn0=
|
|
@@ -4,6 +4,7 @@ import { SmartdataDbCursor } from './classes.cursor.js';
|
|
|
4
4
|
import { type ISmartdataBootstrapRecordOptions, type ISmartdataBootstrapRecordResult } from './classes.bootstraprecord.js';
|
|
5
5
|
import { type ISmartdataCollectionPreparationOptions } from './classes.collectionpreparation.js';
|
|
6
6
|
import { type ISmartdataStoredInspectionOptions, type ISmartdataStoredInspection, type ISmartdataStoredEvidenceInspection } from './classes.storedinspection.js';
|
|
7
|
+
import { type ISmartdataQueryPlan, type ISmartdataQueryPlanOptions } from './classes.queryplaninspection.js';
|
|
7
8
|
import { type IManager, type ISmartdataIndexInfo, SmartdataCollection } from './classes.collection.js';
|
|
8
9
|
import { SmartdataDbWatcher } from './classes.watcher.js';
|
|
9
10
|
import { type TSmartdataOrdinarySession } from './classes.session.js';
|
|
@@ -534,6 +535,12 @@ export declare class SmartDataDbDoc<T extends TImplements, TImplements, TManager
|
|
|
534
535
|
static inspectStoredDocuments(dbArg: SmartdataDb, optionsArg?: ISmartdataStoredInspectionOptions): Promise<ISmartdataStoredInspection>;
|
|
535
536
|
/** Diagnose stored BSON with explicit ordinary validation evidence, without hydration. */
|
|
536
537
|
static inspectStoredDocumentEvidence(dbArg: SmartdataDb, optionsArg?: ISmartdataStoredInspectionOptions): Promise<ISmartdataStoredEvidenceInspection>;
|
|
538
|
+
/**
|
|
539
|
+
* Explains one model query with `executionStats` on `dbArg` and returns the
|
|
540
|
+
* winning plan's stages and execution totals, so a consumer can prove which
|
|
541
|
+
* index serves the query. Read-only: nothing is created, bound or hydrated.
|
|
542
|
+
*/
|
|
543
|
+
static inspectQueryPlan<T>(this: plugins.tsclass.typeFest.Class<T>, dbArg: SmartdataDb, optionsArg: ISmartdataQueryPlanOptions<T>): Promise<ISmartdataQueryPlan>;
|
|
537
544
|
static createInstanceFromMongoDbNativeDoc<T>(this: plugins.tsclass.typeFest.Class<T>, mongoDbNativeDocArg: any): T;
|
|
538
545
|
private static getDeclaredPersistedRoots;
|
|
539
546
|
private static getDeclaredUniqueRoots;
|