Method: Sequel::SQLite::DatasetMethods#supports_window_functions?

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

#supports_window_functions?Boolean

SQLite 3.25+ supports window functions. However, support is only enabled on SQLite 3.26.0+ because internal Sequel usage of window functions to implement eager loading of limited associations triggers an SQLite crash bug in versions 3.25.0-3.25.3.

Returns:

  • (Boolean)
[View source]

867
868
869
# File 'lib/sequel/adapters/shared/sqlite.rb', line 867

def supports_window_functions?
  db.sqlite_version >= 32600
end