Skip to content

Commit

Permalink
Replace SELECT * with specific fields (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
baha-a authored May 18, 2024
1 parent 14bbe4e commit 479ffc6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
13 changes: 11 additions & 2 deletions DSL/Resql/get-scheduled-report.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
SELECT *
SELECT
id,
name,
dataset_id,
period,
metrics,
created,
updated,
start_date,
end_date
FROM scheduled_reports
WHERE dataset_id = :datasetId
WHERE dataset_id = :datasetId;
13 changes: 11 additions & 2 deletions DSL/Resql/get-scheduled-reports.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
SELECT *
FROM scheduled_reports
SELECT
id,
name,
dataset_id,
period,
metrics,
created,
updated,
start_date,
end_date
FROM scheduled_reports;

0 comments on commit 479ffc6

Please sign in to comment.