@push.rocks/smartdb 5.0.3 → 5.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.
|
Binary file
|
|
Binary file
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@push.rocks/smartdb',
|
|
6
|
-
version: '5.0.
|
|
6
|
+
version: '5.0.4',
|
|
7
7
|
description: 'A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxxQkFBcUI7SUFDM0IsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHFIQUFxSDtDQUNuSSxDQUFBIn0=
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -911,7 +911,7 @@ const names = await collection.distinct('name');
|
|
|
911
911
|
| **Indexes** | `createIndexes`, `dropIndexes`, `listIndexes` |
|
|
912
912
|
| **Sessions** | `startSession`, `endSessions` |
|
|
913
913
|
| **Transactions** | `startTransaction`, `commitTransaction`, `abortTransaction` through driver sessions |
|
|
914
|
-
| **Admin** | `ping`, `listDatabases`, `listCollections`, `drop`, `dropDatabase`, `create`, `serverStatus`, `
|
|
914
|
+
| **Admin** | `ping`, `listDatabases`, `listCollections`, `drop`, `dropDatabase`, `create`, `serverStatus`, `dbStats`, `collStats`, `connectionStatus`, `renameCollection` |
|
|
915
915
|
|
|
916
916
|
Advertises MongoDB wire protocol versions 0–21. The documented command surface is tested with the official `mongodb` Node.js driver version 7.5.x.
|
|
917
917
|
|
|
@@ -930,13 +930,16 @@ acknowledgement.
|
|
|
930
930
|
### Unsupported Administrative Commands
|
|
931
931
|
|
|
932
932
|
SmartDB returns `CommandNotFound` (code 59) for the wire commands `validate`,
|
|
933
|
-
`explain`, legacy `authenticate`, `
|
|
934
|
-
`
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
933
|
+
`explain`, legacy `authenticate`, `buildInfo`/`buildinfo`, `hostInfo`,
|
|
934
|
+
`whatsmyuri`, `getLog`, `getCmdLineOpts`, `getParameter`, `setFreeMonitoring`,
|
|
935
|
+
`currentOp`, `killOp`, `top`, `profile`, `compact`, `reIndex`, `fsync`, and
|
|
936
|
+
`connPoolSync`. These commands previously had placeholder success responses but
|
|
937
|
+
do not yet implement their advertised MongoDB semantics. Authentication and
|
|
938
|
+
authorization errors retain precedence; otherwise rejection occurs before
|
|
939
|
+
database publication permits, session or transaction creation, and command
|
|
940
|
+
dispatch. This restriction applies to the wire `validate` command, not the
|
|
941
|
+
supported offline `--validate-data` tool. `getFreeMonitoringStatus` remains
|
|
942
|
+
available and reports SmartDB's fixed disabled state.
|
|
940
943
|
|
|
941
944
|
---
|
|
942
945
|
|
package/ts/00_commitinfo_data.ts
CHANGED