Answer the question
In order to leave comments, you need to log in
How to use in Ruby 2.1.1 user defined type postgresql?
how to call the following postgresql stored procedure, using bind variables in ruby
create or replace function el_folder_save
(
i_privacy_list el_privacy_type[]
) ...
CREATE TYPE el_privacy_type AS
(
profile_id bigint,
privacy_type smallint
);
Answer the question
In order to leave comments, you need to log in
a year later, I'll answer myself :) you need to use json, this will solve the problem of transferring complex data, postgresql from 9.4 works very well with json.
Oftop . and yes instead of RoR, I chose django in python there is an option to use custom types to pass to postgresql
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question