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

Function GetSPIQueryPlan

pg_documentdb/src/infrastructure/plan_cache.c:105–112  ·  view source on GitHub ↗

* GetSPIQueryPlan gets the query plan for a given query and purges the * oldest entry from the LRU queue if the cache exceeds the size limit. */

Source from the content-addressed store, hash-verified

103 * oldest entry from the LRU queue if the cache exceeds the size limit.
104 */
105SPIPlanPtr
106GetSPIQueryPlan(uint64 collectionId, uint64 queryId,
107 const char *query, Oid *argTypes, int argCount)
108{
109 const char *shardTableName = NULL;
110 return GetSPIQueryPlanWithLocalShard(collectionId, shardTableName, queryId, query,
111 argTypes, argCount);
112}
113
114
115/*

Callers 5

DeleteRetryRecordFunction · 0.85
InsertRetryRecordFunction · 0.85
DeleteDocumentByTIDFunction · 0.85

Calls 1

Tested by

no test coverage detected