[Erp5-report] r40347 vincent - /erp5/trunk/products/ZSQLCatalog/interfaces/query_catalog.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Nov 18 10:56:15 CET 2010
Author: vincent
Date: Thu Nov 18 10:56:15 2010
New Revision: 40347
URL: http://svn.erp5.org?rev=40347&view=rev
Log:
Integrate isValidColumn in the "official" catalog API.
Modified:
erp5/trunk/products/ZSQLCatalog/interfaces/query_catalog.py
Modified: erp5/trunk/products/ZSQLCatalog/interfaces/query_catalog.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/interfaces/query_catalog.py?rev=40347&r1=40346&r2=40347&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/interfaces/query_catalog.py [utf8] (original)
+++ erp5/trunk/products/ZSQLCatalog/interfaces/query_catalog.py [utf8] Thu Nov 18 10:56:15 2010
@@ -255,3 +255,10 @@ class ISearchKeyCatalog(Interface):
identifier in SearchText is a valid column.
If not provided, catalog schema will be used.
"""
+
+ def isValidColumn(column_id):
+ """
+ Returns wether given string is a known column.
+ Note: related keys and scriptable keys are considered columns.
+ """
+
More information about the Erp5-report
mailing list