@unchainedshop/mongodb 4.8.25 → 4.8.26
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/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export function assertDocumentDBCompatMode() {
|
|
2
|
-
if (isDocumentDBCompatModeEnabled())
|
|
3
|
-
throw new Error('Text search is not supported in DocumentDB Compatibility Mode');
|
|
4
|
-
}
|
|
5
|
-
export const isDocumentDBCompatModeEnabled = () => Boolean(process.env.UNCHAINED_DOCUMENTDB_COMPAT_MODE);
|