db0
db0 copied to clipboard
feat: add planetscale support
๐ Linked issue
#32
โ Type of change
- [x] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [ ] ๐ Enhancement (improving an existing functionality like performance)
- [x] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
I have added a connector for @planetscale/database. It is mostly a copy of the Postgresql connector with some small changes.
Due to differences in SQL dialects I added a dialect
option to the testConnector
function.
Using a switch statement, the correct query is used for the different dialects.
Maybe there are better other options (suggestions)?
๐ Checklist
- [x] I have linked an issue or discussion.
- [x] I have updated the documentation accordingly.