@mongodb-js/mongodb-constants
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -1,10 +0,73 @@ | ||
declare const SYSTEM_VARIABLES: { | ||
name: string; | ||
value: string; | ||
score: number; | ||
meta: string; | ||
version: string; | ||
description: string; | ||
}[]; | ||
declare const SYSTEM_VARIABLES: readonly [{ | ||
readonly name: "$$NOW"; | ||
readonly value: "$$NOW"; | ||
readonly score: 1; | ||
readonly meta: "variable:system"; | ||
readonly version: "4.2.0"; | ||
readonly description: "A variable that returns the current datetime value. NOW returns the same value for all members of the deployment and remains the same throughout all stages of the aggregation pipeline."; | ||
}, { | ||
readonly name: "$$CLUSTER_TIME"; | ||
readonly value: "$$CLUSTER_TIME"; | ||
readonly score: 1; | ||
readonly meta: "variable:system"; | ||
readonly version: "4.2.0"; | ||
readonly description: "A variable that returns the current timestamp value. CLUSTER_TIME is only available on replica sets and sharded clusters. CLUSTER_TIME returns the same value for all members of the deployment and remains the same throughout all stages of the pipeline."; | ||
}, { | ||
readonly name: "$$ROOT"; | ||
readonly value: "$$ROOT"; | ||
readonly score: 1; | ||
readonly meta: "variable:system"; | ||
readonly version: "2.4.0"; | ||
readonly description: "References the root document, i.e. the top-level document, currently being processed in the aggregation pipeline stage."; | ||
}, { | ||
readonly name: "$$CURRENT"; | ||
readonly value: "$$CURRENT"; | ||
readonly score: 1; | ||
readonly meta: "variable:system"; | ||
readonly version: "2.4.0"; | ||
readonly description: "References the start of the field path being processed in the aggregation pipeline stage. Unless documented otherwise, all stages start with CURRENT the same as ROOT. CURRENT is modifiable. However, since `$<field>` is equivalent to `$$CURRENT.<field>`, rebinding CURRENT changes the meaning of `$` accesses."; | ||
}, { | ||
readonly name: "$$REMOVE"; | ||
readonly value: "$$REMOVE"; | ||
readonly score: 1; | ||
readonly meta: "variable:system"; | ||
readonly version: "3.6.0"; | ||
readonly description: "A variable which evaluates to the missing value. Allows for the conditional exclusion of fields. In a `$project`, a field set to the variable REMOVE is excluded from the output."; | ||
}, { | ||
readonly name: "$$DESCEND"; | ||
readonly value: "$$DESCEND"; | ||
readonly score: 1; | ||
readonly meta: "variable:system"; | ||
readonly version: "3.0.0"; | ||
readonly description: "One of the allowed results of a `$redact` expression."; | ||
}, { | ||
readonly name: "$$PRUNE"; | ||
readonly value: "$$PRUNE"; | ||
readonly score: 1; | ||
readonly meta: "variable:system"; | ||
readonly version: "3.0.0"; | ||
readonly description: "One of the allowed results of a `$redact` expression."; | ||
}, { | ||
readonly name: "$$KEEP"; | ||
readonly value: "$$KEEP"; | ||
readonly score: 1; | ||
readonly meta: "variable:system"; | ||
readonly version: "3.0.0"; | ||
readonly description: "One of the allowed results of a `$redact` expression."; | ||
}, { | ||
readonly name: "$$SEARCH_META"; | ||
readonly value: "$$SEARCH_META"; | ||
readonly score: 1; | ||
readonly meta: "variable:system"; | ||
readonly version: "5.0.0"; | ||
readonly description: "A variable that stores the metadata results of an Atlas Search query. In all supported aggregation pipeline stages, a field set to the variable SEARCH_META returns the metadata results for the query. For an example of its usage, see Atlas Search facet and count."; | ||
}, { | ||
readonly name: "$$USER_ROLES"; | ||
readonly value: "$$USER_ROLES"; | ||
readonly score: 1; | ||
readonly meta: "variable:system"; | ||
readonly version: "7.0.0"; | ||
readonly description: "A variable that stores the role names of the authenticated user running the command."; | ||
}]; | ||
export { SYSTEM_VARIABLES }; | ||
//# sourceMappingURL=system-variables.d.ts.map |
@@ -16,3 +16,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/devtools-shared", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"repository": { | ||
@@ -73,3 +73,3 @@ "type": "git", | ||
}, | ||
"gitHead": "c40d82c6b0217aaf6b0695652186f26c0113a41b" | ||
"gitHead": "96f27ef6eea0ffb99193a8d277df18a7cfdaabe5" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
358213
8456