On Jun 21, 1:21 pm, Dave Howell <[email protected]> wrote: > On Jun 21, 2010, at 8:17 , Jeremy Evans wrote: > > > On Jun 21, 6:09 am, GregD <[email protected]> wrote: > >> Anybody using DB views with Sequel or done this before? > > > It should work fine, other than typecasting may not work correctly (I > > haven't tested that). > > I've been using both PostgreSQL views and tables for the last week; Sequel > (like my other query tools) treats them the same. I haven't gotten to the > point of *writing* to them yet; that's for this week.
Works fine on SQL Server too. I have not seen any issues with typecasting. You can also create views on-the-fly or in a migration from a dataset or raw SQL. http://sequel.rubyforge.org/rdoc/classes/Sequel/Database.html#M000336 -- 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.
