What is GQL or cloud datastore Count number of rows in PHP

522 Views Asked by At

In the interest of time, I do mean GQL, But I want in PHP function

SELECT * FROM Song WHERE composer = 'Lennon, John' The following failed

SELECT COUNT(*) FROM myEntity also the following

SELECT COUNT() FROM myEntity

or else in Normal Cloud datastore query

As shown in https://cloud.google.com/appengine/docs/standard/python/datastore/gqlqueryclass#GqlQuery_count I can't understand for PHP

1

There are 1 best solutions below

0
On BEST ANSWER

I am sorry this is Nosql so it doesn't have Aggregate function