On Monday, December 10, 2012 4:11:03 PM UTC-8, Charles Monteiro wrote:
>
> sounds like it could :) but when you say un_tested ? is this beta api ? is 
> it available in the last stable gem release i.e. that which comes with "gem 
> install sequel" 


It probably means he just didn't test the code before posting it, but he 
thinks the code is valid.  It does look valid, though I'd use the virtual 
row syntax:

ds = table.filter(event_nbr: 12, event_date: Date.today).
  select{[count(:*){}.as(row_cnt),
    max(col1).as(curr_timestamp),
    max(col2).as(entry_terminal),
    max(col3).as(entry_time)]}

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/-/MCrjZJcT2t0J.
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