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

Add MySqlConnectOptions::get_database() #2871

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

shiftrightonce
Copy link
Contributor

The Postgres implementation has this method. It is also helpful for queries that require the current database name. example:

SELECT table_name FROM INFORMATION_SCHEMA.TABLES WHERE table_name = ? &&
table_schema = ?;

Does your PR solve an issue?

No

The Postgres implementation has this method. It is also
helpful for queries that require the current datbase name.
example:

```sql
SELECT table_name FROM INFORMATION_SCHEMA.TABLES WHERE table_name = ? &&
table_schema = ?;
```
@abonander abonander changed the title Add a get_database method Add MySqlConnectOptions::get_database() Nov 15, 2023
@abonander abonander merged commit 9a6ebd0 into launchbadge:main Nov 15, 2023
64 checks passed
@shiftrightonce shiftrightonce deleted the expose_mysql_database branch November 27, 2023 02:09
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.

2 participants