method

insert_sql

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

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