You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deno/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ const xs = await sql`
126
126
127
127
### Query parameters
128
128
129
-
Parameters are automatically extracted and handled by the database so that SQL injection isn't possible. No special handling is necessary, simply use tagged template literals as usual.**Dynamic queries and query building can be seen in the [next section]()**. // todo
129
+
Parameters are automatically extracted and handled by the database so that SQL injection isn't possible. No special handling is necessary, simply use tagged template literals as usual.
130
130
131
131
```js
132
132
constname='Mur'
@@ -521,7 +521,7 @@ Do note that you can often achieve the same result using [`WITH` queries (Common
521
521
Like - `postgres('connectionURL', { transformation: {...} })`
522
522
523
523
### Parameters
524
-
* `to`: The function to transform the outgoing query column name to, i.e ``SELECT ${sql('aName') }` to `SELECT a_name` when using `postgres.toCamel`.
524
+
* `to`: The function to transform the outgoing query column name to, i.e `SELECT ${ sql('aName') }` to `SELECT a_name` when using `postgres.toCamel`.
525
525
* `from`: The function to transform the incoming query result column name to, see example below.
526
526
527
527
> Both parameters are optional, if not provided, the default transformation function will be used.
0 commit comments