Module: Cassie::Statements::Results::Peeking

Extended by:
ActiveSupport::Concern
Included in:
CursoredResult, PeekingResult
Defined in:
lib/cassie/statements/execution/results/peeking.rb

Instance Method Summary collapse

Instance Method Details

#peeked_resultObject



10
11
12
13
14
15
16
# File 'lib/cassie/statements/execution/results/peeking.rb', line 10

def peeked_result
  return @peeked_result if defined?(@peeked_result)

  @peeked_result = if peeked_row
    each_deserializer.call(peeked_row)
  end
end