spec/support/helpers/params.rb in ajax-datatables-rails-1.4.0 vs spec/support/helpers/params.rb in ajax-datatables-rails-1.5.0
- old
+ new
@@ -68,12 +68,12 @@
end
# rubocop:enable Metrics/MethodLength
def nulls_last_sql(datatable)
case datatable.db_adapter
- when :pg, :postgresql, :postgres, :oracle
+ when :pg, :postgresql, :postgres, :oracle, :postgis
'NULLS LAST'
- when :mysql, :mysql2, :sqlite, :sqlite3
+ when :mysql, :mysql2, :trilogy, :sqlite, :sqlite3
'IS NULL'
else
raise 'unsupported database adapter'
end
end