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

Function table

packages/core/sdk/src/fuma-runtime.ts:272–275  ·  view source on GitHub ↗
(name: TableName)

Source from the content-addressed store, hash-verified

270 options: MakeFumaClientOptions,
271): FumaQuery<TSchema> => {
272 const table = <TableName extends keyof TSchema["tables"]>(name: TableName): TableName => {
273 assertAllowedTable(options.tables, name);
274 return name;
275 };
276
277 const query: FumaQuery<TSchema> = {
278 count: (name, value) => db.count(table(name), value),

Callers 1

makeSafeFumaQueryFunction · 0.70

Calls 1

assertAllowedTableFunction · 0.85

Tested by

no test coverage detected