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

Function command_create_role

pg_documentdb/src/commands/roles.c:147–155  ·  view source on GitHub ↗

* Parses a createRole spec, executes the createRole command, and returns the result. */

Source from the content-addressed store, hash-verified

145 * Parses a createRole spec, executes the createRole command, and returns the result.
146 */
147Datum
148command_create_role(PG_FUNCTION_ARGS)
149{
150 pgbson *createRoleSpec = PG_GETARG_PGBSON(0);
151
152 Datum response = create_role(createRoleSpec);
153
154 PG_RETURN_DATUM(response);
155}
156
157
158/*

Callers

nothing calls this directly

Calls 1

create_roleFunction · 0.85

Tested by

no test coverage detected