Using magic SQL operator with 2 SQL dbs
Hi folks,
In my project I need to connect to both separate mysql and postgres databases.
I am able to successfully do so and create database objects but trying to execute raw SQL is not working currently using the magic SQL wrapper syntax.
Typescript is confused because it does not know how to assign the types for sql as it tries to assign them from mysql and pg types
I get this error message:
How can resolve this issue?
0 Replies