Method: Origin::Optional#cursor_type
- Defined in:
- lib/origin/optional.rb
#cursor_type(type) ⇒ Optional
Note:
The cursor can be type :tailable or :tailable_await.
Set the cursor type.
302 303 304 |
# File 'lib/origin/optional.rb', line 302 def cursor_type(type) clone.tap { |query| query..store(:cursor_type, type) } end |