We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1b97a6 commit 16a4634Copy full SHA for 16a4634
lib/arjdbc/db2/adapter.rb
@@ -753,11 +753,10 @@ def reorg_table(table_name, name = nil)
753
754
# alias_method :execute_and_auto_confirm, :execute
755
756
- # Returns the value of an identity column of the last *INSERT* statement
757
- # made over this connection.
+ # Returns the value of an identity column of the last *INSERT* statement made over this connection.
758
# @note Check the *IDENTITY_VAL_LOCAL* function for documentation.
759
- # @return [Fixnum]
760
- def last_insert_id
+ # @return [Integer, NilClass]
+ def last_inserted_id(result)
761
@connection.identity_val_local
762
end
763
0 commit comments