[NEOS-1396] Add support for double quotes in schema and tables for Postgres #2591
Labels
bug
Something isn't working
Fast Follow
Created by Linear-GitHub Sync
Hacktober
Created by Linear-GitHub Sync
Postgresql
Created by Linear-GitHub Sync
We have support for special characters, however, this breaks down when building many of our queries because double quotes need to be escaped properly, which is done by adding an extra double quote.
This creates a table called
user"s_data@
Goqu only knows how to wrap tables in the correct delimiter (for Postgres, it is a double quote), but in order for the statement to be valid, we have to add in an extra
"
wherever we find one.This change will have to be made anywhere that we are using Goqu.
Well known places:
Keep an eye out for:
Add support for escaping double quotes in Postgres Identifiers · Issue #428 · doug-martin/goqu
From SyncLinear.com | NEOS-1396
The text was updated successfully, but these errors were encountered: