fix(sql) fix flush (#19177)

This commit is contained in:
Ciro Spaciari
2025-04-21 22:21:55 -07:00
committed by GitHub
parent 78fd584c0d
commit a512ad5155
3 changed files with 13 additions and 0 deletions

View File

@@ -2057,6 +2057,10 @@ pub const PostgresSQLConnection = struct {
this.updateHasPendingActivity();
return .undefined;
}
pub fn doFlush(this: *PostgresSQLConnection, _: *JSC.JSGlobalObject, _: *JSC.CallFrame) bun.JSError!JSC.JSValue {
this.flushData();
return .undefined;
}
pub fn deref(this: *@This()) void {
const ref_count = this.ref_count;