[postmodern-devel] with-connection problem

Ryszard Szopa ryszard.szopa at gmail.com
Fri Aug 17 15:06:30 UTC 2007


On 8/17/07, Ryszard Szopa <ryszard.szopa at gmail.com> wrote:

> (defun with-connection-fun (connection-spec what-to-do)
>   "Functional under the macro WITH-CONNECTION."

Should be: "Function under the macro..."

>   (let ((postmodern:*database* (apply #'postmodern:connect connection-spec)))
>     (unwind-protect (progn (funcall what-to-do))
>       (postmodern:disconnect postmodern:*database*))))



-- 
http://szopa.tasak.gda.pl/



More information about the postmodern-devel mailing list