App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.datastore.datastore_stub_util.DatastoreStub Class Reference
Inheritance diagram for google.appengine.datastore.datastore_stub_util.DatastoreStub:
google.appengine.datastore.datastore_sqlite_stub.DatastoreSqliteStub

Public Member Functions

def __init__
 
def Clear
 
def QueryHistory
 
def SetTrusted
 

Detailed Description

A stub that maps datastore service calls on to a BaseDatastore.

This class also keeps track of query cursors.

Member Function Documentation

def google.appengine.datastore.datastore_stub_util.DatastoreStub.Clear (   self)
Clears out all stored values.
def google.appengine.datastore.datastore_stub_util.DatastoreStub.QueryHistory (   self)
Returns a dict that maps Query PBs to times they've been run.
def google.appengine.datastore.datastore_stub_util.DatastoreStub.SetTrusted (   self,
  trusted 
)
Set/clear the trusted bit in the stub.

This bit indicates that the app calling the stub is trusted. A
trusted app can write to datastores of other apps.

Args:
  trusted: boolean.

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