@mongosh/service-provider-core
Advanced tools
Comparing version 0.0.1-alpha.3 to 0.0.1-alpha.4
@@ -20,3 +20,4 @@ import Document from './document'; | ||
remove(database: string, collection: string, query: Document, options?: Document, dbOptions?: Document): Promise<Result>; | ||
convertToCapped(database: string, collection: string, size: number): Promise<Result>; | ||
} | ||
export default Writable; |
{ | ||
"name": "@mongosh/service-provider-core", | ||
"version": "0.0.1-alpha.3", | ||
"version": "0.0.1-alpha.4", | ||
"description": "MongoDB Shell Core Service Provider Package", | ||
@@ -11,2 +11,3 @@ "main": "lib/index.js", | ||
}, | ||
"license": "SSPL", | ||
"publishConfig": { | ||
@@ -30,3 +31,3 @@ "access": "public" | ||
}, | ||
"gitHead": "59d381d0c880746faa6cb96d37525d42ffa49472" | ||
"gitHead": "7944ac5be25a90e28d5d1b40c5e6dbfd12105e06" | ||
} |
@@ -259,4 +259,20 @@ import Document from './document'; | ||
dbOptions?: Document): Promise<Result>; | ||
/** | ||
* Converts an existing, non-capped collection to | ||
* a capped collection within the same database. | ||
* | ||
* @param {String} database - The db name. | ||
* @param {String} collection - The collection name. | ||
* @param {String} size - The maximum size, in bytes, for the capped collection. | ||
* | ||
* @return {Promise} | ||
*/ | ||
convertToCapped( | ||
database: string, | ||
collection: string, | ||
size: number | ||
): Promise<Result> | ||
} | ||
export default Writable; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50927
587
1