@@ -32,8 +32,8 @@ await client.connect();
32
32
}
33
33
34
34
{
35
- const result =
36
- await client .queryArray ` SELECT ID, NAME FROM PEOPLE WHERE ID = ${1 } ` ;
35
+ const result = await client
36
+ .queryArray ` SELECT ID, NAME FROM PEOPLE WHERE ID = ${1 } ` ;
37
37
console .log (result .rows ); // [[1, 'Carlos']]
38
38
}
39
39
@@ -43,8 +43,8 @@ await client.connect();
43
43
}
44
44
45
45
{
46
- const result =
47
- await client .queryObject ` SELECT ID, NAME FROM PEOPLE WHERE ID = ${1 } ` ;
46
+ const result = await client
47
+ .queryObject ` SELECT ID, NAME FROM PEOPLE WHERE ID = ${1 } ` ;
48
48
console .log (result .rows ); // [{id: 1, name: 'Carlos'}]
49
49
}
50
50
@@ -59,8 +59,8 @@ For more examples, visit the documentation available at
59
59
The documentation is available on the deno-postgres website
60
60
[ https://deno-postgres.com/ ] ( https://deno-postgres.com/ )
61
61
62
- Join the [ Discord] ( https://discord.gg/HEdTCvZUSf ) as well! It's a good place
63
- to discuss bugs and features before opening issues.
62
+ Join the [ Discord] ( https://discord.gg/HEdTCvZUSf ) as well! It's a good place to
63
+ discuss bugs and features before opening issues.
64
64
65
65
## Contributing
66
66
@@ -71,17 +71,16 @@ to discuss bugs and features before opening issues.
71
71
- https://docs.docker.com/get-docker/
72
72
- https://docs.docker.com/compose/install/
73
73
74
- - You don't need ` deno ` installed in your machine to run the tests since it
75
- will be installed in the Docker container when you build it. However, you will
76
- need it to run the linter and formatter locally
74
+ - You don't need ` deno ` installed in your machine to run the tests since it will
75
+ be installed in the Docker container when you build it. However, you will need
76
+ it to run the linter and formatter locally
77
77
78
78
- https://deno.land/
79
79
- ` deno upgrade --version 1.7.1 `
80
80
- ` dvm install 1.7.1 && dvm use 1.7.1 `
81
81
82
- - You don't need to install Postgres locally on your machine to test
83
- the library, it will run as a service in the Docker container when you build
84
- it
82
+ - You don't need to install Postgres locally on your machine to test the
83
+ library, it will run as a service in the Docker container when you build it
85
84
86
85
### Running the tests
87
86
@@ -97,8 +96,8 @@ The build step will check linting and formatting as well and report it to the
97
96
command line
98
97
99
98
It is recommended that you don't rely on any previously initialized data for
100
- your tests instead create all the data you need at the moment of
101
- running the tests
99
+ your tests instead create all the data you need at the moment of running the
100
+ tests
102
101
103
102
For example, the following test will create a temporal table that will disappear
104
103
once the test has been completed
@@ -166,10 +165,9 @@ When contributing to the repository, make sure to:
166
165
explaining their usage
167
166
3 . All code must pass the format and lint checks enforced by ` deno fmt ` and
168
167
` deno lint ` respectively. The build will only pass the tests if these
169
- conditions are met. Ignore rules will be accepted in the code base when
170
- their respective justification is given in a comment
171
- 4 . All features and fixes must have a corresponding test added to be
172
- accepted
168
+ conditions are met. Ignore rules will be accepted in the code base when their
169
+ respective justification is given in a comment
170
+ 4 . All features and fixes must have a corresponding test added to be accepted
173
171
174
172
## Maintainers guidelines
175
173
@@ -183,4 +181,5 @@ preserved their individual licenses and copyrights.
183
181
184
182
Everything is licensed under the MIT License.
185
183
186
- All additional work is copyright 2018 - 2022 — Bartłomiej Iwańczuk and Steven Guerrero — All rights reserved.
184
+ All additional work is copyright 2018 - 2022 — Bartłomiej Iwańczuk and Steven
185
+ Guerrero — All rights reserved.
0 commit comments