google cloud platform - How to do a GQL query (using gcloud-python) -


i have collection of entities of 1 kind. need extract distinct values of 1 property, named p, of these entities.

in gql, do:

select distinct p kind

however in gcloud-python library gql queries aren't implemented yet (see issue-304).

how should tools available in gcloud-python ? i'm aware of "group-by" workaround, yet performances terrible.

gcloud-python doesn't provide way string gql query (source), seems can use group_by field in cloud datastore api accomplish same thing.

references:


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -