Skip to content

Commit

Permalink
Merge pull request #1438 from Azanul/develop
Browse files Browse the repository at this point in the history
fix: TotalOutput does not have column count
  • Loading branch information
Azanul authored Jun 11, 2024
2 parents 8f64ce5 + 2a1f75a commit f4d2011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion repository/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var Queries = map[string]repository.Object{
Type: repository.RAW,
},
repository.AccountsResourceCountKey: {
Query: "SELECT COUNT(*) as count FROM (SELECT DISTINCT account FROM resources) AS temp",
Query: "SELECT COUNT(*) as total FROM (SELECT DISTINCT account FROM resources) AS temp",
Type: repository.RAW,
},
repository.RegionResourceCountKey: {
Expand Down
2 changes: 1 addition & 1 deletion repository/sqlite/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var Queries = map[string]repository.Object{
Type: repository.RAW,
},
repository.AccountsResourceCountKey: {
Query: "SELECT COUNT(*) as count FROM (SELECT DISTINCT account FROM resources) AS temp",
Query: "SELECT COUNT(*) as total FROM (SELECT DISTINCT account FROM resources) AS temp",
Type: repository.RAW,
},
repository.RegionResourceCountKey: {
Expand Down

0 comments on commit f4d2011

Please sign in to comment.