View source on GitHub |
Represents a bound variable in a GQL query.
Inherits From: ParameterizedThing
, expected_type
google.appengine.ext.ndb.Parameter(
key
)
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).
Args | |
---|---|
key
|
The Parameter key, must be either an integer or a string. |
Attributes | |
---|---|
key
|
Retrieve the key. |
Methods
resolve
resolve(
bindings, used
)
__eq__
__eq__(
other
)
Return self==value.
__ne__
__ne__(
other
)
Return self!=value.