@uwdata/mosaic-core
Advanced tools
Comparing version 0.3.2 to 0.3.3
{ | ||
"name": "@uwdata/mosaic-core", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Scalable and extensible linked data views.", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "788bb137cc402b472fc7e4d84844c78151707c82" | ||
"gitHead": "0944b742aa233563ffa2a94132c905e81795f0ce" | ||
} |
@@ -89,3 +89,3 @@ import { or } from '@uwdata/mosaic-sql'; | ||
* Create a clone of this Selection with clauses corresponding | ||
* to provided source removed. | ||
* to the provided source removed. | ||
* @param {*} source The clause source to remove. | ||
@@ -196,8 +196,12 @@ * @returns {this} A cloned and updated Selection. | ||
* @param {*} client The client whose data may be filtered. | ||
* @param {boolean} [noSkip=false] Disable skipping of active | ||
* cross-filtered sources. If set true, the source of the active | ||
* clause in a cross-filtered selection will not be skipped. | ||
* @returns {*} The query predicate for filtering client data, | ||
* based on the current state of this selection. | ||
*/ | ||
predicate(client) { | ||
predicate(client, noSkip = false) { | ||
const { clauses } = this; | ||
return this._resolver.predicate(clauses, clauses.active, client); | ||
const active = noSkip ? null : clauses.active; | ||
return this._resolver.predicate(clauses, active, client); | ||
} | ||
@@ -204,0 +208,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1360580
29189