[Zope-DB] sqlvar tag for text
Mon, 24 Feb 2003 17:09:36 -0500
On Mon, Feb 24, 2003 at 10:50:49PM +0100, Alex Cowan wrote:
> The idea is cut to extra steps
> if I'm passing a variable from a form almost directly into an SQL Method its
> simpler to have a tag to handle it (rather than send it through extra python
> scripts that aren't really needed). Maybe its only me that uses zope in this
> way (don't you love flexibility!). For me this cuts and extra step before
> putting it into the db.
> So I get text in the database like:
> "Text here
> Text here"
> and not:
> "Text here Text here"
how does this differ from
insert into foo
bah='<dtml-var my_text sql_quote>'