Open simplenotezy opened 6 days ago
Casting to uuid fixes the issue:
+SELECT * FROM "user" WHERE id::uuid = $1
-SELECT * FROM "user" WHERE id = $1
hello, thanks for this.
I am seeing the problem when the table name is provided with "
. This is a valid syntax in SQL, but when the parser retrieves the table name, it is using a key \"user\"
, but it should be user
.
Could you try removing the double quotes "
for the time being?
The fix will be tracked here https://github.com/JasonShin/sqlx-ts/pull/135
I am getting the following error:
With the following query:
Full stack trace: