Sometimes that will be sufficient. The issue is how you turn _lastsql into a gluon.dal object that you can further manipulate.
For example, what if you want to do this:
_lastsql & (db.person.name == 'John')
See the slice if you need to know how to do it.
On Thursday, March 29, 2012 5:59:23 AM UTC+13, Cliff wrote:
>
> Doesn't db._lastsql return a string? Can't you just save that in the
> session?
>
> Or is that a naive question?
>
>
>

