MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / create

Function create

packages/core/fumadb/src/convex/query.ts:74–86  ·  view source on GitHub ↗
(table, values)

Source from the content-addressed store, hash-verified

72 });
73 },
74 async create(table, values) {
75 const result = await client.mutation(api.mutationHandler, {
76 tableName: table.ormName,
77 action: {
78 type: "create",
79 data: [values],
80 returning: true,
81 },
82 secret,
83 });
84
85 return result?.[0];
86 },
87 async createMany(table, values) {
88 const results = await client.mutation(api.mutationHandler, {
89 tableName: table.ormName,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected