(command: Document)
| 1076 | * @see https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.md#read-concern |
| 1077 | */ |
| 1078 | export function commandSupportsReadConcern(command: Document): boolean { |
| 1079 | if (command.aggregate || command.count || command.distinct || command.find || command.geoNear) { |
| 1080 | return true; |
| 1081 | } |
| 1082 | return false; |
| 1083 | } |
| 1084 | |
| 1085 | /** |
| 1086 | * @internal |