Method: Sequel::SQLite::DatasetMethods#supports_cte?

Defined in:
lib/sequel/adapters/shared/sqlite.rb

#supports_cte?(type = :select) ⇒ Boolean

SQLite 3.8.3+ supports common table expressions.

Returns:

  • (Boolean)
[View source]

802
803
804
# File 'lib/sequel/adapters/shared/sqlite.rb', line 802

def supports_cte?(type=:select)
  db.sqlite_version >= 30803
end