We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b400d33 commit 2ab6f36Copy full SHA for 2ab6f36
packages/pg/lib/query.js
@@ -28,7 +28,6 @@ class Query extends EventEmitter {
28
29
// potential for multiple results
30
this._results = this._result
31
- this.isPreparedStatement = false
32
this._canceledDueToError = false
33
}
34
@@ -189,10 +188,6 @@ class Query extends EventEmitter {
189
188
190
// http://developer.postgresql.org/pgdocs/postgres/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY
191
prepare(connection) {
192
- // prepared statements need sync to be called after each command
193
- // complete or when an error is encountered
194
- this.isPreparedStatement = true
195
-
196
// TODO refactor this poor encapsulation
197
if (!this.hasBeenParsed(connection)) {
198
connection.parse({
0 commit comments