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

Function IsProjectFunctionOid

pg_documentdb/src/opclass/index_support.c:2120–2129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2118
2119
2120inline static bool
2121IsProjectFunctionOid(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.

Callers 1

CheckFieldCoverageFunction · 0.85

Tested by

no test coverage detected