[Zope-DB] How to send comparison operations (such as > = ) to Z SQL?

Dieter Maurer dieter at handshake.de
Thu Jul 15 16:24:16 EDT 2004


Qingliang Li wrote at 2004-7-15 22:46 +0800:
> ...
>I want to send operations of "eq"/"gt"/"ne" ...(=, >, ....)  to  the 
>"op"  according to user in the web interface.

Look at "comparison_operators" at the end of ".../Shared/DC/ZRDB/sqltest.py"
(the "dtml-sqltest" source).

Alternatively: it supports the operators you expect -- in the usual
spelling (e.g. "le" for "<=").

-- 
Dieter


More information about the Zope-DB mailing list