Skip to content

Add vitess dialect#21

Merged
jimsmart merged 2 commits intojimsmart:masterfrom
johanoskarsson:master
Jan 5, 2023
Merged

Add vitess dialect#21
jimsmart merged 2 commits intojimsmart:masterfrom
johanoskarsson:master

Conversation

@johanoskarsson
Copy link
Copy Markdown

I attempted to get schema information out of Vitess schema information using this library. Vitess is a sharding system from Youtube written in Go.
Since Vitess is MySQL under the hood and supports the MySQL dialect I figured it would work. However the error I got suggested this library did not recognize the vitess driver. Understandable. So I simply added it to the driverDialect map with a reference to the mysql dialect and it worked fine after that.

Would love to contribute this small change back since it might help someone else. One could imagine adding a whole dialect for getting more vitess specific information also, but that might be another day.

For reference: https://vitess.io/

@jimsmart
Copy link
Copy Markdown
Owner

jimsmart commented Jan 5, 2023

Merged into v0.2.1

Thanks for your contribution, appreciated.

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