Flowdock
method

last_insert_id

Importance_0
v1.2.6 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::DB2Adapter
last_insert_id() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/db2_adapter.rb, line 194
        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
Register or log in to add new notes.