Skip to content

Commit 704f275

Browse files
author
anahan
committed
Skip $db parameter in query
1 parent f358ea8 commit 704f275

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/JaegerMongoDbCommandConvertor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ public function convert(object $command): string
140140
$result = 'db.runCommand({';
141141
foreach ($command as $k => $v) {
142142
switch ($k) {
143+
case '$db':
143144
case 'lsid':
144145
case 'txnNumber':
145146
continue 2;

0 commit comments

Comments
 (0)