lib/active_record/connection_adapters/fdbsql/database_statements.rb
# (Executes an INSERT and)
# Returns the last auto-generated ID from the affected table.
(Executes an INSERT and)
Returns the last auto-generated ID from the affected table.
( Executes an INSERT and ) Returns the last auto - generated ID from the affected table .
def insert_sql(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil)
            return super if id_value
            pk = pk_from_insert_sql(sql) unless pk
            select_value("#{sql} RETURNING #{quote_column_name(pk)}")
          end
def insert_sql ( sql , name = nil , pk = nil , id_value = nil , sequence_name = nil ) return super if id_value pk = pk_from_insert_sql ( sql ) unless pk select_value ( "#{sql} RETURNING #{quote_column_name(pk)}" ) end
(Executes an INSERT and)
Returns the last auto-generated ID from the affected table.
( Executes an INSERT and ) Returns the last auto - generated ID from the affected table .
sql
name
pk
id_value
sequence_name