| Class | Mongo::Protocol::Reply |
| In: |
lib/mongo/protocol/reply.rb
|
| Parent: | Message |
The MongoDB wire protocol message representing a reply
@example
socket = TCPSocket.new('localhost', 27017)
query = Protocol::Query.new('xgen', 'users', {:name => 'Tyler'})
socket.write(query)
reply = Protocol::Reply::deserialize(socket)
@api semipublic
Determine if the reply had a cursor not found flag.
@example Did the reply have a cursor not found flag.
reply.cursor_not_found?
@return [ true, false ] If the query cursor was not found.
@since 2.2.3