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/-/gdK7Zzo_d0wJ.
To post to this group, send email to sequel-talk@googlegroups.com.
To unsubscribe from this group, send email to 
sequel-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to