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

Qingliang Li qlli at ctb.pku.edu.cn
Thu Jul 15 10:46:08 EDT 2004


Hi everyone,

I was confusing with such problem of Z SQL.
How can send comparison operations to  the  Z SQL?
I mean in the following example:
    select * from BAMD
       <dtml-sqlgroup where>
            .....
       <dtml-sqltest ID op=eq type=nb optional>
           .....
I want to send operations of "eq"/"gt"/"ne" ...(=, >, ....)  to  the 
"op"  according to user in the web interface.
Any help would be appreciated.
Thanks.

-- 
Qingliang Li
Center for Theoretical Biology,
Peking University, Beijing,
P.R.China, 100871

Email: qlli at ctb.pku.edu.cn
Tel: +86-010-6275-9669



More information about the Zope-DB mailing list