Skip to content

Commit f23a647

Browse files
authored
docs: note sql.fragment alias for query (#729)
1 parent 6b38b5a commit f23a647

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/pg-sql2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Builds part of (or the whole of) an SQL query, safely interpretting the embedded
9595
sql.query`select ${1}`;
9696
```
9797

98-
then an error will be thrown.
98+
then an error will be thrown. Also accessible by the alias `sql.fragment`.
9999

100100
### `sql.identifier(ident, ...)`
101101

0 commit comments

Comments
 (0)