Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Findone query

komaljain-ee edited this page Dec 2, 2013 · 1 revision

No. Time Source Destination Protocol Length Info
1 0.000000000 127.0.0.1 127.0.0.1 MONGO 112 Request : Query

Frame 1: 112 bytes on wire (896 bits), 112 bytes captured (896 bits) on interface 0
Mongo Wire Protocol
Message Length: 46
Request ID: 0x0000000b (11)
Response To: 0x00000000 (0)
OpCode: Query (2004)
Query Flags
.... .... .... .... .... .... .... ..0. = Tailable Cursor: No
.... .... .... .... .... .... .... .0.. = Slave OK: No
.... .... .... .... .... .... .... 0... = Op Log Reply: No
.... .... .... .... .... .... ...0 .... = No Cursor Timeout: No
.... .... .... .... .... .... ..0. .... = AwaitData: No
.... .... .... .... .... .... .0.. .... = Exhaust: No
.... .... .... .... .... .... 0... .... = Partial: No
fullCollectionName: midas.demo1K
Database Name: midas
Collection Name: demo1K
Number To Skip: 0
Number to Return: -1
Query
Document length: 5
Empty Document



No. Time Source Destination Protocol Length Info
2 0.000368000 127.0.0.1 127.0.0.1 MONGO 168 Response : Reply

Frame 2: 168 bytes on wire (1344 bits), 168 bytes captured (1344 bits) on interface 0
Mongo Wire Protocol
Message Length: 102
Request ID: 0x0000000b (11)
Response To: 0x0000000b (11)
OpCode: Reply (1)
Reply Flags
.... .... .... .... .... .... .... ...0 = Cursor Not Found: No
.... .... .... .... .... .... .... ..0. = Query Failure: No
.... .... .... .... .... .... .... .0.. = Shared Config Stale: No
.... .... .... .... .... .... .... 1... = Await Capable: Yes
Cursor ID: 0
Starting From: 0
Number Returned: 1
Document
Document length: 66
Elements
Element: _id
Type: Object ID (0x07)
ObjectID: 524e6e8bcef4d23cb61e19c9
ObjectID Time: 1380871819
ObjectID Machine: 0xd2f4ce
ObjectID PID: 46652
ObjectID inc: 1972681
Element: jokes
Type: Double (0x01)
Value: 0.0244946628808975
Element: count
Type: Double (0x01)
Value: 1
Element: time
Type: Datetime (0x09)
Value: 1380871819288


No. Time Source Destination Protocol Length Info
4 0.001519000 127.0.0.1 127.0.0.1 MONGO 146 Request : Query

Frame 4: 146 bytes on wire (1168 bits), 146 bytes captured (1168 bits) on interface 0
Mongo Wire Protocol
Message Length: 80
Request ID: 0x0000000c (12)
Response To: 0x00000000 (0)
OpCode: Query (2004)
Query Flags
.... .... .... .... .... .... .... ..0. = Tailable Cursor: No
.... .... .... .... .... .... .... .0.. = Slave OK: No
.... .... .... .... .... .... .... 0... = Op Log Reply: No
.... .... .... .... .... .... ...0 .... = No Cursor Timeout: No
.... .... .... .... .... .... ..0. .... = AwaitData: No
.... .... .... .... .... .... .0.. .... = Exhaust: No
.... .... .... .... .... .... 0... .... = Partial: No
fullCollectionName: midas.$cmd
Database Name: midas
Collection Name: $cmd
Number To Skip: 0
Number to Return: -1
Query
Document length: 41
Elements
Element: isMaster
Type: Double (0x01)
Value: 1
Element: forShell
Type: Double (0x01)
Value: 1


No. Time Source Destination Protocol Length Info
5 0.001637000 127.0.0.1 127.0.0.1 MONGO 237 Response : Reply

Frame 5: 237 bytes on wire (1896 bits), 237 bytes captured (1896 bits) on interface 0
Mongo Wire Protocol
Message Length: 171
Request ID: 0x0000000c (12)
Response To: 0x0000000c (12)
OpCode: Reply (1)
Reply Flags
.... .... .... .... .... .... .... ...0 = Cursor Not Found: No
.... .... .... .... .... .... .... ..0. = Query Failure: No
.... .... .... .... .... .... .... .0.. = Shared Config Stale: No
.... .... .... .... .... .... .... 1... = Await Capable: Yes
Cursor ID: 0
Starting From: 0
Number Returned: 1
Document
Document length: 135
Elements
Element: ismaster
Type: Boolean (0x08)
Value: True
Element: maxBsonObjectSize
Type: Int32 (0x10)
Value: 16777216
Element: maxMessageSizeBytes
Type: Int32 (0x10)
Value: 48000000
Element: localTime
Type: Datetime (0x09)
Value: 1385975748904
Element: maxWireVersion
Type: Int32 (0x10)
Value: 2
Element: minWireVersion
Type: Int32 (0x10)
Value: 0
Element: ok
Type: Double (0x01)
Value: 1

Clone this wiki locally