Expand description
MongoDB wire protocol parser (OP_MSG only, modern MongoDB 3.6+) All integers are little-endian.
Functions§
- extract_
mongo_ full_ command - Extract full command detail (for Detail panel) — mongosh-style replayable statements.
- format_
mongo_ response_ detail - Format detailed response for the detail panel.
- mongo_
msg_ len - Get the total message length from a MongoDB wire protocol header. Returns None if buffer is too small or length is invalid.
- parse_
mongo_ request - Parse a MongoDB request (client→server), returning a command summary.
- parse_
mongo_ response - Parse a MongoDB response (server→client), returning a summary.