타입 단언 사용

This commit is contained in:
dohyeons 2025-10-08 10:34:16 +09:00
parent 1eff6730b4
commit f7b9a5db1c
1 changed files with 2 additions and 2 deletions

View File

@ -111,10 +111,10 @@ export class OracleConnector implements DatabaseConnector {
// 🔥 COMMIT/ROLLBACK 명령은 직접 실행 // 🔥 COMMIT/ROLLBACK 명령은 직접 실행
if (isCOMMIT || isROLLBACK) { if (isCOMMIT || isROLLBACK) {
if (isCOMMIT) { if (isCOMMIT) {
await this.connection!.commit(); await (this.connection as any).commit();
console.log("✅ Oracle COMMIT 실행됨"); console.log("✅ Oracle COMMIT 실행됨");
} else { } else {
await this.connection!.rollback(); await (this.connection as any).rollback();
console.log("⚠️ Oracle ROLLBACK 실행됨"); console.log("⚠️ Oracle ROLLBACK 실행됨");
} }
return { return {