Method: Sequel::SQL::Function#with_ordinality

Defined in:
lib/sequel/sql.rb

#with_ordinalityObject

Return a new function that will use WITH ORDINALITY to also return a row number for every row the function returns:

Sequel.function(:foo).with_ordinality # foo() WITH ORDINALITY
[View source]

1472
1473
1474
# File 'lib/sequel/sql.rb', line 1472

def with_ordinality
  with_opts(:with_ordinality=>true)
end