From 3cde785e3806ee8dc999cb145e3e91ff7bd9b8aa Mon Sep 17 00:00:00 2001 From: Italo A Date: Fri, 5 Apr 2024 22:07:31 -0300 Subject: [PATCH] Update queries.mdx link to markdown (#3192) If we use `` here, the template does not visually identify it as a link, so I have switched to the markdown link format. --- docs/pages/features/queries.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/features/queries.mdx b/docs/pages/features/queries.mdx index 2ecbaca1d..39bcfbe1d 100644 --- a/docs/pages/features/queries.mdx +++ b/docs/pages/features/queries.mdx @@ -27,7 +27,7 @@ console.log(res.rows[0]) ```
- PostgreSQL does not support parameters for identifiers. If you need to have dynamic database, schema, table, or column names (e.g. in DDL statements) use pg-format package for handling escaping these values to ensure you do not have SQL injection! + PostgreSQL does not support parameters for identifiers. If you need to have dynamic database, schema, table, or column names (e.g. in DDL statements) use [pg-format](https://www.npmjs.com/package/pg-format) package for handling escaping these values to ensure you do not have SQL injection!
Parameters passed as the second argument to `query()` will be converted to raw data types using the following rules: