We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0128d1 commit 6468c67Copy full SHA for 6468c67
components/database/actions/query-sql-database/query-sql-database.mjs
@@ -20,7 +20,9 @@ export default {
20
async run({ $ }) {
21
const args = this.postgresql.executeQueryAdapter(this.sql);
22
const data = await this.postgresql.executeQuery(args);
23
- const rowLabel = data.length === 1 ? "row" : "rows";
+ const rowLabel = data.length === 1
24
+ ? "row"
25
+ : "rows";
26
$.export("$summary", `Returned ${data.length} ${rowLabel}`);
27
return data;
28
},
0 commit comments