User.addlQueryParams.set(By(User.firstname, "david") :: User.addlQueryParams.is) It's a request var so it's set on a request by request basis.
On Wed, Jun 17, 2009 at 10:05 AM, Matt Williams <m...@makeable.co.uk> wrote: > > Is there a simple way that I can set the record scope on a mapper. > For example, if I want to specify a WHERE clause for every query to the > database, how would I do this? > > In my particular case, I want to set the scope based upon the hostname > used to service the request, but other usages may involve soft record > deletion, etc. > > Kind Regards, > > Matt > > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---