Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Postgres in database.ts #20

Merged
merged 7 commits into from
Nov 30, 2023
Merged

Support Postgres in database.ts #20

merged 7 commits into from
Nov 30, 2023

Conversation

Zarel
Copy link
Member

@Zarel Zarel commented Nov 30, 2023

Untested.

connectedDatabases.push(this);
}
resolveSQL(query: SQLStatement): [query: string, values: BasicSQLValue[]] {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh this is so much duplicate code though... I think probably it's worth leaving like this.

Just a convenience function.
This mostly makes some code more readable and fixes an instance
where Postgres identifiers weren't supported.
@Zarel Zarel merged commit 7bbc471 into master Nov 30, 2023
1 check passed
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