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

Function item

packages/core/fumadb/src/adapters/mongodb/query.ts:173–175  ·  view source on GitHub ↗
(col: AnyColumn)

Source from the content-addressed store, hash-verified

171 };
172
173 function item(col: AnyColumn) {
174 out[col.ormName] = { $ifNull: [`$${col.names.mongodb}`, null] };
175 }
176
177 if (select === true) {
178 for (const col of Object.values(table.columns)) item(col);

Callers 2

mapProjectionFunction · 0.70
afterAutoFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected