Skip to content

Update SQL queries to support multiple databases - #16

Open
lumberjacklv wants to merge 1 commit into
steveneppler:mainfrom
lumberjacklv:feature/fix-analytics-for-postgres
Open

Update SQL queries to support multiple databases#16
lumberjacklv wants to merge 1 commit into
steveneppler:mainfrom
lumberjacklv:feature/fix-analytics-for-postgres

Conversation

@lumberjacklv

Copy link
Copy Markdown

Added new DatabaseHelper class to allow using functions that may be different between databases.
Updated the use of strftime to allow those queries to be ran on all databases
Updated TempEfficiencyChart having clause to use COUNT() instead of referencing a column alias as those have not been evaluated when the having clause is being evaluated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant