How to get only a key—without loading the entity—from ReferenceProperty in GAE?
When ReferenceProperty is accessed it loads an entity from datastore, but sometimes I'd like only to use a referenced model key only and I don't want to pay the additional cost of referenced model loadup. Is there a way to access just the key on a ReferenceProperty?
Given class Foo(db.Model): bar = db.ReferenceProperty() and foo = Foo.get_by_id(1) # or however you get it you can retrieve the key foo's bar ReferenceProperty like so: key = Foo.bar.get_value_for_datastore(foo)
Google Datastore - Search Optimization Technique
Can't lease tasks by service account
Why custom domain “myapp.com” which replaces “myapp.appspot.com” took so long to load when comparing to “myapp.appspot.com”?
Does objectify have a get_or_insert equivalent
Custom domain from google not routing to App engine site
Unable to stop or delete datalabs environment on Google Cloud Platform
Is there a way to interactively create a new Datastore entity kind for Go GAE apps?
Is IP address from GoogleAppEngine URLFetch in same project static?
Communications link failure when connect to Google Cloud SQL(second gen) only from prod
How do I add a Google Cloud Endpoints Module to my Android project in IntelliJ?
Does anyone know how to configure grunt-gcloud?
Can I have two instances on same App Engine project - Java servlet and Endpoints side by side?
Validate appspot application for mailgun
Google App Engine: Development only route in app.yaml
Google App Engine: Only serve existing files in static directory