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

Function IsTextPathOpFamilyOid

pg_documentdb/src/index_am/index_am_utils.c:366–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364
365
366bool
367IsTextPathOpFamilyOid(Oid relam, Oid opFamilyOid)
368{
369 const BsonIndexAmEntry *amEntry = GetBsonIndexAmEntryByIndexOid(relam);
370 if (amEntry == NULL || amEntry->get_text_path_op_family_oid == NULL)
371 {
372 return false;
373 }
374
375 return opFamilyOid == amEntry->get_text_path_op_family_oid();
376}
377
378
379/*

Callers 5

IsTextIndexMatchFunction · 0.85
UpdateIndexListForTextFunction · 0.85
MatchIndexPathForTextFunction · 0.85

Calls 1

Tested by

no test coverage detected