Home | Trees | Index | Help |
---|
Module sqltriples :: Class Results |
|
Query
--+
|
Results
CountableResults
,
SingleResults
,
Triples
A class representing a selection of results.
Interaction with objects based on this class is typically done using the 'get_query' method, and this method makes uses of the '_get_query' mechanism described below in order to produce a suitable top-level query that produces results of the expected form.
This class provides a '_get_query' method which produces the core of most querying operations, comprising mostly of producing conditions based on each object's pattern, ordering and limit information. Where patterns specified in the initialisation of objects involve other objects based on this class, such objects are requested to provide a subquery via the 'get_subquery' method which itself provides a means of combining an outer query with a specific subquery (which in turn is produced by '_get_query' for that object).Method Summary | |
---|---|
Initialise the results object with the given 'store', 'pattern', optional 'ordering' description and optional 'limit' criteria. | |
Inherited from Query | |
| |
| |
| |
Obtain the query clause and values (as a 2-tuple) which links this object's query to a parent query. |
Method Details |
---|
__init__(self,
store,
pattern,
fn=None,
ordering=None,
limit=None)
Initialise the results object with the given 'store', 'pattern',
optional 'ordering' description and optional 'limit' criteria.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Mar 31 17:48:37 2006 | http://epydoc.sf.net |