Method: Sequel::SQLite::DatabaseMethods#synchronous=
- Defined in:
- lib/sequel/adapters/shared/sqlite.rb
#synchronous=(value) ⇒ Object
Set the synchronous PRAGMA using the given symbol (:off, :normal, or :full).
79 80 81 82 |
# File 'lib/sequel/adapters/shared/sqlite.rb', line 79 def synchronous=(value) value = SYNCHRONOUS.index(value) || (raise Error, "Invalid value for synchronous option. Please specify one of :off, :normal, :full.") pragma_set(:synchronous, value) end |