On Saturday, May 9, 2015 at 2:50:17 PM UTC-7, Marcio Andrey Oliveira wrote:
>
> Hi. 
>
> I have a system that heavily relies on stored procedures. 
>
> I want to use sequel and I need it to call these stored procedures that 
> have many in / out parameters, as well as some that return cursors but I 
> failed to find docs / samples of how to accomplish this. 
>
> Can someone point me some docs / tutorials? 
>

Sequel doesn't have native support for stored procedures with in/out 
parameters on PostgreSQL, so you'll have to drop down to the driver level 
to do this type of access:

  DB.synchronize do |conn|
    # conn will be the connection object provided by the driver, e.g. 
PG::Connection
  end

You'll need to use the driver's API at that point, so if you have 
questions, ask the authors of the corresponding driver.

Thanks,
Jeremy

-- 
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 http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to