(collection: string, key?: string)
| 1317 | |
| 1318 | const whereFor = |
| 1319 | (collection: string, key?: string): CoreWhere => |
| 1320 | (b: AnyCb) => |
| 1321 | b.and( |
| 1322 | b("plugin_id", "=", input.pluginId), |
| 1323 | b("collection", "=", collection), |
| 1324 | key === undefined ? true : b("key", "=", key), |
| 1325 | ); |
| 1326 | |
| 1327 | const whereOwner = (owner: Owner, collection: string, key: string): CoreWhere => { |
| 1328 | const os = ownerSubject(owner); |
no outgoing calls
no test coverage detected