What's the difference between "planetscale" and "default" mode on mysql2 client?
There is already a planetscale driver, this is the mysql2 driver. What does mode: "planetscale" do here?
3 Replies
You can connect to planetscale with mysql2 driver if you like.
What is the difference between connecting to planetscale with the mysql2 driver in "default" mode vs. "planetscale" mode?
That used to be in the docs. But for what I can remember, planetscale mode allowed to use the relational query builder without lateral joins, because they weren’t supported by planetscale. I honestly don’t remember the details much, but it was something like that