mongo-ruby-driver/lib/mongo/constants.rb

16 lines
327 B
Ruby
Raw Normal View History

module Mongo
module Constants
2009-12-16 19:03:15 +00:00
OP_REPLY = 1
OP_MSG = 1000
OP_UPDATE = 2001
OP_INSERT = 2002
OP_QUERY = 2004
OP_GET_MORE = 2005
OP_DELETE = 2006
OP_KILL_CURSORS = 2007
OP_QUERY_SLAVE_OK = 4
OP_QUERY_NO_CURSOR_TIMEOUT = 16
end
end