()
| 608 | this.values = [1, 2]; |
| 609 | } |
| 610 | get query() { |
| 611 | if (['db2', 'oracle'].includes(dialect)) { |
| 612 | return `select ? as "foo", ? as "bar"${ Support.addDualInSelect()}`; |
| 613 | } |
| 614 | return 'select ? as foo, ? as bar'; |
| 615 | } |
| 616 | } |
| 617 | const result = await this.sequelize.query(new SQLStatement(), { type: this.sequelize.QueryTypes.SELECT, logging: s => logSql = s } ); |
| 618 | expect(result).to.deep.equal([{ foo: 1, bar: 2 }]); |
no outgoing calls
no test coverage detected