So, I'm experiencing what I would describe as inconsistent behavior
from the oracle adapter.
I can create a Sequel::Oracle::Database object without issue.
However, when I try executing a raw query with .run I get nil:
oracle.run(query + "'#{user}'")
> nil
Oddly, at least to me, when I create a dataset with the same query I
can dig to get the data:
oracle[query + "'#{user}'"].each do |row|
row.each do |r|
p r
end
end
> [:gorirol_role, "EMPLOYEE"]
> [:gorirol_role, "STUDENT"]
I would expect run to return something useful either an error or a
DATASET object maybe. Am I missing something?
-Glen
--
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.