(table, { where })
| 362 | }, |
| 363 | tables: schema.tables, |
| 364 | async count(table, { where }) { |
| 365 | return await db |
| 366 | .collection(table.names.mongodb) |
| 367 | .countDocuments(where ? buildWhere(where) : undefined, { session }); |
| 368 | }, |
| 369 | async findFirst(table, v) { |
| 370 | const result = await orm.findMany(table, { |
| 371 | ...v, |
nothing calls this directly
no test coverage detected