(collection: string, key?: string)
| 1194 | |
| 1195 | const whereFor = |
| 1196 | (collection: string, key?: string): CoreWhere => |
| 1197 | (b: AnyCb) => |
| 1198 | b.and( |
| 1199 | b("plugin_id", "=", input.pluginId), |
| 1200 | b("collection", "=", collection), |
| 1201 | key === undefined ? true : b("key", "=", key), |
| 1202 | ); |
| 1203 | |
| 1204 | const whereOwner = (owner: Owner, collection: string, key: string): CoreWhere => { |
| 1205 | const os = ownerSubject(owner); |
no outgoing calls
no test coverage detected