class PLRuby::PL::Cursor
A cursor is created with the method PL::Plan#cursor
Public Instance Methods
close()
click to toggle source
Closes a cursor
# File plruby.rb, line 965 def close end
each() { |row| ... }
click to toggle source
Iterate over all rows (forward)
# File plruby.rb, line 971 def each yield row end
fetch(count = 1)
click to toggle source
Fetches some rows from a cursor
if count > 0 fetch forward else backward
# File plruby.rb, line 980 def fetch(count = 1) end
move(count)
click to toggle source
Move a cursor : if count > 0 move forward else backward
# File plruby.rb, line 989 def move(count) end
reverse_each() { |row| ... }
click to toggle source
Iterate over all rows (backward)
# File plruby.rb, line 995 def reverse_each yield row end
row(count = 1)
click to toggle source
same than fetch
# File plruby.rb, line 983 def row(count = 1) end