mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
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:
parent
b400d33c33
commit
2ab6f367c0
@ -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({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user