lib/sequel/dataset/features.rb in sequel-3.48.0 vs lib/sequel/dataset/features.rb in sequel-4.0.0
- old
+ new
@@ -8,14 +8,11 @@
# Whether this dataset quotes identifiers.
def quote_identifiers?
if defined?(@quote_identifiers)
@quote_identifiers
- elsif db.respond_to?(:quote_identifiers?)
- @quote_identifiers = db.quote_identifiers?
else
- Sequel::Deprecation.deprecate('Calling Dataset#quote_identifiers? for a dataset where the database doesn\'t implement quote_identifiers? will raise a NoMethodError in Sequel 4.')
- @quote_identifiers = false
+ @quote_identifiers = db.quote_identifiers?
end
end
# Whether this dataset will provide accurate number of rows matched for
# delete and update statements. Accurate in this case is the number of