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.ext.ndb.query.Parameter Class Reference
Inheritance diagram for google.appengine.ext.ndb.query.Parameter:
google.appengine.ext.ndb.query.ParameterizedThing

Public Member Functions

def __init__
 
def __repr__
 
def __eq__
 
def key
 
def resolve
 
- Public Member Functions inherited from google.appengine.ext.ndb.query.ParameterizedThing
def __eq__
 
def __ne__
 

Detailed Description

Represents a bound variable in a GQL query.

Parameter(1) corresponds to a slot labeled ":1" in a GQL query.
Parameter('xyz') corresponds to a slot labeled ":xyz".

The value must be set (bound) separately by calling .set(value).

Constructor & Destructor Documentation

def google.appengine.ext.ndb.query.Parameter.__init__ (   self,
  key 
)
Constructor.

Args:
  key: The Parameter key, must be either an integer or a string.

Member Function Documentation

def google.appengine.ext.ndb.query.Parameter.key (   self)
Retrieve the key.

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