Skip to content

Commit 24e767d

Browse files
c121914yuFinleyGe
authored andcommitted
Revert "fix: oracle db operation (labring#326)" (labring#327)
This reverts commit 21ec59a.
1 parent bc919cd commit 24e767d

File tree

1 file changed

+1
-4
lines changed
  • modules/tool/packages/dbops/children/oracle/src

1 file changed

+1
-4
lines changed

modules/tool/packages/dbops/children/oracle/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ export async function main({
2424
await sql.close();
2525
await pool.close();
2626
return {
27-
result: {
28-
rows: result?.rows ?? [],
29-
metaData: result?.metaData ?? []
30-
}
27+
result: JSON.parse(JSON.stringify(result))
3128
};
3229
} catch (error: unknown) {
3330
if (error instanceof Error) {

0 commit comments

Comments
 (0)