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 9c6bdcc + a5c8d58 commit 9674fa9Copy full SHA for 9674fa9
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
@@ -127,7 +127,6 @@ def initialize(...)
127
results_as_hash: true,
128
default_transaction_mode: :immediate,
129
)
130
- @use_insert_returning = @config.key?(:insert_returning) ? self.class.type_cast_config_to_boolean(@config[:insert_returning]) : true
131
end
132
133
def database_exists?
@@ -434,10 +433,6 @@ def shared_cache? # :nodoc:
434
433
@config.fetch(:flags, 0).anybits?(::SQLite3::Constants::Open::SHAREDCACHE)
435
436
437
- def use_insert_returning?
438
- @use_insert_returning
439
- end
440
-
441
def get_database_version # :nodoc:
442
SQLite3Adapter::Version.new(query_value("SELECT sqlite_version(*)", "SCHEMA"))
443
0 commit comments