(query: FindOptions)
| 230 | |
| 231 | // Uses the files table to do a findOne query |
| 232 | findOne(query: FindOptions) { |
| 233 | return this.sync.then((db) => |
| 234 | db.File.findOne({ |
| 235 | ...query, |
| 236 | include: this.db.fileIncludes, |
| 237 | }) |
| 238 | ); |
| 239 | } |
| 240 | |
| 241 | // Uses the files table to do a findAll query |
| 242 | findAll(query: FindOptions) { |
no outgoing calls
no test coverage detected