[Zope] ANN: Comparison operators in <dtml-sqltest>

hugh@embertech.com hugh@embertech.com
Tue, 21 Sep 1999 20:16:17 -0700 (PDT)


Here's the first cut of my patch to add different comparison operators to 
dtml-sqltest.  This will allow you to write SQL methods like:

SELECT * 
FROM bar 
WHERE <dtml-sqltest foo op=like type=string>

which will generate code like this:

SELECT * 
FROM bar 
WHERE foo like 'Baz%'

You can also use all the other comparison operators like <, <=, >, >=, <> etc.

You can get the patch at:  
  http://www.zope.org/Members/hughe

Comments, suggestions, bug-fixes welcome.

Enjoy,
    Hugh