Jeremy, thank you very much. The Dataset#import indeed looks very 
promising. I just tried it and works fine but what I went to complicate the 
things I faced a problem. In you documentation you say that the table names 
and columns names need to b prefaced with semicolon:

DB[:table].import([:x, :y], [[1, 2], [3, 4]])

As I put in use dynamic target table names, dynamic columns names and 
parsed json for values I realized that the semicolon is not just a 
delimiter but some kind element of Ruby syntax.   How should I deal with 
it? Defining the columns as  string :k1, :k2, :k2  does not work. Setting 
semicolon before the variable like this client[:@table].import is barking 
and is not recognizing the table and data object.  I am sure it should be 
an easy way to do it.


Thank you again.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to