mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
Updated FAQ (markdown)
parent
89242375e9
commit
c65371c7a0
5
FAQ.md
5
FAQ.md
@ -113,4 +113,7 @@ Absolutely! The parameterized query support in node-postgres is first class. All
|
||||
client.query("INSERT INTO user(name) VALUES($1)", ["'; DROP TABLE user;"], function (err, result) {
|
||||
// ...
|
||||
});
|
||||
```
|
||||
```
|
||||
|
||||
|
||||
### 9. Can I create a named prepared statement for use later on without performing a query? If not, does passing the same text again to a named statement get ignored and the cached version used? I don't want to have two codepaths in a function, one for first-use and one for every other.
|
||||
Loading…
x
Reference in New Issue
Block a user