Commit 7806f850 authored by Vincent Pelletier's avatar Vincent Pelletier

Add missing API method declarations.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17114 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 779c5937
......@@ -238,6 +238,30 @@ class QueryMixin:
key = "TRUNCATE(%s,%s)" % (key, precision)
return key
def asSQLExpression(self, key_alias_dict=None,
keyword_search_keys=None,
full_text_search_keys=None,
ignore_empty_string=1, stat__=0):
"""
Return a dictionnary containing the keys and value types:
'where_expression': string
'select_expression_list': string
"""
raise NotImplementedError
def getSQLKeyList(self):
"""
Return a list of keys used by this query and its subqueries.
"""
raise NotImplementedError
def getRelatedTableMapDict(self):
"""
Return for each key used by this query (plus ones used by its
subqueries) the table alias mapping.
"""
raise NotImplementedError
class Query(QueryMixin):
"""
This allow to define constraints on a sql column
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment