SQS row tests passing.
This commit is contained in:
parent
bd17770e4e
commit
504ddba9b9
|
@ -3276,7 +3276,7 @@ if (descriptions.length) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
it.only("should be able to search for rows containing formulas", async () => {
|
it("should be able to search for rows containing formulas", async () => {
|
||||||
const { rows } = await config.api.row.search(table._id!)
|
const { rows } = await config.api.row.search(table._id!)
|
||||||
expect(rows.length).toBe(1)
|
expect(rows.length).toBe(1)
|
||||||
expect(rows[0].links.length).toBe(1)
|
expect(rows[0].links.length).toBe(1)
|
||||||
|
|
|
@ -228,7 +228,7 @@ async function runSqlQuery(
|
||||||
) {
|
) {
|
||||||
const relationshipJunctionTableIds = relationships.map(rel => rel.through!)
|
const relationshipJunctionTableIds = relationships.map(rel => rel.through!)
|
||||||
const alias = new AliasTables(
|
const alias = new AliasTables(
|
||||||
tables.map(table => table.name).concat(relationshipJunctionTableIds)
|
tables.map(table => table._id!).concat(relationshipJunctionTableIds)
|
||||||
)
|
)
|
||||||
if (opts?.countTotalRows) {
|
if (opts?.countTotalRows) {
|
||||||
json.endpoint.operation = Operation.COUNT
|
json.endpoint.operation = Operation.COUNT
|
||||||
|
|
Loading…
Reference in New Issue