@rebasepro/firebase 0.29.0-canary.g0e3a0e7 → 0.29.1
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/dist/index.es.js +1 -0
- package/dist/index.es.js.map +1 -1
- package/package.json +8 -8
package/dist/index.es.js
CHANGED
|
@@ -1043,6 +1043,7 @@ function firestoreCondition(key, op, value, firestore) {
|
|
|
1043
1043
|
if (op === "is-null") return where(key, "==", null);
|
|
1044
1044
|
if (op === "is-not-null") return where(key, "!=", null);
|
|
1045
1045
|
if (op === "like" || op === "ilike" || op === "not-like" || op === "not-ilike") throw new Error(`Firestore does not support the "${op}" operator (SQL pattern matching). Use a full-text search index or the collection's searchString instead.`);
|
|
1046
|
+
if (op === "array-contains-all" || op === "array-contained-by") throw new Error(`Firestore does not support the "${op}" operator: it matches one element of an array (array-contains) or any of a list (array-contains-any).`);
|
|
1046
1047
|
return where(key, op, rebaseToFirestoreModel(value, firestore));
|
|
1047
1048
|
}
|
|
1048
1049
|
/**
|