MCPcopy Create free account
hub / github.com/documentdb/documentdb / IndexSpecAsBson

Function IndexSpecAsBson

pg_documentdb/src/metadata/index.c:1216–1222  ·  view source on GitHub ↗

* IndexSpecAsBson is the C interface for ApiInternalSchema.index_spec_as_bson. */

Source from the content-addressed store, hash-verified

1214 * IndexSpecAsBson is the C interface for ApiInternalSchema.index_spec_as_bson.
1215 */
1216pgbson *
1217IndexSpecAsBson(const IndexSpec *indexSpec)
1218{
1219 bool isGetIndexes = false;
1220 const char *namespaceName = NULL;
1221 return SerializeIndexSpec(indexSpec, isGetIndexes, namespaceName);
1222}
1223
1224
1225/*

Calls 1

SerializeIndexSpecFunction · 0.85

Tested by

no test coverage detected