Calculating the number of subqueries in Google AppEngine

How to determine how many subqueries are required for a single top-level query in the application engine (python)?

I play with INoperator , and I'm curious if there is a way to get a notification if I crossed my limit of 30 sub-requests.

+3
source share
1 answer

If you try to execute a query that would cause too many subqueries, you will get this error:

BadArgumentError: Cannot satisfy query -- too many subqueries (max: 30, got 31). Probable cause: too many IN/!= filters in query.

, , , , - 30 , ( , t != , , != , ).

+3

Source: https://habr.com/ru/post/1767254/


All Articles