Method: Libcouchbase::QueryN1QL#received

Defined in:
lib/libcouchbase/query_n1ql.rb

#received(row) ⇒ Object

Row is JSON value representing the result



75
76
77
78
79
80
81
# File 'lib/libcouchbase/query_n1ql.rb', line 75

def received(row)
    return if @error
    @callback.call(false, row)
rescue => e
    @error = e
    cancel
end