On Apr 19, 1:38 pm, Michael Lang <[email protected]> wrote: > One bit of feedback I do have with regards to Virtual Rows documentation, > that is also somewhat symptomatic of some of the other pages. The new > format breaks things up a bit and thus is a little less dense, but its still > dense. I think the main reason is simply that Virtual Rows isn't really > defined up front. Three questions come to mind just about anytime I show > somebody virtual rows or try to tell 'em what it is (and I still don't do a > good job at it): > > "what are virtual rows?" > > "why do virtual rows exist?"
I've added some documentation on the purpose for virtual rows: http://github.com/jeremyevans/sequel/commit/6e1fafca0195da58d983413e83cfb31b1550ba2a http://code.jeremyevans.net/sequel-www/rdoc/files/doc/virtual_rows_rdoc.html I'm not sure if I have a good answer for what a virtual row is that will actually help people. Really, it's a factory class whose instances use method_missing to return instances of Sequel::SQL::Expression subclasses. Since that explanation will generally confound more than enlighten, I decided to leave it out. In general, the user doesn't need to care what it is as long as they can use it correctly. Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" 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/sequel-talk?hl=en.
