query: remove unused prop: isPreparedStatement (#3177)

Use of this property was removed in 2020 (dd3ce616d0fbdb92a7e146ecf4171bf3c1b3ea97).

Co-authored-by: alxndrsn <alxndrsn>
This commit is contained in:
Alex Anderson 2024-03-28 18:28:30 +03:00 committed by GitHub
parent b400d33c33
commit 2ab6f367c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,6 @@ class Query extends EventEmitter {
// potential for multiple results
this._results = this._result
this.isPreparedStatement = false
this._canceledDueToError = false
}
@ -189,10 +188,6 @@ class Query extends EventEmitter {
// http://developer.postgresql.org/pgdocs/postgres/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY
prepare(connection) {
// prepared statements need sync to be called after each command
// complete or when an error is encountered
this.isPreparedStatement = true
// TODO refactor this poor encapsulation
if (!this.hasBeenParsed(connection)) {
connection.parse({