Hello Roman,
:raw may only appear in places where S-SQL already expects some form. :drop-table only expects a single argument. In this case, you're probably better off just using format to build a query, since there's nothing complicated going on, but if you have other kinds of queries where s-sql's syntax is too limited, let me know, and I'll see if I can add support for them.
Cheers, Marijn
On Fri, Jun 6, 2008 at 10:26 PM, Roman Budzianowski superdog@budzianowski.net wrote:
Hi Marijn,
The following fails:
(sql (:DROP-TABLE 'MANUFACTURERS (:RAW "cascade")))
with
Passed 1 too many arguments for arglist (S-SQL::NAME)
Is :raw applicable only in certain contexts? Obviously this is just example
- I am trying to build it in run time.
Thanks,
Roman _______________________________________________ postmodern-devel mailing list postmodern-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel