()
| 431 | } |
| 432 | |
| 433 | getDatabaseMethod() { |
| 434 | if (this.isInsertQuery() || this.isUpdateQuery() || this.isUpsertQuery() || this.isBulkUpdateQuery() || this.sql.toLowerCase().includes('CREATE TEMPORARY TABLE'.toLowerCase()) || this.options.type === QueryTypes.BULKDELETE) { |
| 435 | return 'run'; |
| 436 | } |
| 437 | return 'all'; |
| 438 | } |
| 439 | } |
| 440 | |
| 441 | module.exports = Query; |
no test coverage detected