THanks Francois and Jeremy for your prompt replies. Cheers
Ben On Tuesday, September 18, 2012 1:10:26 AM UTC+10, Jeremy Evans wrote: > > On Monday, September 17, 2012 12:53:10 AM UTC-7, Ben Sullivan wrote: >> >> Hi >> >> What are my options for using the Sequel API if I don't know the table >> and field names for DML and querying until runtime? All the examples I've >> seen use symbols. >> > > In addition to String#to_sym (which creates symbols from strings), you can > also use Sequel.identifier to create SQL::Identifier objects. Most places > that accept symbols also accept SQL::Identifier objects, but not all. > > >> Also, what happened to the print method for Datatables - it seems to be >> private now... >> > > Dataset#print got moved to the pretty_table extension, over 3 years ago > when Sequel 3.0 was released. > > 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/-/VQwDV4sWlysJ. 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.
