Hi,

was wondering if it's possible somehow to override the
Sequel::Model.create method in a class to use stored procedure calls
for inserting/updating? (I'm using SQL Server via ADO).

For example, to insert into a user table, I'd like to call exec
sp_InsertUser @name, @email as the SP itself does some other stuff
behind the scenes.

Looking at the source, it seems that it calls into Dataset._save
method, which doesn't seem to provide for such option.

How would one go about doing that?


Thanks,
Johnathan

-- 
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.

Reply via email to