Re: [Zope] ZSQL, call for early beta testers

2007-04-02 Thread Peter Bengtsson
Maciej Wisniowski wrote: It works something like this:: (...) If in the folder 'sql/Userstuff' you have a file called 'select_users.sql' you will the be able to just run: # select users: print SQLUser.select_users() # same but first printed the final SQL used print

[Zope] ZSQL, call for early beta testers

2007-04-01 Thread Peter Bengtsson
I've developed a little module that makes it really easy to plug in .sql files into a python product class as ZSQLMethods. It's extremely easy to use and doesn't require any CMF or ZODB stuff. It also has support for memcache for those of you with slow db queries that you need to repeat. It

Re: [Zope] ZSQL, call for early beta testers

2007-04-01 Thread Maciej Wisniowski
It works something like this:: (...) If in the folder 'sql/Userstuff' you have a file called 'select_users.sql' you will the be able to just run: # select users: print SQLUser.select_users() # same but first printed the final SQL used print SQLUser.select_users(debug__=True) # save