(collection: string, key?: string)
| 1522 | |
| 1523 | const whereFor = |
| 1524 | (collection: string, key?: string): CoreWhere => |
| 1525 | (b: AnyCb) => |
| 1526 | b.and( |
| 1527 | b("plugin_id", "=", input.pluginId), |
| 1528 | b("collection", "=", collection), |
| 1529 | key === undefined ? true : b("key", "=", key), |
| 1530 | ); |
| 1531 | |
| 1532 | const whereOwner = (owner: Owner, collection: string, key: string): CoreWhere => { |
| 1533 | const os = ownerSubject(owner); |
no outgoing calls
no test coverage detected