Is there a hard limit on the size of EncodedQuery
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I would like to find out when using .addEncodedQuery('Is there a char limit here?').
I am trying to limit the number of database calls by building a large encoded query and then making a single call that returns all items. Basically, instead of having a query call for each result of the previous query in a while loop, we loop through the initial result and build a large encoded query using ^NQ blocks for each of the query results.
Let's say this results in encodedQuery of roughly 700k characters called once. Instead of making 7000 short db queries.
0 REPLIES 0