Part of kiwi.db.query View In Hierarchy
Known subclasses: kiwi.db.sqlalch.SQLAlchemyQueryExecuter, kiwi.db.sqlobj.SQLObjectQueryExecuter, kiwi.db.stormintegration.StormQueryExecuter
A QueryExecuter is responsible for taking the state (as in QueryState) objects from search filters and construct a query. How the query is constructed is ORM/DB-layer dependent.
Class Variable | default_search_limit | The default search limit. |
Method | __init__ | Undocumented |
Method | set_filter_columns | Undocumented |
Method | search | No summary |
Method | set_limit | Set the maximum number of result items to return in a search query. @param limit: |
Method | get_limit | Undocumented |
Execute a search.
Parameters | states | (type: list of QueryStates ) |
Returns | list of objects matching query |