Skip to content

Commit

Permalink
Fix show records functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhem committed Sep 13, 2024
1 parent 7d5cc5b commit 40f4a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ls/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default class FirebirdSQL
page?: number;
}
): Promise<NSDatabase.IResult<any>[]> {
return await this.query(`SELECT TOP ${opt.limit} * FROM ${table.schema}.${table.label}`)
return await this.query(`SELECT * FROM ${table.label} ROWS ${opt.limit}`)
}

private async getChildrenForGroup({
Expand Down

0 comments on commit 40f4a26

Please sign in to comment.