Module: Mongo
- Defined in:
- lib/mongo/errors.rb,
lib/mongo.rb,
lib/mongo/db.rb,
lib/mongo/admin.rb,
lib/mongo/query.rb,
lib/mongo/cursor.rb,
lib/mongo/collection.rb,
lib/mongo/connection.rb,
lib/mongo/types/code.rb,
lib/mongo/types/dbref.rb,
lib/mongo/types/binary.rb,
lib/mongo/types/objectid.rb,
lib/mongo/message/message.rb,
lib/mongo/message/opcodes.rb,
lib/mongo/types/undefined.rb,
lib/mongo/message/msg_message.rb,
lib/mongo/message/query_message.rb,
lib/mongo/message/insert_message.rb,
lib/mongo/message/message_header.rb,
lib/mongo/message/remove_message.rb,
lib/mongo/message/update_message.rb,
lib/mongo/types/regexp_of_holding.rb,
lib/mongo/message/get_more_message.rb,
lib/mongo/message/kill_cursors_message.rb
Overview
– Copyright © 2008-2009 10gen Inc.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ++
Defined Under Namespace
Classes: Admin, Binary, Code, Collection, Connection, Cursor, DB, DBRef, GetMoreMessage, InsertMessage, InvalidName, InvalidOperation, KillCursorsMessage, Message, MessageHeader, Mongo, MsgMessage, ObjectID, OperationFailure, Query, QueryMessage, RegexpOfHolding, RemoveMessage, Undefined, UpdateMessage
Constant Summary collapse
- ASCENDING =
1
- DESCENDING =
-1
- OP_REPLY =
reply. responseTo is set.
1
- OP_MSG =
generic msg command followed by a string
1000
- OP_UPDATE =
update object
2001
- OP_INSERT =
2002
- OP_QUERY =
GET_BY_OID = 2003
2004
- OP_GET_MORE =
2005
- OP_DELETE =
2006
- OP_KILL_CURSORS =
2007