* Drops a statement the backend no longer holds, or whose plan went stale. * * The name is closed either way. A plan that went stale is still held under * it, and re-parsing would collide; a name the backend has already lost * ignores the `Close`, which Postgres treats as a success.
(prepared: Prepared)
| 1536 | * ignores the `Close`, which Postgres treats as a success. |
| 1537 | */ |
| 1538 | evict(prepared: Prepared): void { |
| 1539 | if (prepared.parsing) return |
| 1540 | if (this.statements.delete(prepared.key) && prepared.ready) this.close(prepared.name) |
| 1541 | } |
| 1542 | |
| 1543 | /** |
| 1544 | * Drops a statement whose parsing cycle failed before its columns arrived. |
no test coverage detected