(collection: string, key?: string)
| 1142 | |
| 1143 | const whereFor = |
| 1144 | (collection: string, key?: string): CoreWhere => |
| 1145 | (b: AnyCb) => |
| 1146 | b.and( |
| 1147 | b("plugin_id", "=", input.pluginId), |
| 1148 | b("collection", "=", collection), |
| 1149 | key === undefined ? true : b("key", "=", key), |
| 1150 | ); |
| 1151 | |
| 1152 | const whereOwner = (owner: Owner, collection: string, key: string): CoreWhere => { |
| 1153 | const os = ownerSubject(owner); |
no outgoing calls
no test coverage detected