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?
No description
3 Replies
Angelelz
Angelelz4mo ago
You can connect to planetscale with mysql2 driver if you like.
sbbu
sbbuOP4mo ago
What is the difference between connecting to planetscale with the mysql2 driver in "default" mode vs. "planetscale" mode?
Angelelz
Angelelz4mo ago
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
Want results from more Discord servers?
Add your server