| 200 | } |
| 201 | |
| 202 | std::string keyPartToFieldName(StringRef kp) { |
| 203 | DataValue dv = DataValue::decode_key_part(kp); |
| 204 | if (dv.getSortType() == DVTypeCode::NUMBER) |
| 205 | return std::to_string(dv.getInt()); |
| 206 | else |
| 207 | return dv.getString(); |
| 208 | } |
| 209 | |
| 210 | void bson_getDescendants(StringRef prefix, |
| 211 | StringRef begin, |
nothing calls this directly
no test coverage detected