App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.ext.admin.DatastoreQueryHandler Class Reference
Inheritance diagram for google.appengine.ext.admin.DatastoreQueryHandler:
google.appengine.ext.admin.DatastoreRequestHandler google.appengine.ext.admin.BaseRequestHandler google.appengine.ext.webapp._webapp25.RequestHandler

Public Member Functions

def get_kinds
 
def get
 
- Public Member Functions inherited from google.appengine.ext.admin.DatastoreRequestHandler
def start
 
def num
 
def execute_query
 
def get_key_values
 
def redirect_with_message
 
- Public Member Functions inherited from google.appengine.ext.admin.BaseRequestHandler
def generate
 
def base_path
 
def filter_url
 
def in_production
 
def interactive_console_enabled
 
- Public Member Functions inherited from google.appengine.ext.webapp._webapp25.RequestHandler
def initialize
 
def get
 
def post
 
def head
 
def options
 
def put
 
def delete
 
def trace
 
def error
 
def redirect
 
def handle_exception
 
def new_factory
 
def get_url
 

Static Public Attributes

string PATH = '/datastore'
 

Additional Inherited Members

- Public Attributes inherited from google.appengine.ext.webapp._webapp25.RequestHandler
 request
 
 response
 

Detailed Description

Our main request handler that executes queries and lists entities.

We use execute_query() in our base request handler to parse URL arguments
and execute the datastore query.

Member Function Documentation

def google.appengine.ext.admin.DatastoreQueryHandler.get (   self)
Formats the results from execute_query() for datastore.html.

The only complex part of that process is calculating the pager variables
to generate the Gooooogle pager at the bottom of the page.
def google.appengine.ext.admin.DatastoreQueryHandler.get_kinds (   self,
  namespace 
)
Get sorted list of kind names the datastore knows about.

This should only be called in the development environment as metadata
queries are expensive and no caching is done.

Args:
  namespace: The namespace to fetch the schema for e.g. 'google.com'. It
  is an error to pass in None.

Returns:
  A sorted list of kinds e.g. ['Book', 'Guest', Post'] (encoded in utf-8).

The documentation for this class was generated from the following file: