SQS row tests passing.

This commit is contained in:
Sam Rose 2024-11-27 12:40:34 +00:00
parent bd17770e4e
commit 504ddba9b9
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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