refactor: configDbPreRequest to QualifiedIdentifier
This commit is contained in:
committed by
Steve Chavez
parent
5c75f0dcc2
commit
823348a72a
@@ -135,6 +135,7 @@ pgFmtLit x =
|
||||
then "E" <> slashed
|
||||
else slashed
|
||||
|
||||
-- TODO: refactor by following https://github.com/PostgREST/postgrest/pull/1631#issuecomment-711070833
|
||||
pgFmtIdent :: Text -> SqlFragment
|
||||
pgFmtIdent x = encodeUtf8 $ "\"" <> T.replace "\"" "\"\"" (trimNullChars x) <> "\""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user