Method: Sequel::Dataset#supports_window_function_frame_option?
- Defined in:
- lib/sequel/dataset/features.rb
#supports_window_function_frame_option?(option) ⇒ Boolean
Whether the dataset supports the given window function option. True by default. This should only be called if supports_window_functions? is true. Possible options are :rows, :range, :groups, :offset, :exclude.
224 225 226 227 228 229 230 231 |
# File 'lib/sequel/dataset/features.rb', line 224 def supports_window_function_frame_option?(option) case option when :rows, :range, :offset true else false end end |