16 lines
332 B
Ruby
16 lines
332 B
Ruby
module Mongo
|
|
module Constants
|
|
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
|