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

Function AddTerm

pg_documentdb/src/opclass/bson_gin_core.c:1065–1071  ·  view source on GitHub ↗

* Adds a term to the entry set and ensures there's * sufficient capacity to add the term in. */

Source from the content-addressed store, hash-verified

1063 * sufficient capacity to add the term in.
1064 */
1065inline static void
1066AddTerm(GinEntrySet *context, Datum term)
1067{
1068 EnsureTermCapacity(context, 1);
1069 context->entries[context->index] = term;
1070 context->index++;
1071}
1072
1073
1074static GinEntryPathData *

Callers 3

GenerateTermsForPathFunction · 0.85
GenerateTermsFunction · 0.85
GenerateTermPathFunction · 0.85

Calls 1

EnsureTermCapacityFunction · 0.85

Tested by

no test coverage detected