Suggested way to use multiple drivers
Is there a suggested way to use multiple drivers?
Above is what im currently doing (using pg docker image for my local db), but it seems sketchy since all the code I use to test locally is actually different from what gets ran in live environments. Is there a better way?
3 Replies
Check this thread https://discord.com/channels/1043890932593987624/1190286691903213620
yeah, i think casting wouldnt be the best idea. I suppose i could cast it that way, but it seems unwise to test different from how you run prod
there are a number of issues in the GH repository about bugs with specific drivers. seems like a lot of behavior would have to be double checked in a live env connected to neon to really validate any behavior
That's completely up to you. The runtime behaviour should be the same when working with the same underlying dialect
I've seen people work on SQLite db in dev and Postgres in prod. They make it work.