You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when I tried my code in the actual app engine environment, but it works fine in the dev environment (presumably a difference between @tomwalder's GQL parser and Google's).
PHP Fatal error: Uncaught exception 'google\appengine\runtime\ApplicationError' with message 'Encountered "LIMIT" at line 1, column 32.
Was expecting one of:
<EOF>
"+" ...
' in /base/data/home/runtimes/php/sdk/google/appengine/runtime/RealApiProxy.php:53
My query is SELECT * FROM Artists OFFSET 0 used in the FetchOne command i.e. $obj_store->fetchOne("SELECT * FROM Artists OFFSET ".$offset);
My first guess is an issue with using OFFSET before LIMIT, but I will keep investigating further if nobody intervenes.
The text was updated successfully, but these errors were encountered:
I tried $entity = $obj_store->fetchAll( "SELECT * FROM Artists LIMIT 1 OFFSET ".$offset); and it worked fine. Although it sounds like this will be more expensive from the readme.
I can add a pull request that will throw an exception if OFFSET is used in FetchOne, and add it to the documentation if desired.
I get the following error when I tried my code in the actual app engine environment, but it works fine in the dev environment (presumably a difference between @tomwalder's GQL parser and Google's).
My query is
SELECT * FROM Artists OFFSET 0
used in the FetchOne command i.e.$obj_store->fetchOne("SELECT * FROM Artists OFFSET ".$offset);
My first guess is an issue with using OFFSET before LIMIT, but I will keep investigating further if nobody intervenes.
The text was updated successfully, but these errors were encountered: