Interface v.c.a.i.IQuery(Interface):

Part of vmc.contrib.axiom.iaxiom View In Hierarchy

Known implementations: vmc.contrib.axiom.store.BaseQuery

An object that represents a query that can be performed against a database.
Attribute limit An integer representing the maximum number of rows to be returned from
Attribute store The Axiom store that this query will return results from.
Method __iter__ Retrieve an iterator for the results of this query.
Method count Return the number of results in this query.
Method cloneQuery Create a similar-but-not-identical copy of this query with certain
limit =
An integer representing the maximum number of rows to be returned from this query, or None, if the query is unlimited.
store =
The Axiom store that this query will return results from.
def __iter__():

Retrieve an iterator for the results of this query.

The query is performed whenever this is called.
def count():

Return the number of results in this query.

NOTE: In most cases, this will have to load all of the rows in this query. It is therefore very slow and should generally be considered discouraged. Call with caution!
def cloneQuery(limit):

Create a similar-but-not-identical copy of this query with certain attributes changed.

(Currently this only supports the manipulation of the "limit" parameter, but it is the intent that with a richer query-introspection interface, this signature could be expanded to support many different attributes.)
Parameterslimitan integer, representing the maximum number of rows that this query should return.
Returnsan IQuery provider with the new limit.
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.