Hortasha
Explore posts from serversDTDrizzle Team
•Created by Hortasha on 7/10/2023 in #help
Query issue - Syntax error at or near "$1"
Update: Turns out to be a user issue like always.
I happen to work in two different workspaces.
Database workspace:
Where i handle migrations and define my schemas
Provider workspace:
Where use the schemas in order to do operations towards the db.
I happened to install drizzle-orm as dependency on both workspaces. But i should only use one instance of the drizzle-orm dependency.
So when i foolishly saw the dependency was missing in the provider workspace and installed it. Breaking everything 😉
Maybe my mistakes is helpful to someone else in the future.
3 replies
DTDrizzle Team
•Created by Hortasha on 7/10/2023 in #help
Query issue - Syntax error at or near "$1"
Currently retracing back to older versions of the repo / dependencies where it all worked.
3 replies