File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ only refactoring after tests are in place.
1313Clone the repo. There are __ no__ dependencies.
1414
1515``` bash
16- git clone git://github.com/brianc/node-postgres
17- cd node-postgres
18- node test/run.js
16+ git clone git://github.com/brianc/node-postgres
17+ cd node-postgres
18+ node test/run.js
1919```
2020And just like magic, you're ready to contribute! <3
2121
@@ -136,21 +136,21 @@ tests for more up to date examples, but what I'm working towards is
136136something like this:
137137
138138``` javascript
139- var client = new Client ({
140- user: ' brian' ,
141- database: ' test'
142- });
139+ var client = new Client ({
140+ user: ' brian' ,
141+ database: ' test'
142+ });
143143
144- var query = client .query ({
145- text: ' select * from person where age < $1' ,
146- values: [21 ]
147- });
144+ var query = client .query ({
145+ text: ' select * from person where age < $1' ,
146+ values: [21 ]
147+ });
148148
149- query .on (' row' , function (row ) {
150- console .log (row);
151- });
149+ query .on (' row' , function (row ) {
150+ console .log (row);
151+ });
152152
153- query .on (' end' , function () { client .end () });
153+ query .on (' end' , function () { client .end () });
154154```
155155## Testing
156156
You can’t perform that action at this time.
0 commit comments