Method: Sequel::SQLite::DatabaseMethods#temp_store=
- Defined in:
- lib/sequel/adapters/shared/sqlite.rb
#temp_store=(value) ⇒ Object
Set the temp_store PRAGMA using the given symbol (:default, :file, or :memory). See pragma_set. Consider using the :temp_store Database option instead.
132 133 134 135 |
# File 'lib/sequel/adapters/shared/sqlite.rb', line 132 def temp_store=(value) value = TEMP_STORE.index(value) || (raise Error, "Invalid value for temp_store option. Please specify one of :default, :file, :memory.") pragma_set(:temp_store, value) end |