()
| 570 | this.values = [1, 2]; |
| 571 | } |
| 572 | get query() { |
| 573 | if (dialect === class="st">'db2') { |
| 574 | return class="st">'select ? as "foo", ? as "bar"'; |
| 575 | } |
| 576 | return class="st">'select ? as foo, ? as bar'; |
| 577 | } |
| 578 | } |
| 579 | const result = await this.sequelize.query(new SQLStatement(), { type: this.sequelize.QueryTypes.SELECT, logging: s => logSql = s } ); |
| 580 | expect(result).to.deep.equal([{ foo: 1, bar: 2 }]); |
no outgoing calls
no test coverage detected