mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
typo
parent
44ac4d594f
commit
9e449999c7
@ -1,7 +1,7 @@
|
||||
`node-postgres` provides three means of submitting a query:
|
||||
|
||||
- text, e.g. `query( "select name from emp where emp_id=123" )`
|
||||
- paramaterized, e.g. `query( "select name from emp where emp_id=$1", [123] )`
|
||||
- parameterized, e.g. `query( "select name from emp where emp_id=$1", [123] )`
|
||||
- prepared, e.g. `query( {name:"emp_name", text:"select name from emp where emp_id=$1", values:[123]} )`
|
||||
|
||||
##Text Queries##
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user