method

insert_sql

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
insert_sql(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil) public

Executes an INSERT query and returns the new record’s ID

Show source
Register or log in to add new notes.