File tree 1 file changed +15
-15
lines changed
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.
13
13
Clone the repo. There are __ no__ dependencies.
14
14
15
15
``` 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
19
19
```
20
20
And just like magic, you're ready to contribute! <3
21
21
@@ -136,21 +136,21 @@ tests for more up to date examples, but what I'm working towards is
136
136
something like this:
137
137
138
138
``` 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
+ });
143
143
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
+ });
148
148
149
- query .on (' row' , function (row ) {
150
- console .log (row);
151
- });
149
+ query .on (' row' , function (row ) {
150
+ console .log (row);
151
+ });
152
152
153
- query .on (' end' , function () { client .end () });
153
+ query .on (' end' , function () { client .end () });
154
154
```
155
155
## Testing
156
156
You can’t perform that action at this time.
0 commit comments