On Monday, December 10, 2012 5:01:57 PM UTC-8, Charles Monteiro wrote:

> Very good, much to learn. thanks
>
> I'll look up virtual row. 
>
> the one thing that comes to mind right away is the use of <curr_timestamp> 
> and etc , in my example those were local variables, in the context of your 
> example are these accessors i.e. for instance variables ?
>
> I guess I'm confused as to how something like curr_timestamp  is holding 
> on to the result of value of the computation/query and if will be able to 
> simply use curr_timestamp in the same way I would a local var etc.
>
> I'm guessing my answer is in my study of virtual rows :) but thanks in 
> advance for any pointers.
>

If there are local variables with the same name, they will take preference, 
but there are ways to deal with that. 
 See http://sequel.rubyforge.org/rdoc/files/doc/virtual_rows_rdoc.html

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/nxldiBwiR7gJ.
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/sequel-talk?hl=en.

Reply via email to