[Zope-DB] Error Value: 'in' or 'not in' needs sequence right
	argument
    Charlie Clark 
    charlie at egenix.com
       
    Thu Apr 22 09:59:22 EDT 2004
    
    
  
Adam,
I originally suggested you do this based on a suggestion made to me on the 
list. Please check the archives for the full details. I personally think 
that this not the best way to do things and that depending on your DA an 
external method might be preferable - this is certainly possible with 
mxODBCZopeDA
Note that the general opinion seems to be that you should limit the number 
of dynamic SQL statements where possible in order to be able to test and 
maintain things better.
There also some Zope Products which might do what you want already: 
ZNolkSQLWizard for example.
Charlie
On 2004-04-22 at 15:33:51 [+0200], hawelek_tlen wrote:
> Hi,
> 
> Problem is that, I don't want to do only Select-query, but all sql-query
> (insert, create ...),
> 
> If I try to do it in your way, than I have to give to PythonScript whole
> sql-query,
> 
> It have no sense, better thing is to give this sql-query direct to
> ZSQLMethod, but I don't want to do this because, everyone can do this then,
-- 
Charlie Clark
eGenix.com
Professional Python Services directly from the Source
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
    
    
More information about the Zope-DB
mailing list