Query issue - Syntax error at or near "$1"
Hello, I currently got this error recently:
PostgresError: syntax error at or near "$1"
This is the query i am trying to make. Note that this worked fine very recently.
If i use "toSQL()" in order to see what is being queried. I get the following:
I was expecting it to do 'select * from $1 order by $2 desc limit $3'
Using 0.26.5
Trying to upgrade to 0:27 gives a bunch of type errors for some reason:
Like:
Find that type error strange since i do not expect isDrizzleTable to be required in a schema i define? Anyone familiar with any of this, or what might be occuring here?
PostgresError: syntax error at or near "$1"
This is the query i am trying to make. Note that this worked fine very recently.
If i use "toSQL()" in order to see what is being queried. I get the following:
I was expecting it to do 'select * from $1 order by $2 desc limit $3'
Using 0.26.5
Trying to upgrade to 0:27 gives a bunch of type errors for some reason:
Like:
'[isDrizzleTable]' is missing in type 'pgTable<{name: "enhet"; schema: "brreg"; columns: { ... }; ...}>'Find that type error strange since i do not expect isDrizzleTable to be required in a schema i define? Anyone familiar with any of this, or what might be occuring here?
