From 577ea0661d972661e588d79400602b63e5461b9a Mon Sep 17 00:00:00 2001 From: imp <106537315+imptype@users.noreply.github.com> Date: Thu, 21 Dec 2023 15:02:05 +0000 Subject: [PATCH] Document max query objects --- src/content/docs/build/reference/deta-base/queries.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/docs/build/reference/deta-base/queries.md b/src/content/docs/build/reference/deta-base/queries.md index 612e3abf..8102c876 100644 --- a/src/content/docs/build/reference/deta-base/queries.md +++ b/src/content/docs/build/reference/deta-base/queries.md @@ -173,6 +173,7 @@ You need to consider the following when querying on keys: - The keys must be strings hence the operation values **must** also be strings. - The [contains](#contains) and [not-contains](#not-contains) operators **are not supported**. - The [`AND`](#and) and [`OR`](#or) operations for different query values **are not supported**. +- The max number of OR operations or query objects in a list is 25. For e.g. **the following queries are invalid**: @@ -189,4 +190,4 @@ For e.g. **the following queries are invalid**: // different OR key queries (invalid query) [{"key?pfx":"a"}, {"key?pfx": "b"}] } -``` \ No newline at end of file +```