I came across the NewRelic RPM gem and tried it out with the forked
version with Sequel support and it didn't work because I don't have
'model' defined since I don't inherit from Sequel::Model. I'm
wondering what Dataset instance methods I have available when doing a
"raw" query. By raw I mean I'm doing something like this:
class Packet
@@db = Sequel.oracle() # arguments removed
def self.time(packet)
@@db[packet.to_sym].select(:raw_time).all
end
end
rather than:
class Packet < Sequel::Model
I'm doing this instead of inheriting from Sequel::Model because my
data is row after row of raw numbers which I'm doing custom SQL
queries on.
--
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.