[Zope-dev] Z SQL: "optional" isn't?

Stuart 'Zen' Bishop zen@cs.rmit.edu.au
Mon, 29 May 2000 21:29:55 +1000 (EST)


On Sat, 27 May 2000, Kyler B. Laird wrote:

> I hope it's not documented anywhere; it doesn't
> work either.
> 
> It *does* allow the method to run without 
> setting the arguments, but it generates SQL
> like "where subject=''''''".
> 
> Someone had a good vision when writing the
> documentation for the sqltest optional flag.
> I just want it to work.

Oops.... the default argument looks like it needs to be in double quotes.

So what I said before, but
    subject:string=""

-- 
Stuart Bishop                          Work: zen@cs.rmit.edu.au
Senior Systems Alchemist               Play: zen@shangri-la.dropbear.id.au
Computer Science, RMIT University