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.
2 parents 001c07c + 8227875 commit 62e3d66Copy full SHA for 62e3d66
lib/arjdbc/db2/adapter.rb
@@ -704,11 +704,10 @@ def reorg_table(table_name, name = nil)
704
705
# alias_method :execute_and_auto_confirm, :execute
706
707
- # Returns the value of an identity column of the last *INSERT* statement
708
- # made over this connection.
+ # Returns the value of an identity column of the last *INSERT* statement made over this connection.
709
# @note Check the *IDENTITY_VAL_LOCAL* function for documentation.
710
- # @return [Fixnum]
711
- def last_insert_id
+ # @return [Integer, NilClass]
+ def last_inserted_id(result)
712
@connection.identity_val_local
713
end
714
0 commit comments