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 charset support for mysql #218

Merged
merged 2 commits into from
Apr 6, 2021
Merged

Add charset support for mysql #218

merged 2 commits into from
Apr 6, 2021

Conversation

Aiko-Suzuki
Copy link
Contributor

No description provided.

Copy link
Owner

@eveningkid eveningkid left a comment

Choose a reason for hiding this comment

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

Hey Aiko,

This is great, I wasn't aware of this option so let's make it available to everybody :)

I know it's annoying, but if you could just remove the extra spaces first, then I'll be able to merge this.

Thank you!

@@ -10,6 +10,7 @@ export interface MySQLOptions extends ConnectorOptions {
username: string;
password: string;
port?: number;
charset? : string;
Copy link
Owner

Choose a reason for hiding this comment

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

charset?: string;, there's an extra space here

@@ -38,6 +39,7 @@ export class MySQLConnector implements Connector {
db: this._options.database,
password: this._options.password,
port: this._options.port ?? 3306,
charset : this._options.charset ?? "utf8",
Copy link
Owner

Choose a reason for hiding this comment

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

And here again: charset: this._options...

@Aiko-Suzuki
Copy link
Contributor Author

there you go should be fine now

@eveningkid eveningkid self-requested a review April 6, 2021 11:25
Copy link
Owner

@eveningkid eveningkid left a comment

Choose a reason for hiding this comment

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

All good, thanks!

Have a great day :)

@eveningkid eveningkid merged commit 6e06223 into eveningkid:master Apr 6, 2021
@aronmalkine
Copy link

aronmalkine commented Jun 18, 2021

Shouldn't the default value be the non-broken 'utf8mb4' value instead here?

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.

3 participants