Class: ActiveRecord::ConnectionAdapters::OracleAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/ar-extensions/adapters/oracle.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#next_value_for_sequence(sequence_name) ⇒ Object



5
6
7
# File 'lib/ar-extensions/adapters/oracle.rb', line 5

def next_value_for_sequence(sequence_name)
  %{#{sequence_name}.nextval}
end

#supports_import?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/ar-extensions/adapters/oracle.rb', line 9

def supports_import?
  true
end