Closed beunick closed 3 years ago
Hi @beunick,
Cloud Datastore doesn't support !=
. Please see https://cloud.google.com/datastore/docs/reference/gql_reference#operators_and_comparisons for the list of supported comparators.
You might need to run two queries (one for id > @product_key
and another one for id < @product_key
) and combine results.
Thanks
Hi, I am trying to use NOT EQUAL in my query but I still getting error and don't know how to solve it. Here is a sample code:
Here is the error:
"Lexical error at line 1, column 32. Encountered: \"!\" (33), after : \"\"",
How to use Not Equal in my sql query (@Query) for datastore ?
Please let me know. Thank You.