| 2118 | |
| 2119 | |
| 2120 | inline static bool |
| 2121 | IsProjectFunctionOid(Oid oid) |
| 2122 | { |
| 2123 | return oid == BsonDollarProjectFunctionOid() || |
| 2124 | oid == BsonDollarProjectWithLetFunctionOid() || |
| 2125 | oid == BsonDollarProjectWithLetAndCollationFunctionOid() || |
| 2126 | oid == BsonDollarProjectFindFunctionOid() || |
| 2127 | oid == BsonDollarProjectFindWithLetFunctionOid() || |
| 2128 | oid == BsonDollarProjectFindWithLetAndCollationFunctionOid(); |
| 2129 | } |
| 2130 | |
| 2131 | |
| 2132 | /* tree_walker_callback that recursively checks if all field paths in the tree are covered by the index. |
no test coverage detected