(collection: string, key?: string)
| 1442 | |
| 1443 | const whereFor = |
| 1444 | (collection: string, key?: string): CoreWhere => |
| 1445 | (b: AnyCb) => |
| 1446 | b.and( |
| 1447 | b("plugin_id", "=", input.pluginId), |
| 1448 | b("collection", "=", collection), |
| 1449 | key === undefined ? true : b("key", "=", key), |
| 1450 | ); |
| 1451 | |
| 1452 | const whereOwner = (owner: Owner, collection: string, key: string): CoreWhere => { |
| 1453 | const os = ownerSubject(owner); |
no outgoing calls
no test coverage detected