Skip to content

Commit 0ad6c9b

Browse files
authored
fix: typos (#3499)
* fix: typos * fix: typo
1 parent 54964ec commit 0ad6c9b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/pg-native/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Client = (module.exports = function (config) {
1818
this._reading = false
1919
this._read = this._read.bind(this)
2020

21-
// allow custom type converstion to be passed in
21+
// allow custom type conversion to be passed in
2222
this._types = config.types || types
2323

2424
// allow config to specify returning results

packages/pg/lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ class Client extends EventEmitter {
323323
this._pulseQueryQueue()
324324
}
325325

326-
// if we receieve an error event or error message
326+
// if we receive an error event or error message
327327
// during the connection process we handle it here
328328
_handleErrorWhileConnecting(err) {
329329
if (this._connectionError) {

packages/pg/lib/native/query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const NativeQuery = (module.exports = function (config, values, callback) {
1919
// then emit them as they come in
2020
// without setting singleRowMode to true
2121
// this has almost no meaning because libpq
22-
// reads all rows into memory befor returning any
22+
// reads all rows into memory before returning any
2323
this._emitRowEvents = false
2424
this.on(
2525
'newListener',

packages/pg/lib/query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class Query extends EventEmitter {
112112
// if a named prepared statement is created with empty query text
113113
// the backend will send an emptyQuery message but *not* a command complete message
114114
// since we pipeline sync immediately after execute we don't need to do anything here
115-
// unless we have rows specified, in which case we did not pipeline the intial sync call
115+
// unless we have rows specified, in which case we did not pipeline the initial sync call
116116
handleEmptyQuery(connection) {
117117
if (this.rows) {
118118
connection.sync()

0 commit comments

Comments
 (0)