Package Pyblio :: Module Query :: Class Queryable
[show private | hide private]
[frames | no frames]

Type Queryable

object --+
         |
        Queryable

Known Subclasses:
Database, Database

A mixin that provides an (one day optimized) query engine to a store
Method Summary
  count(self, query)
Perform a query and return the count of matching records.
  query(self, query, permanent)
Perform a query and return a result set of the matching records.
  _q_all(self)
  _q_anyword(self, q)
  _q_check(self, query)
  _q_hasfield(self, q)
  _q_to_rs(self, res, permanent)
  _q_txo(self, q)
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

count(self, query)

Perform a query and return the count of matching records.

query(self, query, permanent=False)

Perform a query and return a result set of the matching records.

Generated by Epydoc 2.1 on Sun Sep 24 23:52:42 2006 http://epydoc.sf.net