Gist 1127799
✓ Published0🌍 Public
Aandrewxhill
Last edited Aug 5, 2011
Created on Aug 5, 2011
This example demonstrates an indexing strategy for querying large datasets in Google App Engine, using the `db.Model` classes `CellIndex` and `Cell`. It shows how to retrieve only the keys of `CellIndex` records that match a filter on `ndfi_low`, then access the parent `Cell` entity to get its full stored data, avoiding serialization of all properties. The code uses the App Engine datastore API with `CellIndex.all(keys_only=True).filter()`, and relies on a `BlobStore` for the parent’s data.
AI-generated description