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

Function command_insert

pg_documentdb/src/commands/insert.c:169–174  ·  view source on GitHub ↗

* command_insert handles the insert command invocation through a PostgreSQL function. * * Server-side implementation of the insert command never attempts to deduplicate * the given document/s to be inserted. */

Source from the content-addressed store, hash-verified

167 * the given document/s to be inserted.
168 */
169Datum
170command_insert(PG_FUNCTION_ARGS)
171{
172 ReportFeatureUsage(FEATURE_COMMAND_INSERT);
173 PG_RETURN_DATUM(CommandInsertCore(fcinfo, WriteMode_Txn_Func, CurrentMemoryContext));
174}
175
176
177/*

Callers

nothing calls this directly

Calls 2

ReportFeatureUsageFunction · 0.85
CommandInsertCoreFunction · 0.85

Tested by

no test coverage detected