On Jan 10, 2:13 pm, Jan Rychter <[email protected]> wrote:
> Would you be willing to provide an example of such an :around method?
Something like
(defmethod handle-client-request :around ((app my-app))
(let ((clsql:*default-database* *my-app-store*))
(call-next-method)))
> I'm sorry, but I've been trying to understand just how to get from a
> *default-store* which is an instance of fluid-database to working select
> statements (e.g. *default-database*)
The fluid-database is a CLSQL database and supports the full CLSQL
API. The above is all you need to do select calls with the implied
database argument.
--
You know...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---