method
last_insert_id
last_insert_id()
private
Hide source
# File activerecord/lib/active_record/connection_adapters/db2_adapter.rb, line 204 def last_insert_id row = select_one("with temp(id) as (values (identity_val_local())) select * from temp\n".strip) row['id'].to_i end


