cy.query('SELECT * FROM myTable').then(datas => {
// array object
})
cy.query<MyObject>('SELECT * FROM myTable').then(datas => {
// array MyObject
})
// SELECT * FROM myTable
cy.selectAll({ table: 'myTable' }).then(datas => {
// array object
})
// SELECT * FROM myTable
cy.selectAll<MyObject>({ table: 'myTable' }).then(datas => {
// array MyObject
})