(collection: string, key?: string)
| 1155 | |
| 1156 | const whereFor = |
| 1157 | (collection: string, key?: string): CoreWhere => |
| 1158 | (b: AnyCb) => |
| 1159 | b.and( |
| 1160 | b("plugin_id", "=", input.pluginId), |
| 1161 | b("collection", "=", collection), |
| 1162 | key === undefined ? true : b("key", "=", key), |
| 1163 | ); |
| 1164 | |
| 1165 | const whereOwner = (owner: Owner, collection: string, key: string): CoreWhere => { |
| 1166 | const os = ownerSubject(owner); |
no outgoing calls
no test coverage detected