[Zope] FSZSQLMethod.py refactory

Jean Rodrigo Ferri jeanrodrigoferri at yahoo.com.br
Thu Jul 21 16:57:55 EDT 2005


Hi,

I did a refactory in the FSZSQLMethod.py module of CMFCore from SVN. I 
want to use my ZSQLs from the filesystem and I improved the module to 
better support to this feature.

Can someone commit this patch to the CMFCore SVN?

Now, the sintax to the FS ZSQLs is:

##title=My query
##connection_id=DataBase
##arguments=arg1 arg2 arg3
##max_rows=1000
##max_cache=100
##cache_time=0
select * from table

For each file with .zsql extension. Only connection_id is required. The 
same pattern of FSPythonScript.

Sorry for the attachment, the CMF SVN does't work at this moment, to 
promote my diff!

Regards!

-- 
Jean Ferri
TcheZope.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FSZSQLMethod.py
Type: text/x-python
Size: 4873 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050721/c6bd3468/FSZSQLMethod.py


More information about the Zope mailing list