orcaq 1.0.32 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (628) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/4by6-f6q.js +982 -0
  3. package/.output/public/_nuxt/8Ppmjv9D.js +1 -0
  4. package/.output/public/_nuxt/B1qjkRVO.js +1 -0
  5. package/.output/public/_nuxt/B3KEisfc.js +1 -0
  6. package/.output/public/_nuxt/B4ebLeWY.js +9 -0
  7. package/.output/public/_nuxt/{IitECNfD.js → B6hH0qos.js} +1 -1
  8. package/.output/public/_nuxt/{BUDtG__q.js → B7HEMfgt.js} +1 -1
  9. package/.output/public/_nuxt/B84SvUzr.js +1 -0
  10. package/.output/public/_nuxt/BDXvbRNW.js +1 -0
  11. package/.output/public/_nuxt/BGRcizqy.js +1 -0
  12. package/.output/public/_nuxt/{ClYziJpO.js → BGVGiigU.js} +1 -1
  13. package/.output/public/_nuxt/{ZdjmUBoX.js → BJYf67_H.js} +1 -1
  14. package/.output/public/_nuxt/BOK5ZFNK.js +1 -0
  15. package/.output/public/_nuxt/BPY2ud8g.js +1 -0
  16. package/.output/public/_nuxt/BSONoRG4.js +2 -0
  17. package/.output/public/_nuxt/BT53m-su.js +1 -0
  18. package/.output/public/_nuxt/BTJSh8in.js +2 -0
  19. package/.output/public/_nuxt/BVpt8J3a.js +1 -0
  20. package/.output/public/_nuxt/{BhUkpIlA.js → BdDEVolW.js} +1 -1
  21. package/.output/public/_nuxt/{C27bL9Es.js → BeNILdbT.js} +1 -1
  22. package/.output/public/_nuxt/{Dnx67EG9.js → BmU9CNkM.js} +1 -1
  23. package/.output/public/_nuxt/{DLHYqHwF.js → BnFDcr74.js} +1 -1
  24. package/.output/public/_nuxt/{sE-55p4e.js → BprXyYdv.js} +1 -1
  25. package/.output/public/_nuxt/{BCcTASq_.js → Bq7otXBA.js} +1 -1
  26. package/.output/public/_nuxt/{B_PBOfFN.js → BqyO8OjC.js} +93 -93
  27. package/.output/public/_nuxt/Bs1og3h1.js +10 -0
  28. package/.output/public/_nuxt/Bs2DgR_z.js +1 -0
  29. package/.output/public/_nuxt/{BsoQBloB.js → BvUhrUEH.js} +1 -1
  30. package/.output/public/_nuxt/{DkggUtNN.js → BxDrCsPf.js} +1 -1
  31. package/.output/public/_nuxt/BxrwrGYE.js +1 -0
  32. package/.output/public/_nuxt/By0aUn7N.js +1 -0
  33. package/.output/public/_nuxt/{C07rlnlv.js → ByOuUnNS.js} +1 -1
  34. package/.output/public/_nuxt/C177_GoB.js +1 -0
  35. package/.output/public/_nuxt/{DcfsxCxL.js → C1jMZ4hc.js} +1 -1
  36. package/.output/public/_nuxt/C5bgdIOp.js +1 -0
  37. package/.output/public/_nuxt/C69a9jD3.js +67 -0
  38. package/.output/public/_nuxt/C8AyZ3_X.js +2 -0
  39. package/.output/public/_nuxt/C8KplD68.js +1 -0
  40. package/.output/public/_nuxt/CA99KAte.js +3 -0
  41. package/.output/public/_nuxt/{CvTHaPAO.js → CE8aasoy.js} +1 -1
  42. package/.output/public/_nuxt/{DkY69STm.js → CEvNlevo.js} +1 -1
  43. package/.output/public/_nuxt/{B8JnYxjr.js → CKqvNpN3.js} +1 -1
  44. package/.output/public/_nuxt/CNF1h1lI.js +1 -0
  45. package/.output/public/_nuxt/COAycMg4.js +1 -0
  46. package/.output/public/_nuxt/CR6_eO9a.js +6 -0
  47. package/.output/public/_nuxt/{D4jn2f-6.js → CREZ9f0O.js} +4 -4
  48. package/.output/public/_nuxt/CS5ItJPR.js +39 -0
  49. package/.output/public/_nuxt/CcK14gfI.js +1 -0
  50. package/.output/public/_nuxt/{DnxDSFih.js → Ci43mke5.js} +3 -3
  51. package/.output/public/_nuxt/CjouDEjz.js +1 -0
  52. package/.output/public/_nuxt/Cp5lMcfd.js +1 -0
  53. package/.output/public/_nuxt/CpYiq1Wv.js +1 -0
  54. package/.output/public/_nuxt/{DVxTxYP4.js → CrLqg4B0.js} +1 -1
  55. package/.output/public/_nuxt/{BJxYuvXF.js → CvcedJeQ.js} +1 -1
  56. package/.output/public/_nuxt/{FIJP2AmN.js → Cvq07PgE.js} +1 -1
  57. package/.output/public/_nuxt/CwmbX4-U.js +1 -0
  58. package/.output/public/_nuxt/{B27ECqWz.js → Cx6s86aR.js} +1 -1
  59. package/.output/public/_nuxt/{DDYV6jDr.js → CybtvDjH.js} +1 -1
  60. package/.output/public/_nuxt/CzB2y8br.js +18 -0
  61. package/.output/public/_nuxt/{-p9JbKy8.js → D-YUpbah.js} +3 -3
  62. package/.output/public/_nuxt/D60Pzl_V.js +1 -0
  63. package/.output/public/_nuxt/D9BYd7AV.js +1 -0
  64. package/.output/public/_nuxt/D9dEqMyH.js +152 -0
  65. package/.output/public/_nuxt/DCJ49Fnq.js +1 -0
  66. package/.output/public/_nuxt/{gO22NLpn.js → DESYlybj.js} +1 -1
  67. package/.output/public/_nuxt/DFM-aCBX.js +1 -0
  68. package/.output/public/_nuxt/{DRKnK1N_.js → DHnNoguE.js} +1 -1
  69. package/.output/public/_nuxt/{ChkFTcxr.js → DJqZzQsX.js} +1 -1
  70. package/.output/public/_nuxt/DNNdcUH4.js +1 -0
  71. package/.output/public/_nuxt/{LFK46Fls.js → DNdM2ZyK.js} +1 -1
  72. package/.output/public/_nuxt/{CVliJ52o.js → DQT4eICL.js} +1 -1
  73. package/.output/public/_nuxt/{CffFK_qY.js → DWBoXz89.js} +1 -1
  74. package/.output/public/_nuxt/DXp9fCib.js +20 -0
  75. package/.output/public/_nuxt/{ACOLmAuq.js → DaKikgWm.js} +1 -1
  76. package/.output/public/_nuxt/{B9zSkyFO.js → DaMyovpr.js} +1 -1
  77. package/.output/public/_nuxt/DeBdxlx0.js +1 -0
  78. package/.output/public/_nuxt/{trZyeId5.js → DhKwXzSk.js} +1 -1
  79. package/.output/public/_nuxt/{C6Vqzp-9.js → DkadXn5U.js} +1 -1
  80. package/.output/public/_nuxt/Dkikh2OC.js +22 -0
  81. package/.output/public/_nuxt/DlOyXrKK.js +1 -0
  82. package/.output/public/_nuxt/{UqWhjgOc.js → Dpl6-lqE.js} +1 -1
  83. package/.output/public/_nuxt/DqA_edEU.js +1 -0
  84. package/.output/public/_nuxt/DqxL2Lpl.js +1 -0
  85. package/.output/public/_nuxt/Dt3rfvTn.js +1 -0
  86. package/.output/public/_nuxt/Dt5h0Tys.js +1 -0
  87. package/.output/public/_nuxt/DwrSZ8Vj.js +1 -0
  88. package/.output/public/_nuxt/DwyFZZT6.js +1 -0
  89. package/.output/public/_nuxt/EM8J-XL1.js +7 -0
  90. package/.output/public/_nuxt/ESKvsKwc.js +1 -0
  91. package/.output/public/_nuxt/{CWGdTiOD.js → F5lCgNdb.js} +1 -1
  92. package/.output/public/_nuxt/H5m89x1B.js +1 -0
  93. package/.output/public/_nuxt/{CwdIiq6J.js → PUe8M07P.js} +2 -2
  94. package/.output/public/_nuxt/{Cjgqfl1g.js → TEF-nDfP.js} +1 -1
  95. package/.output/public/_nuxt/{DNZpxuwM.js → TuKV3Ilv.js} +1 -1
  96. package/.output/public/_nuxt/V5LvXMJl.js +1 -0
  97. package/.output/public/_nuxt/{c_huf6xz.js → YJvNy3iu.js} +27 -27
  98. package/.output/public/_nuxt/{C7C8tPlA.js → ZObQcd0X.js} +1 -1
  99. package/.output/public/_nuxt/{CHOD7i6O.js → b_MfGg1c.js} +1 -1
  100. package/.output/public/_nuxt/builds/latest.json +1 -1
  101. package/.output/public/_nuxt/builds/meta/455d4da4-6357-4478-8703-78a79ccbbc0f.json +1 -0
  102. package/.output/public/_nuxt/entry.qdzR7QFr.css +1 -0
  103. package/.output/public/_nuxt/fpuEgQ7C.js +12 -0
  104. package/.output/public/_nuxt/jU7fkvuR.js +1 -0
  105. package/.output/public/_nuxt/{CSTzT9hP.js → lHkFwi3L.js} +1 -1
  106. package/.output/public/_nuxt/{BQOaPJzs.js → minLMBmY.js} +1 -1
  107. package/.output/public/_nuxt/pQ8l8BR2.js +1 -0
  108. package/.output/public/_nuxt/xYXqL1eV.js +1 -0
  109. package/.output/public/_nuxt/xxfb8w7n.js +1 -0
  110. package/.output/server/chunks/_/create-adapter.mjs +36 -7
  111. package/.output/server/chunks/_/create-adapter.mjs.map +1 -1
  112. package/.output/server/chunks/_/database-error.mjs +10 -0
  113. package/.output/server/chunks/_/database-error.mjs.map +1 -1
  114. package/.output/server/chunks/_/database-roles.factory.mjs +126 -22
  115. package/.output/server/chunks/_/database-roles.factory.mjs.map +1 -1
  116. package/.output/server/chunks/_/db-connection.mjs +721 -81
  117. package/.output/server/chunks/_/db-connection.mjs.map +1 -1
  118. package/.output/server/chunks/_/functions.factory.mjs +97 -6
  119. package/.output/server/chunks/_/functions.factory.mjs.map +1 -1
  120. package/.output/server/chunks/_/instance-insights.factory.mjs +106 -7
  121. package/.output/server/chunks/_/instance-insights.factory.mjs.map +1 -1
  122. package/.output/server/chunks/_/metadata.factory.mjs +912 -43
  123. package/.output/server/chunks/_/metadata.factory.mjs.map +1 -1
  124. package/.output/server/chunks/_/native-backup-jobs.mjs +1302 -0
  125. package/.output/server/chunks/_/native-backup-jobs.mjs.map +1 -0
  126. package/.output/server/chunks/_/query.factory.mjs +536 -14
  127. package/.output/server/chunks/_/query.factory.mjs.map +1 -1
  128. package/.output/server/chunks/_/schemaMeta.type.mjs +13 -0
  129. package/.output/server/chunks/_/schemaMeta.type.mjs.map +1 -0
  130. package/.output/server/chunks/_/tables.factory.mjs +905 -37
  131. package/.output/server/chunks/_/tables.factory.mjs.map +1 -1
  132. package/.output/server/chunks/_/type-alias.constants.mjs +242 -0
  133. package/.output/server/chunks/_/type-alias.constants.mjs.map +1 -0
  134. package/.output/server/chunks/_/views.factory.mjs +106 -8
  135. package/.output/server/chunks/_/views.factory.mjs.map +1 -1
  136. package/.output/server/chunks/build/client.manifest.mjs +676 -672
  137. package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
  138. package/.output/server/chunks/nitro/nitro.mjs +1046 -751
  139. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  140. package/.output/server/chunks/routes/api/ai/agent.mjs +30 -79
  141. package/.output/server/chunks/routes/api/ai/agent.mjs.map +1 -1
  142. package/.output/server/chunks/routes/api/database-export/export-database.mjs +26 -124
  143. package/.output/server/chunks/routes/api/database-export/export-database.mjs.map +1 -1
  144. package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs +52 -0
  145. package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs.map +1 -0
  146. package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs +43 -0
  147. package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs.map +1 -0
  148. package/.output/server/chunks/routes/api/database-import/import-database.mjs +69 -134
  149. package/.output/server/chunks/routes/api/database-import/import-database.mjs.map +1 -1
  150. package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs +43 -0
  151. package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs.map +1 -0
  152. package/.output/server/chunks/routes/api/database-roles/create-role.mjs +2 -0
  153. package/.output/server/chunks/routes/api/database-roles/create-role.mjs.map +1 -1
  154. package/.output/server/chunks/routes/api/database-roles/delete-role.mjs +2 -0
  155. package/.output/server/chunks/routes/api/database-roles/delete-role.mjs.map +1 -1
  156. package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs +2 -0
  157. package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs.map +1 -1
  158. package/.output/server/chunks/routes/api/database-roles/get-databases.mjs +2 -0
  159. package/.output/server/chunks/routes/api/database-roles/get-databases.mjs.map +1 -1
  160. package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs +2 -0
  161. package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs.map +1 -1
  162. package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs +2 -0
  163. package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs.map +1 -1
  164. package/.output/server/chunks/routes/api/database-roles/get-role.mjs +2 -0
  165. package/.output/server/chunks/routes/api/database-roles/get-role.mjs.map +1 -1
  166. package/.output/server/chunks/routes/api/database-roles/get-roles.mjs +2 -0
  167. package/.output/server/chunks/routes/api/database-roles/get-roles.mjs.map +1 -1
  168. package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs +2 -0
  169. package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs.map +1 -1
  170. package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs +2 -0
  171. package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs.map +1 -1
  172. package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs +2 -0
  173. package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs.map +1 -1
  174. package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs +2 -0
  175. package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs.map +1 -1
  176. package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs +2 -0
  177. package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs.map +1 -1
  178. package/.output/server/chunks/routes/api/functions/definition.post.mjs +3 -1
  179. package/.output/server/chunks/routes/api/functions/definition.post.mjs.map +1 -1
  180. package/.output/server/chunks/routes/api/functions/delete.post.mjs +3 -1
  181. package/.output/server/chunks/routes/api/functions/delete.post.mjs.map +1 -1
  182. package/.output/server/chunks/routes/api/functions/overview.post.mjs +3 -1
  183. package/.output/server/chunks/routes/api/functions/overview.post.mjs.map +1 -1
  184. package/.output/server/chunks/routes/api/functions/rename.post.mjs +3 -1
  185. package/.output/server/chunks/routes/api/functions/rename.post.mjs.map +1 -1
  186. package/.output/server/chunks/routes/api/functions/signature.post.mjs +3 -1
  187. package/.output/server/chunks/routes/api/functions/signature.post.mjs.map +1 -1
  188. package/.output/server/chunks/routes/api/functions/update.post.mjs +24 -6
  189. package/.output/server/chunks/routes/api/functions/update.post.mjs.map +1 -1
  190. package/.output/server/chunks/routes/api/index.post.mjs +63 -0
  191. package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
  192. package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs +2 -0
  193. package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs.map +1 -1
  194. package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs +2 -0
  195. package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs.map +1 -1
  196. package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs +2 -0
  197. package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs.map +1 -1
  198. package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs +2 -0
  199. package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs.map +1 -1
  200. package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs +2 -0
  201. package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs.map +1 -1
  202. package/.output/server/chunks/routes/api/instance-insights/state.post.mjs +2 -0
  203. package/.output/server/chunks/routes/api/instance-insights/state.post.mjs.map +1 -1
  204. package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs +2 -0
  205. package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs.map +1 -1
  206. package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs +2 -0
  207. package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs.map +1 -1
  208. package/.output/server/chunks/routes/api/managment-connection/health-check.mjs +10 -4
  209. package/.output/server/chunks/routes/api/managment-connection/health-check.mjs.map +1 -1
  210. package/.output/server/chunks/routes/api/metadata/erd.post.mjs +4 -0
  211. package/.output/server/chunks/routes/api/metadata/erd.post.mjs.map +1 -1
  212. package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs +4 -0
  213. package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs.map +1 -1
  214. package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs +4 -0
  215. package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs.map +1 -1
  216. package/.output/server/chunks/routes/api/metrics/monitor.post.mjs +80 -7
  217. package/.output/server/chunks/routes/api/metrics/monitor.post.mjs.map +1 -1
  218. package/.output/server/chunks/routes/api/query/execute.post.mjs +3 -1
  219. package/.output/server/chunks/routes/api/query/execute.post.mjs.map +1 -1
  220. package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs +3 -1
  221. package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs.map +1 -1
  222. package/.output/server/chunks/routes/api/query/raw-execute.post.mjs +3 -1
  223. package/.output/server/chunks/routes/api/query/raw-execute.post.mjs.map +1 -1
  224. package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs +3 -1
  225. package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs.map +1 -1
  226. package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs +3 -1
  227. package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs.map +1 -1
  228. package/.output/server/chunks/routes/api/tables/ddl.post.mjs +3 -1
  229. package/.output/server/chunks/routes/api/tables/ddl.post.mjs.map +1 -1
  230. package/.output/server/chunks/routes/api/tables/export.post.mjs +4 -2
  231. package/.output/server/chunks/routes/api/tables/export.post.mjs.map +1 -1
  232. package/.output/server/chunks/routes/api/tables/indexes.post.mjs +3 -1
  233. package/.output/server/chunks/routes/api/tables/indexes.post.mjs.map +1 -1
  234. package/.output/server/chunks/routes/api/tables/meta.post.mjs +3 -1
  235. package/.output/server/chunks/routes/api/tables/meta.post.mjs.map +1 -1
  236. package/.output/server/chunks/routes/api/tables/overview.post.mjs +3 -1
  237. package/.output/server/chunks/routes/api/tables/overview.post.mjs.map +1 -1
  238. package/.output/server/chunks/routes/api/tables/rls.post.mjs +3 -1
  239. package/.output/server/chunks/routes/api/tables/rls.post.mjs.map +1 -1
  240. package/.output/server/chunks/routes/api/tables/rules.post.mjs +3 -1
  241. package/.output/server/chunks/routes/api/tables/rules.post.mjs.map +1 -1
  242. package/.output/server/chunks/routes/api/tables/size.post.mjs +3 -1
  243. package/.output/server/chunks/routes/api/tables/size.post.mjs.map +1 -1
  244. package/.output/server/chunks/routes/api/tables/structure.post.mjs +3 -1
  245. package/.output/server/chunks/routes/api/tables/structure.post.mjs.map +1 -1
  246. package/.output/server/chunks/routes/api/tables/triggers.post.mjs +3 -1
  247. package/.output/server/chunks/routes/api/tables/triggers.post.mjs.map +1 -1
  248. package/.output/server/chunks/routes/api/views/definition.post.mjs +2 -0
  249. package/.output/server/chunks/routes/api/views/definition.post.mjs.map +1 -1
  250. package/.output/server/chunks/routes/api/views/dependencies.post.mjs +2 -0
  251. package/.output/server/chunks/routes/api/views/dependencies.post.mjs.map +1 -1
  252. package/.output/server/chunks/routes/api/views/explain.post.mjs +2 -0
  253. package/.output/server/chunks/routes/api/views/explain.post.mjs.map +1 -1
  254. package/.output/server/chunks/routes/api/views/indexes.post.mjs +2 -0
  255. package/.output/server/chunks/routes/api/views/indexes.post.mjs.map +1 -1
  256. package/.output/server/chunks/routes/api/views/meta.post.mjs +2 -0
  257. package/.output/server/chunks/routes/api/views/meta.post.mjs.map +1 -1
  258. package/.output/server/chunks/routes/api/views/overview.post.mjs +2 -0
  259. package/.output/server/chunks/routes/api/views/overview.post.mjs.map +1 -1
  260. package/.output/server/chunks/routes/renderer.mjs +1 -1
  261. package/.output/server/index.mjs +1 -1
  262. package/.output/server/node_modules/aws-ssl-profiles/lib/index.js +13 -0
  263. package/.output/server/node_modules/aws-ssl-profiles/lib/profiles/ca/defaults.js +2888 -0
  264. package/.output/server/node_modules/aws-ssl-profiles/lib/profiles/ca/proxies.js +111 -0
  265. package/.output/server/node_modules/aws-ssl-profiles/package.json +52 -0
  266. package/.output/server/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
  267. package/.output/server/node_modules/better-sqlite3/lib/database.js +90 -0
  268. package/.output/server/node_modules/better-sqlite3/lib/index.js +3 -0
  269. package/.output/server/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
  270. package/.output/server/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
  271. package/.output/server/node_modules/better-sqlite3/lib/methods/function.js +31 -0
  272. package/.output/server/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
  273. package/.output/server/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
  274. package/.output/server/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
  275. package/.output/server/node_modules/better-sqlite3/lib/methods/table.js +189 -0
  276. package/.output/server/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
  277. package/.output/server/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
  278. package/.output/server/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
  279. package/.output/server/node_modules/better-sqlite3/lib/util.js +12 -0
  280. package/.output/server/node_modules/better-sqlite3/package.json +59 -0
  281. package/.output/server/node_modules/cpu-features/build/Release/cpufeatures.node +0 -0
  282. package/.output/server/node_modules/cpu-features/lib/index.js +5 -0
  283. package/.output/server/node_modules/cpu-features/package.json +40 -0
  284. package/.output/server/node_modules/denque/index.js +481 -0
  285. package/.output/server/node_modules/denque/package.json +58 -0
  286. package/.output/server/node_modules/generate-function/index.js +181 -0
  287. package/.output/server/node_modules/generate-function/package.json +32 -0
  288. package/.output/server/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  289. package/.output/server/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  290. package/.output/server/node_modules/iconv-lite/encodings/index.js +23 -0
  291. package/.output/server/node_modules/iconv-lite/encodings/internal.js +218 -0
  292. package/.output/server/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  293. package/.output/server/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  294. package/.output/server/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  295. package/.output/server/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  296. package/.output/server/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  297. package/.output/server/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  298. package/.output/server/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  299. package/.output/server/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  300. package/.output/server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  301. package/.output/server/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  302. package/.output/server/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  303. package/.output/server/node_modules/iconv-lite/encodings/utf16.js +187 -0
  304. package/.output/server/node_modules/iconv-lite/encodings/utf32.js +307 -0
  305. package/.output/server/node_modules/iconv-lite/encodings/utf7.js +283 -0
  306. package/.output/server/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  307. package/.output/server/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  308. package/.output/server/node_modules/iconv-lite/lib/index.js +182 -0
  309. package/.output/server/node_modules/iconv-lite/lib/streams.js +105 -0
  310. package/.output/server/node_modules/iconv-lite/package.json +70 -0
  311. package/.output/server/node_modules/is-property/is-property.js +5 -0
  312. package/.output/server/node_modules/is-property/package.json +36 -0
  313. package/.output/server/node_modules/long/package.json +58 -0
  314. package/.output/server/node_modules/long/umd/index.js +1622 -0
  315. package/.output/server/node_modules/long/umd/package.json +3 -0
  316. package/.output/server/node_modules/lru.min/lib/index.js +248 -0
  317. package/.output/server/node_modules/lru.min/package.json +87 -0
  318. package/.output/server/node_modules/mysql2/index.js +77 -0
  319. package/.output/server/node_modules/mysql2/lib/auth_41.js +95 -0
  320. package/.output/server/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js +115 -0
  321. package/.output/server/node_modules/mysql2/lib/auth_plugins/index.js +8 -0
  322. package/.output/server/node_modules/mysql2/lib/auth_plugins/mysql_clear_password.js +17 -0
  323. package/.output/server/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js +34 -0
  324. package/.output/server/node_modules/mysql2/lib/auth_plugins/sha256_password.js +74 -0
  325. package/.output/server/node_modules/mysql2/lib/base/connection.js +1139 -0
  326. package/.output/server/node_modules/mysql2/lib/base/pool.js +343 -0
  327. package/.output/server/node_modules/mysql2/lib/commands/auth_switch.js +151 -0
  328. package/.output/server/node_modules/mysql2/lib/commands/binlog_dump.js +109 -0
  329. package/.output/server/node_modules/mysql2/lib/commands/change_user.js +68 -0
  330. package/.output/server/node_modules/mysql2/lib/commands/client_handshake.js +386 -0
  331. package/.output/server/node_modules/mysql2/lib/commands/close_statement.js +18 -0
  332. package/.output/server/node_modules/mysql2/lib/commands/command.js +54 -0
  333. package/.output/server/node_modules/mysql2/lib/commands/execute.js +116 -0
  334. package/.output/server/node_modules/mysql2/lib/commands/index.js +29 -0
  335. package/.output/server/node_modules/mysql2/lib/commands/ping.js +36 -0
  336. package/.output/server/node_modules/mysql2/lib/commands/prepare.js +143 -0
  337. package/.output/server/node_modules/mysql2/lib/commands/query.js +365 -0
  338. package/.output/server/node_modules/mysql2/lib/commands/quit.js +29 -0
  339. package/.output/server/node_modules/mysql2/lib/commands/register_slave.js +27 -0
  340. package/.output/server/node_modules/mysql2/lib/commands/reset_connection.js +29 -0
  341. package/.output/server/node_modules/mysql2/lib/commands/server_handshake.js +205 -0
  342. package/.output/server/node_modules/mysql2/lib/compressed_protocol.js +153 -0
  343. package/.output/server/node_modules/mysql2/lib/connection.js +12 -0
  344. package/.output/server/node_modules/mysql2/lib/connection_config.js +299 -0
  345. package/.output/server/node_modules/mysql2/lib/constants/charset_encodings.js +317 -0
  346. package/.output/server/node_modules/mysql2/lib/constants/charsets.js +317 -0
  347. package/.output/server/node_modules/mysql2/lib/constants/client.js +39 -0
  348. package/.output/server/node_modules/mysql2/lib/constants/commands.js +37 -0
  349. package/.output/server/node_modules/mysql2/lib/constants/cursor.js +9 -0
  350. package/.output/server/node_modules/mysql2/lib/constants/encoding_charset.js +50 -0
  351. package/.output/server/node_modules/mysql2/lib/constants/errors.js +3973 -0
  352. package/.output/server/node_modules/mysql2/lib/constants/field_flags.js +20 -0
  353. package/.output/server/node_modules/mysql2/lib/constants/server_status.js +44 -0
  354. package/.output/server/node_modules/mysql2/lib/constants/session_track.js +11 -0
  355. package/.output/server/node_modules/mysql2/lib/constants/ssl_profiles.js +11 -0
  356. package/.output/server/node_modules/mysql2/lib/constants/types.js +64 -0
  357. package/.output/server/node_modules/mysql2/lib/create_connection.js +10 -0
  358. package/.output/server/node_modules/mysql2/lib/create_pool.js +10 -0
  359. package/.output/server/node_modules/mysql2/lib/create_pool_cluster.js +9 -0
  360. package/.output/server/node_modules/mysql2/lib/helpers.js +83 -0
  361. package/.output/server/node_modules/mysql2/lib/packet_parser.js +195 -0
  362. package/.output/server/node_modules/mysql2/lib/packets/auth_next_factor.js +35 -0
  363. package/.output/server/node_modules/mysql2/lib/packets/auth_switch_request.js +38 -0
  364. package/.output/server/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js +33 -0
  365. package/.output/server/node_modules/mysql2/lib/packets/auth_switch_response.js +30 -0
  366. package/.output/server/node_modules/mysql2/lib/packets/binary_row.js +95 -0
  367. package/.output/server/node_modules/mysql2/lib/packets/binlog_dump.js +33 -0
  368. package/.output/server/node_modules/mysql2/lib/packets/binlog_query_statusvars.js +115 -0
  369. package/.output/server/node_modules/mysql2/lib/packets/change_user.js +97 -0
  370. package/.output/server/node_modules/mysql2/lib/packets/close_statement.js +21 -0
  371. package/.output/server/node_modules/mysql2/lib/packets/column_definition.js +291 -0
  372. package/.output/server/node_modules/mysql2/lib/packets/encode_parameter.js +69 -0
  373. package/.output/server/node_modules/mysql2/lib/packets/execute.js +177 -0
  374. package/.output/server/node_modules/mysql2/lib/packets/handshake.js +112 -0
  375. package/.output/server/node_modules/mysql2/lib/packets/handshake_response.js +173 -0
  376. package/.output/server/node_modules/mysql2/lib/packets/index.js +154 -0
  377. package/.output/server/node_modules/mysql2/lib/packets/packet.js +978 -0
  378. package/.output/server/node_modules/mysql2/lib/packets/prepare_statement.js +27 -0
  379. package/.output/server/node_modules/mysql2/lib/packets/prepared_statement_header.js +16 -0
  380. package/.output/server/node_modules/mysql2/lib/packets/query.js +102 -0
  381. package/.output/server/node_modules/mysql2/lib/packets/register_slave.js +46 -0
  382. package/.output/server/node_modules/mysql2/lib/packets/reset_connection.js +17 -0
  383. package/.output/server/node_modules/mysql2/lib/packets/resultset_header.js +124 -0
  384. package/.output/server/node_modules/mysql2/lib/packets/ssl_request.js +25 -0
  385. package/.output/server/node_modules/mysql2/lib/packets/text_row.js +47 -0
  386. package/.output/server/node_modules/mysql2/lib/parsers/binary_parser.js +235 -0
  387. package/.output/server/node_modules/mysql2/lib/parsers/parser_cache.js +68 -0
  388. package/.output/server/node_modules/mysql2/lib/parsers/static_binary_parser.js +213 -0
  389. package/.output/server/node_modules/mysql2/lib/parsers/static_text_parser.js +152 -0
  390. package/.output/server/node_modules/mysql2/lib/parsers/string.js +50 -0
  391. package/.output/server/node_modules/mysql2/lib/parsers/text_parser.js +214 -0
  392. package/.output/server/node_modules/mysql2/lib/pool.js +12 -0
  393. package/.output/server/node_modules/mysql2/lib/pool_cluster.js +375 -0
  394. package/.output/server/node_modules/mysql2/lib/pool_config.js +34 -0
  395. package/.output/server/node_modules/mysql2/lib/pool_connection.js +81 -0
  396. package/.output/server/node_modules/mysql2/lib/promise/capture_local_err.js +25 -0
  397. package/.output/server/node_modules/mysql2/lib/promise/connection.js +237 -0
  398. package/.output/server/node_modules/mysql2/lib/promise/inherit_events.js +27 -0
  399. package/.output/server/node_modules/mysql2/lib/promise/make_done_cb.js +16 -0
  400. package/.output/server/node_modules/mysql2/lib/promise/pool.js +118 -0
  401. package/.output/server/node_modules/mysql2/lib/promise/pool_cluster.js +59 -0
  402. package/.output/server/node_modules/mysql2/lib/promise/pool_connection.js +19 -0
  403. package/.output/server/node_modules/mysql2/lib/promise/prepared_statement_info.js +35 -0
  404. package/.output/server/node_modules/mysql2/lib/server.js +37 -0
  405. package/.output/server/node_modules/mysql2/lib/tracing.js +81 -0
  406. package/.output/server/node_modules/mysql2/package.json +95 -0
  407. package/.output/server/node_modules/mysql2/promise.js +209 -0
  408. package/.output/server/node_modules/named-placeholders/index.js +179 -0
  409. package/.output/server/node_modules/named-placeholders/package.json +36 -0
  410. package/.output/server/node_modules/oracledb/index.js +27 -0
  411. package/.output/server/node_modules/oracledb/lib/aqDeqOptions.js +186 -0
  412. package/.output/server/node_modules/oracledb/lib/aqEnqOptions.js +81 -0
  413. package/.output/server/node_modules/oracledb/lib/aqMessage.js +149 -0
  414. package/.output/server/node_modules/oracledb/lib/aqQueue.js +293 -0
  415. package/.output/server/node_modules/oracledb/lib/connection.js +1842 -0
  416. package/.output/server/node_modules/oracledb/lib/constants.js +210 -0
  417. package/.output/server/node_modules/oracledb/lib/dbObject.js +606 -0
  418. package/.output/server/node_modules/oracledb/lib/errors.js +1046 -0
  419. package/.output/server/node_modules/oracledb/lib/future.js +53 -0
  420. package/.output/server/node_modules/oracledb/lib/impl/aqDeqOptions.js +206 -0
  421. package/.output/server/node_modules/oracledb/lib/impl/aqEnqOptions.js +89 -0
  422. package/.output/server/node_modules/oracledb/lib/impl/aqMessage.js +134 -0
  423. package/.output/server/node_modules/oracledb/lib/impl/aqQueue.js +82 -0
  424. package/.output/server/node_modules/oracledb/lib/impl/base.js +45 -0
  425. package/.output/server/node_modules/oracledb/lib/impl/connection.js +671 -0
  426. package/.output/server/node_modules/oracledb/lib/impl/datahandlers/buffer.js +1214 -0
  427. package/.output/server/node_modules/oracledb/lib/impl/datahandlers/constants.js +110 -0
  428. package/.output/server/node_modules/oracledb/lib/impl/datahandlers/oson.js +852 -0
  429. package/.output/server/node_modules/oracledb/lib/impl/datahandlers/vector.js +197 -0
  430. package/.output/server/node_modules/oracledb/lib/impl/dbObject.js +159 -0
  431. package/.output/server/node_modules/oracledb/lib/impl/index.js +59 -0
  432. package/.output/server/node_modules/oracledb/lib/impl/lob.js +113 -0
  433. package/.output/server/node_modules/oracledb/lib/impl/pool.js +230 -0
  434. package/.output/server/node_modules/oracledb/lib/impl/resultset.js +307 -0
  435. package/.output/server/node_modules/oracledb/lib/impl/sodaCollection.js +175 -0
  436. package/.output/server/node_modules/oracledb/lib/impl/sodaDatabase.js +82 -0
  437. package/.output/server/node_modules/oracledb/lib/impl/sodaDocCursor.js +64 -0
  438. package/.output/server/node_modules/oracledb/lib/impl/sodaDocument.js +89 -0
  439. package/.output/server/node_modules/oracledb/lib/impl/sodaOperation.js +110 -0
  440. package/.output/server/node_modules/oracledb/lib/lob.js +315 -0
  441. package/.output/server/node_modules/oracledb/lib/oracledb.js +1716 -0
  442. package/.output/server/node_modules/oracledb/lib/pool.js +873 -0
  443. package/.output/server/node_modules/oracledb/lib/poolStatistics.js +143 -0
  444. package/.output/server/node_modules/oracledb/lib/queryStream.js +119 -0
  445. package/.output/server/node_modules/oracledb/lib/resultset.js +368 -0
  446. package/.output/server/node_modules/oracledb/lib/settings.js +221 -0
  447. package/.output/server/node_modules/oracledb/lib/sodaCollection.js +284 -0
  448. package/.output/server/node_modules/oracledb/lib/sodaDatabase.js +176 -0
  449. package/.output/server/node_modules/oracledb/lib/sodaDocCursor.js +82 -0
  450. package/.output/server/node_modules/oracledb/lib/sodaDocument.js +125 -0
  451. package/.output/server/node_modules/oracledb/lib/sodaOperation.js +236 -0
  452. package/.output/server/node_modules/oracledb/lib/thin/aq.js +475 -0
  453. package/.output/server/node_modules/oracledb/lib/thin/connection.js +1504 -0
  454. package/.output/server/node_modules/oracledb/lib/thin/dbObject.js +737 -0
  455. package/.output/server/node_modules/oracledb/lib/thin/index.js +40 -0
  456. package/.output/server/node_modules/oracledb/lib/thin/lob.js +380 -0
  457. package/.output/server/node_modules/oracledb/lib/thin/pool.js +738 -0
  458. package/.output/server/node_modules/oracledb/lib/thin/protocol/capabilities.js +145 -0
  459. package/.output/server/node_modules/oracledb/lib/thin/protocol/constants.js +872 -0
  460. package/.output/server/node_modules/oracledb/lib/thin/protocol/encryptDecrypt.js +197 -0
  461. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqArray.js +238 -0
  462. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqBase.js +305 -0
  463. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqDeq.js +164 -0
  464. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqEnq.js +135 -0
  465. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/auth.js +376 -0
  466. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/base.js +568 -0
  467. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/commit.js +56 -0
  468. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/dataType.js +401 -0
  469. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/execute.js +358 -0
  470. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/fastAuth.js +83 -0
  471. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/fetch.js +64 -0
  472. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/index.js +59 -0
  473. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/lobOp.js +195 -0
  474. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/logOff.js +52 -0
  475. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/ping.js +56 -0
  476. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/protocol.js +97 -0
  477. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/rollback.js +56 -0
  478. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/sessionRelease.js +60 -0
  479. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/transactionChangeState.js +99 -0
  480. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/transactionSwitch.js +147 -0
  481. package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/withData.js +920 -0
  482. package/.output/server/node_modules/oracledb/lib/thin/protocol/packet.js +631 -0
  483. package/.output/server/node_modules/oracledb/lib/thin/protocol/protocol.js +240 -0
  484. package/.output/server/node_modules/oracledb/lib/thin/protocol/utils.js +82 -0
  485. package/.output/server/node_modules/oracledb/lib/thin/resultSet.js +122 -0
  486. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ANO.js +438 -0
  487. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/connStrategy.js +316 -0
  488. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/constants.js +210 -0
  489. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ezConnectResolver.js +466 -0
  490. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/navNodes.js +904 -0
  491. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/networkSession.js +733 -0
  492. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js +609 -0
  493. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/nvStrToNvPair.js +780 -0
  494. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/packet.js +439 -0
  495. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/paramParser.js +239 -0
  496. package/.output/server/node_modules/oracledb/lib/thin/sqlnet/sessionAtts.js +198 -0
  497. package/.output/server/node_modules/oracledb/lib/thin/statement.js +573 -0
  498. package/.output/server/node_modules/oracledb/lib/thin/statementCache.js +195 -0
  499. package/.output/server/node_modules/oracledb/lib/thin/util.js +254 -0
  500. package/.output/server/node_modules/oracledb/lib/traceHandler.js +133 -0
  501. package/.output/server/node_modules/oracledb/lib/transformer.js +279 -0
  502. package/.output/server/node_modules/oracledb/lib/types.js +592 -0
  503. package/.output/server/node_modules/oracledb/lib/util.js +648 -0
  504. package/.output/server/node_modules/oracledb/lib/version.js +36 -0
  505. package/.output/server/node_modules/oracledb/package.json +48 -0
  506. package/.output/server/node_modules/sql-escaper/lib/index.js +398 -0
  507. package/.output/server/node_modules/sql-escaper/package.json +81 -0
  508. package/.output/server/node_modules/sqlite3/build/Release/node_sqlite3.node +0 -0
  509. package/.output/server/node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node +0 -0
  510. package/.output/server/package.json +14 -18
  511. package/package.json +2 -2
  512. package/.output/public/_nuxt/019vQzZn.js +0 -1
  513. package/.output/public/_nuxt/0lRW_xjL.js +0 -1
  514. package/.output/public/_nuxt/B6EI6PpE.js +0 -1
  515. package/.output/public/_nuxt/B9Mt45db.js +0 -1
  516. package/.output/public/_nuxt/BKltSiU0.js +0 -1
  517. package/.output/public/_nuxt/BM4vnZvX.js +0 -732
  518. package/.output/public/_nuxt/BNYR501z.js +0 -1
  519. package/.output/public/_nuxt/BVLVn__t.js +0 -9
  520. package/.output/public/_nuxt/BY1l0S_M.js +0 -1
  521. package/.output/public/_nuxt/BaseCodeEditor.SAr2eD8R.css +0 -1
  522. package/.output/public/_nuxt/BcvJQkv0.js +0 -1
  523. package/.output/public/_nuxt/BdN9B2_l.js +0 -160
  524. package/.output/public/_nuxt/BflvengI.js +0 -1
  525. package/.output/public/_nuxt/BgolbRTO.js +0 -1
  526. package/.output/public/_nuxt/BwISH3M4.js +0 -1
  527. package/.output/public/_nuxt/C-M4q4KX.js +0 -1
  528. package/.output/public/_nuxt/C2Ziircr.js +0 -1
  529. package/.output/public/_nuxt/C3NWXcpd.js +0 -39
  530. package/.output/public/_nuxt/C5p44jKD.js +0 -1
  531. package/.output/public/_nuxt/C617vhDd.js +0 -1
  532. package/.output/public/_nuxt/C8S0o4Gy.js +0 -1
  533. package/.output/public/_nuxt/CNlsVoWh.js +0 -1
  534. package/.output/public/_nuxt/CWkPMmwS.js +0 -2
  535. package/.output/public/_nuxt/Cgy4ijjN.js +0 -67
  536. package/.output/public/_nuxt/ClBBUcFW.js +0 -1
  537. package/.output/public/_nuxt/CuRyxljq.js +0 -1
  538. package/.output/public/_nuxt/Cx4Bnfq1.js +0 -2
  539. package/.output/public/_nuxt/D-H6_V16.js +0 -1
  540. package/.output/public/_nuxt/D-SDqguC.js +0 -1
  541. package/.output/public/_nuxt/D-XwprNU.js +0 -6
  542. package/.output/public/_nuxt/D3G5Xy_-.js +0 -1
  543. package/.output/public/_nuxt/D9o5Pdvp.js +0 -1
  544. package/.output/public/_nuxt/DFArp87o.js +0 -1
  545. package/.output/public/_nuxt/DFZIXzfU.js +0 -1
  546. package/.output/public/_nuxt/DHRNt0p9.js +0 -1
  547. package/.output/public/_nuxt/DLKku6fV.js +0 -1
  548. package/.output/public/_nuxt/DWgjNKGq.js +0 -152
  549. package/.output/public/_nuxt/DYm57BZk.js +0 -2
  550. package/.output/public/_nuxt/DaQw8gVp.js +0 -1
  551. package/.output/public/_nuxt/DgnsV5Qb.js +0 -1
  552. package/.output/public/_nuxt/Do5Fyo7J.js +0 -1
  553. package/.output/public/_nuxt/Dqirx7MF.js +0 -1
  554. package/.output/public/_nuxt/GoTwJjoS.js +0 -39
  555. package/.output/public/_nuxt/Hs25HoUO.js +0 -22
  556. package/.output/public/_nuxt/J2CvNR3L.js +0 -1
  557. package/.output/public/_nuxt/LK6Q8l0D.js +0 -1
  558. package/.output/public/_nuxt/Oh9SO2qg.js +0 -1
  559. package/.output/public/_nuxt/P_8UoGnr.js +0 -72
  560. package/.output/public/_nuxt/V5yaR3hv.js +0 -2
  561. package/.output/public/_nuxt/XWTuAj6n.js +0 -1
  562. package/.output/public/_nuxt/XqwbcqcW.js +0 -1
  563. package/.output/public/_nuxt/Yzrsuije.js +0 -1
  564. package/.output/public/_nuxt/_8UrUcVF.js +0 -1
  565. package/.output/public/_nuxt/builds/meta/27a307c3-bfc5-4ccd-94b8-387eb94981bb.json +0 -1
  566. package/.output/public/_nuxt/cKBf5-av.js +0 -1
  567. package/.output/public/_nuxt/entry.DeK5kcSi.css +0 -1
  568. package/.output/public/_nuxt/kc-op4gz.js +0 -12
  569. package/.output/public/_nuxt/kehy-5uo.js +0 -1
  570. package/.output/public/_nuxt/lSaGvORn.js +0 -10
  571. package/.output/public/_nuxt/lY3EyFEK.js +0 -1
  572. package/.output/public/_nuxt/tMhdAKU2.js +0 -3
  573. package/.output/public/_nuxt/uyCIL8xw.js +0 -1
  574. package/.output/server/node_modules/cross-spawn/index.js +0 -39
  575. package/.output/server/node_modules/cross-spawn/lib/enoent.js +0 -59
  576. package/.output/server/node_modules/cross-spawn/lib/parse.js +0 -91
  577. package/.output/server/node_modules/cross-spawn/lib/util/escape.js +0 -47
  578. package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  579. package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  580. package/.output/server/node_modules/cross-spawn/package.json +0 -73
  581. package/.output/server/node_modules/execa/index.js +0 -268
  582. package/.output/server/node_modules/execa/lib/command.js +0 -52
  583. package/.output/server/node_modules/execa/lib/error.js +0 -88
  584. package/.output/server/node_modules/execa/lib/kill.js +0 -115
  585. package/.output/server/node_modules/execa/lib/promise.js +0 -46
  586. package/.output/server/node_modules/execa/lib/stdio.js +0 -52
  587. package/.output/server/node_modules/execa/lib/stream.js +0 -97
  588. package/.output/server/node_modules/execa/package.json +0 -74
  589. package/.output/server/node_modules/get-stream/buffer-stream.js +0 -52
  590. package/.output/server/node_modules/get-stream/index.js +0 -61
  591. package/.output/server/node_modules/get-stream/package.json +0 -47
  592. package/.output/server/node_modules/human-signals/build/src/core.js +0 -273
  593. package/.output/server/node_modules/human-signals/build/src/main.js +0 -71
  594. package/.output/server/node_modules/human-signals/build/src/realtime.js +0 -19
  595. package/.output/server/node_modules/human-signals/build/src/signals.js +0 -35
  596. package/.output/server/node_modules/human-signals/package.json +0 -64
  597. package/.output/server/node_modules/is-stream/index.js +0 -28
  598. package/.output/server/node_modules/is-stream/package.json +0 -42
  599. package/.output/server/node_modules/isexe/index.js +0 -57
  600. package/.output/server/node_modules/isexe/mode.js +0 -41
  601. package/.output/server/node_modules/isexe/package.json +0 -31
  602. package/.output/server/node_modules/isexe/windows.js +0 -42
  603. package/.output/server/node_modules/merge-stream/index.js +0 -41
  604. package/.output/server/node_modules/merge-stream/package.json +0 -19
  605. package/.output/server/node_modules/mimic-fn/index.js +0 -13
  606. package/.output/server/node_modules/mimic-fn/package.json +0 -42
  607. package/.output/server/node_modules/npm-run-path/index.js +0 -47
  608. package/.output/server/node_modules/npm-run-path/package.json +0 -44
  609. package/.output/server/node_modules/onetime/index.js +0 -44
  610. package/.output/server/node_modules/onetime/package.json +0 -43
  611. package/.output/server/node_modules/path-key/index.js +0 -16
  612. package/.output/server/node_modules/path-key/package.json +0 -39
  613. package/.output/server/node_modules/pg-dump-restore/lib/common.js +0 -33
  614. package/.output/server/node_modules/pg-dump-restore/lib/index.js +0 -9
  615. package/.output/server/node_modules/pg-dump-restore/lib/pg-dump.js +0 -95
  616. package/.output/server/node_modules/pg-dump-restore/lib/pg-restore.js +0 -87
  617. package/.output/server/node_modules/pg-dump-restore/package.json +0 -66
  618. package/.output/server/node_modules/shebang-command/index.js +0 -19
  619. package/.output/server/node_modules/shebang-command/package.json +0 -34
  620. package/.output/server/node_modules/shebang-regex/index.js +0 -2
  621. package/.output/server/node_modules/shebang-regex/package.json +0 -35
  622. package/.output/server/node_modules/signal-exit/index.js +0 -202
  623. package/.output/server/node_modules/signal-exit/package.json +0 -38
  624. package/.output/server/node_modules/signal-exit/signals.js +0 -53
  625. package/.output/server/node_modules/strip-final-newline/index.js +0 -16
  626. package/.output/server/node_modules/strip-final-newline/package.json +0 -40
  627. package/.output/server/node_modules/which/package.json +0 -43
  628. package/.output/server/node_modules/which/which.js +0 -125
@@ -0,0 +1,920 @@
1
+ // Copyright (c) 2022, 2025, Oracle and/or its affiliates.
2
+
3
+ //-----------------------------------------------------------------------------
4
+ //
5
+ // This software is dual-licensed to you under the Universal Permissive License
6
+ // (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License
7
+ // 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose
8
+ // either license.
9
+ //
10
+ // If you elect to accept the software under the Apache License, Version 2.0,
11
+ // the following applies:
12
+ //
13
+ // Licensed under the Apache License, Version 2.0 (the "License");
14
+ // you may not use this file except in compliance with the License.
15
+ // You may obtain a copy of the License at
16
+ //
17
+ // https://www.apache.org/licenses/LICENSE-2.0
18
+ //
19
+ // Unless required by applicable law or agreed to in writing, software
20
+ // distributed under the License is distributed on an "AS IS" BASIS,
21
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
+ // See the License for the specific language governing permissions and
23
+ // limitations under the License.
24
+ //
25
+ //-----------------------------------------------------------------------------
26
+
27
+ 'use strict';
28
+
29
+ const { Buffer } = require('buffer');
30
+ const utils = require("../utils");
31
+ const constants = require("../constants.js");
32
+ const Message = require("./base.js");
33
+ const { ThinDbObjectImpl, readXML } = require("../../dbObject.js");
34
+ const ThinLobImpl = require("../../lob.js");
35
+ const errors = require('../../../errors');
36
+ const types = require('../../../types.js');
37
+
38
+ /**
39
+ * Handles data like row header, rowdata , ... recevied from an RPC Execute
40
+ *
41
+ * @class MessageWithData
42
+ * @extends {Message}
43
+ */
44
+ class MessageWithData extends Message {
45
+ constructor(connection, statement = null, options = null) {
46
+ super(connection);
47
+ this.statement = statement;
48
+ this.options = options;
49
+ this.offset = 0;
50
+ this.numExecs = 1;
51
+ this.arrayDmlRowCounts = false;
52
+ this.requiresDefine = false;
53
+ this.rowIndex = statement.bufferRowCount || 0;
54
+ this.dmlRowCounts = [];
55
+ this.batchErrors = false;
56
+ this.outVariables = [];
57
+ this.inFetch = false;
58
+ this.parseOnly = false;
59
+ this.resultSetsToSetup = [];
60
+ this.deferredErr = null;
61
+ }
62
+
63
+ /**
64
+ * processMessage() - Process the data type message
65
+ */
66
+ processMessage(buf, messageType) {
67
+ if (messageType === constants.TNS_MSG_TYPE_DESCRIBE_INFO) {
68
+ buf.skipBytesChunked();
69
+ const prevQueryVars = this.statement.queryVars;
70
+ this.statement.numQueryVars = 0;
71
+ this.statement.bufferRowCount = 0;
72
+ this.statement.bufferRowIndex = 0;
73
+ this.processDescribeInfo(buf, this.resultSet, prevQueryVars);
74
+ this.outVariables = this.statement.queryVars;
75
+ } else if (messageType === constants.TNS_MSG_TYPE_ROW_HEADER) {
76
+ this.processRowHeader(buf);
77
+ } else if (messageType === constants.TNS_MSG_TYPE_ROW_DATA) {
78
+ this.processRowData(buf);
79
+ } else if (messageType === constants.TNS_MSG_TYPE_IMPLICIT_RESULTSET) {
80
+ this.processImplicitResultSet(buf);
81
+ } else if (messageType === constants.TNS_MSG_TYPE_BIT_VECTOR) {
82
+ this.processBitVector(buf);
83
+ } else if (messageType === constants.TNS_MSG_TYPE_IO_VECTOR) {
84
+ this.processIOVector(buf);
85
+ } else if (messageType === constants.TNS_MSG_TYPE_FLUSH_OUT_BINDS) {
86
+ this.flushOutBinds = true;
87
+ this.endOfResponse = true;
88
+ } else if (messageType === constants.TNS_MSG_TYPE_ERROR) {
89
+ this.processErrorInfo(buf);
90
+ } else {
91
+ super.processMessage(buf, messageType);
92
+ }
93
+ }
94
+
95
+ processErrorInfo(buf) {
96
+ super.processErrorInfo(buf);
97
+ if (this.errorInfo.cursorId !== 0) {
98
+ this.statement.cursorId = this.errorInfo.cursorId;
99
+ }
100
+ if (!this.statement.isPlSql) {
101
+ this.statement.rowCount = this.errorInfo.rowCount;
102
+ }
103
+ // we do not set the lastRowid if the rows affected is 0
104
+ if (this.errorInfo.rowCount > 0) {
105
+ this.statement.lastRowid = utils.encodeRowID(this.errorInfo.rowID);
106
+ }
107
+ this.options.batchErrors = this.errorInfo.batchErrors;
108
+ if (this.batchErrors && this.options.batchErrors === null) {
109
+ this.options.batchErrors = [];
110
+ }
111
+ if (this.errorInfo.num === constants.TNS_ERR_NO_DATA_FOUND && this.statement.isQuery) {
112
+ this.errorInfo.num = 0;
113
+ this.errorOccurred = false;
114
+ this.statement.moreRowsToFetch = false;
115
+ } else if (this.retry) {
116
+ this.retry = false;
117
+ } else if (this.statement.isQuery &&
118
+ (this.errorInfo.num === constants.TNS_ERR_VAR_NOT_IN_SELECT_LIST
119
+ || this.errorInfo.num === constants.TNS_ERR_INCONSISTENT_DATA_TYPES)) {
120
+ this.retry = true;
121
+ this.connection.statementCache.clearCursor(this.statement);
122
+ } else if (this.errorInfo.num !== 0 && this.errorInfo.cursorId !== 0) {
123
+ if (!errors.ERR_INTEGRITY_ERROR_CODES.includes(this.errorInfo.num)) {
124
+ this.connection.statementCache.clearCursor(this.statement);
125
+ this.statement.returnToCache = false;
126
+ }
127
+ }
128
+ if (this.errorInfo.batchErrors) {
129
+ this.errorOccurred = false;
130
+ }
131
+ }
132
+
133
+ //---------------------------------------------------------------------------
134
+ // If we have fetched this column earlier, we set that
135
+ // fetch type for the describe info variable received
136
+ // assuming the returned column order is same as previous.
137
+ //---------------------------------------------------------------------------
138
+ _adjustFetchType(pVar, cVar) {
139
+ if ((cVar.fetchInfo.dbType._oraTypeNum === constants.TNS_DATA_TYPE_CLOB
140
+ && pVar.fetchInfo.fetchType._oraTypeNum === constants.TNS_DATA_TYPE_LONG)
141
+ || (cVar.fetchInfo.dbType._oraTypeNum === constants.TNS_DATA_TYPE_BLOB
142
+ && pVar.fetchInfo.fetchType._oraTypeNum === constants.TNS_DATA_TYPE_LONG_RAW)
143
+ || (cVar.fetchInfo.dbType._oraTypeNum === constants.TNS_DATA_TYPE_JSON
144
+ && pVar.fetchInfo.fetchType._oraTypeNum === constants.TNS_DATA_TYPE_VARCHAR)
145
+ || (cVar.fetchInfo.dbType._oraTypeNum === constants.TNS_DATA_TYPE_VECTOR
146
+ && pVar.fetchInfo.fetchType._oraTypeNum === constants.TNS_DATA_TYPE_LONG)) {
147
+ cVar.type = pVar.fetchInfo.fetchType;
148
+ cVar.maxSize = pVar.maxSize;
149
+ }
150
+ }
151
+
152
+ processDescribeInfo(buf, resultSet, prevQueryVars) {
153
+ const statement = resultSet.statement;
154
+ buf.skipUB4(); // max row size
155
+ statement.numQueryVars = buf.readUB4();
156
+ if (statement.numQueryVars > 0) {
157
+ buf.skipUB1();
158
+ }
159
+ const metadata = [];
160
+ const queryVars = [];
161
+ for (let i = 0; i < statement.numQueryVars; i++) {
162
+ const variable = this.processColumnInfo(buf, i + 1);
163
+ if (prevQueryVars && i < prevQueryVars.length) {
164
+ this._adjustFetchType(prevQueryVars[i], variable);
165
+ }
166
+ queryVars.push(variable);
167
+ metadata.push(variable.fetchInfo);
168
+ }
169
+ let numBytes = buf.readUB4();
170
+ if (numBytes > 0) {
171
+ buf.skipBytesChunked(); // current date
172
+ }
173
+ buf.skipUB4(); // dcbflag
174
+ buf.skipUB4(); // dcbmdbz
175
+ buf.skipUB4(); // dcbmnpr
176
+ buf.skipUB4(); // dcbmxpr
177
+ numBytes = buf.readUB4();
178
+ if (numBytes > 0) {
179
+ buf.skipBytesChunked();
180
+ }
181
+
182
+ /*
183
+ * The message state(resultSet) and statement state(queryVars) is modified
184
+ * at end of the DescribeInfo function so that an OutOfPacketsError
185
+ * won't cause partial information state to be stored.
186
+ */
187
+ resultSet.metaData = metadata;
188
+ statement.queryVars = queryVars;
189
+ this.resultSetsToSetup.push(resultSet);
190
+ }
191
+
192
+ processColumnInfo(buf, columnNum) {
193
+ const dataType = buf.readUInt8();
194
+ buf.skipUB1(); // flags
195
+ const precision = buf.readInt8();
196
+ const scale = buf.readInt8();
197
+ const maxSize = buf.readUB4();
198
+ buf.skipUB4(); // max number of array elements
199
+ buf.skipUB8(); // cont flags
200
+ let oid;
201
+ let numBytes = buf.readUB4(); // OID
202
+ if (numBytes > 0) {
203
+ oid = Buffer.from(buf.readBytesWithLength());
204
+ }
205
+ buf.skipUB2(); // version
206
+ buf.skipUB2(); // character set id
207
+ const csfrm = buf.readUInt8(); // character set form
208
+ let size = buf.readUB4();
209
+ if (dataType === constants.TNS_DATA_TYPE_RAW) {
210
+ size = maxSize;
211
+ }
212
+ if (buf.caps.ttcFieldVersion >= constants.TNS_CCAP_FIELD_VERSION_12_2) {
213
+ buf.skipUB4(); // oaccolid
214
+ }
215
+ const nullable = Boolean(buf.readUInt8());
216
+ buf.skipUB1(); // v7 length of name
217
+ let name;
218
+ numBytes = buf.readUB4();
219
+ if (numBytes > 0) {
220
+ name = buf.readStr(constants.CSFRM_IMPLICIT);
221
+ }
222
+ let schema;
223
+ numBytes = buf.readUB4();
224
+ if (numBytes > 0) {
225
+ schema = buf.readStr(constants.CSFRM_IMPLICIT);
226
+ }
227
+ numBytes = buf.readUB4();
228
+ let typeName;
229
+ if (numBytes > 0) {
230
+ typeName = buf.readStr(constants.CSFRM_IMPLICIT);
231
+ }
232
+ buf.skipUB2(); // column position
233
+ const udsFlags = buf.readUB4(); // uds flag
234
+
235
+ // build metadata
236
+ const fetchInfo = {
237
+ name: name,
238
+ dbColumnName: name,
239
+ dbType: types.getTypeByOraTypeNum(dataType, csfrm),
240
+ nullable: nullable
241
+ };
242
+ fetchInfo.isJson = Boolean(udsFlags & constants.TNS_UDS_FLAGS_IS_JSON);
243
+ fetchInfo.isOson = Boolean(udsFlags & constants.TNS_UDS_FLAGS_IS_OSON);
244
+ if (buf.caps.ttcFieldVersion >= constants.TNS_CCAP_FIELD_VERSION_23_1) {
245
+ numBytes = buf.readUB4();
246
+ if (numBytes > 0) {
247
+ fetchInfo.domainSchema = buf.readStr(constants.CSFRM_IMPLICIT);
248
+ }
249
+ numBytes = buf.readUB4();
250
+ if (numBytes > 0) {
251
+ fetchInfo.domainName = buf.readStr(constants.CSFRM_IMPLICIT);
252
+ }
253
+ }
254
+ if (buf.caps.ttcFieldVersion >= constants.TNS_CCAP_FIELD_VERSION_23_1_EXT_3) {
255
+ if (buf.readUB4() > 0) {
256
+ fetchInfo.annotations = {};
257
+ buf.skipUB1();
258
+ const numAnnotations = buf.readUB4();
259
+ buf.skipUB1();
260
+ let key, value;
261
+ for (let i = 0; i < numAnnotations; i++) {
262
+ buf.skipUB4();
263
+ value = "";
264
+ key = buf.readStr(constants.CSFRM_IMPLICIT);
265
+ numBytes = buf.readUB4();
266
+ if (numBytes > 0) {
267
+ value = buf.readStr(constants.CSFRM_IMPLICIT);
268
+ }
269
+ fetchInfo.annotations[key] = value;
270
+ buf.skipUB4(); // flags
271
+ }
272
+ buf.skipUB4(); // flags
273
+ }
274
+ }
275
+ if (buf.caps.ttcFieldVersion >= constants.TNS_CCAP_FIELD_VERSION_23_4) {
276
+ const dimensions = buf.readUB4();
277
+ const vectorFormat = buf.readUInt8();
278
+ const vectorFlags = buf.readUInt8();
279
+ if (fetchInfo.dbType === types.DB_TYPE_VECTOR) {
280
+ if (!(vectorFlags & constants.VECTOR_META_FLAG_FLEXIBLE_DIM)) {
281
+ fetchInfo.vectorDimensions = dimensions;
282
+ }
283
+ fetchInfo.isSparseVector = Boolean(vectorFlags & constants.VECTOR_META_FLAG_SPARSE);
284
+ if (vectorFormat !== constants.VECTOR_FORMAT_FLEX) {
285
+ fetchInfo.vectorFormat = vectorFormat;
286
+ }
287
+ }
288
+ }
289
+
290
+ switch (fetchInfo.dbType) {
291
+ case types.DB_TYPE_VARCHAR:
292
+ case types.DB_TYPE_NVARCHAR:
293
+ case types.DB_TYPE_CHAR:
294
+ case types.DB_TYPE_NCHAR:
295
+ case types.DB_TYPE_RAW:
296
+ fetchInfo.byteSize = size;
297
+ break;
298
+ case types.DB_TYPE_NUMBER:
299
+ fetchInfo.precision = precision;
300
+ break;
301
+ case types.DB_TYPE_TIMESTAMP:
302
+ case types.DB_TYPE_TIMESTAMP_TZ:
303
+ case types.DB_TYPE_TIMESTAMP_LTZ:
304
+ fetchInfo.precision = scale;
305
+ break;
306
+ case types.DB_TYPE_OBJECT:
307
+ fetchInfo.dbTypeClass = this.connection._getDbObjectType(schema,
308
+ typeName, undefined, oid);
309
+ if (fetchInfo.dbTypeClass.partial) {
310
+ this.connection._partialDbObjectTypes.push(fetchInfo.dbTypeClass);
311
+ }
312
+ if (fetchInfo.dbTypeClass.isXmlType) {
313
+ fetchInfo.dbType = types.DB_TYPE_XMLTYPE;
314
+ }
315
+ break;
316
+ default:
317
+ break;
318
+ }
319
+ if (fetchInfo.dbType === types.DB_TYPE_NUMBER) {
320
+ fetchInfo.scale = scale;
321
+ }
322
+ return {
323
+ fetchInfo: fetchInfo,
324
+ type: fetchInfo.dbType,
325
+ maxSize: maxSize,
326
+ columnNum: columnNum,
327
+ values: new Array(this.options.fetchArraySize)
328
+ };
329
+ }
330
+
331
+ processRowHeader(buf) {
332
+ buf.skipUB1(); // flags
333
+ buf.skipUB2(); // num requests
334
+ buf.skipUB4(); // iteration number
335
+ buf.skipUB4(); // num iters
336
+ buf.skipUB2(); // buffer length
337
+ let numBytes = buf.readUB4();
338
+ if (numBytes > 0) {
339
+ this.bitVector = Buffer.from(buf.readBytesWithLength());
340
+ }
341
+ numBytes = buf.readUB4();
342
+ if (numBytes > 0) {
343
+ buf.skipBytesChunked(); // rxhrid
344
+ }
345
+ }
346
+
347
+ isDuplicateData(columnName) {
348
+ if (!this.bitVector) {
349
+ return false;
350
+ }
351
+ const byteNum = Math.floor(columnName / 8);
352
+ const bitNum = columnName % 8;
353
+ return (this.bitVector[byteNum] & (1 << bitNum)) === 0;
354
+ }
355
+
356
+ processRowData(buf) {
357
+ let value;
358
+ for (const [col, variable] of this.outVariables.entries()) {
359
+ if (variable.isArray) {
360
+ variable.numElementsInArray = buf.readUB4();
361
+ const values = new Array(variable.numElementsInArray).fill(null);
362
+ for (let pos = 0; pos < variable.numElementsInArray; pos++) {
363
+ value = this.processColumnData(buf, variable, pos);
364
+ values[pos] = value;
365
+ }
366
+ variable.values[this.rowIndex] = values;
367
+ } else if (this.statement.isReturning) {
368
+ const numRows = buf.readUB4();
369
+ const values = Array(numRows).fill(null);
370
+ for (let j = 0; j < numRows; j++) {
371
+ values[j] = this.processColumnData(buf, variable, j);
372
+ }
373
+ variable.values[this.rowIndex] = values;
374
+ } else if (this.isDuplicateData(col)) {
375
+ if (this.rowIndex === 0 && variable.outConverter) {
376
+ value = variable.lastRawValue;
377
+ } else {
378
+ value = variable.values[this.statement.lastRowIndex];
379
+ }
380
+ variable.values[this.rowIndex] = value;
381
+ } else {
382
+ value = this.processColumnData(buf, variable, this.rowIndex);
383
+ variable.values[this.rowIndex] = value;
384
+ }
385
+ }
386
+ this.rowIndex++;
387
+ if (this.inFetch) {
388
+ this.statement.lastRowIndex = this.rowIndex - 1;
389
+ this.statement.bufferRowCount++;
390
+ this.bitVector = null;
391
+ }
392
+ }
393
+
394
+ processIOVector(buf) {
395
+ let numBytes;
396
+ buf.skipUB1(); // flag
397
+ const temp16 = buf.readUB2(); // num requests
398
+ const temp32 = buf.readUB4(); // iter num
399
+ const numBinds = temp32 * 256 + temp16;
400
+ buf.skipUB4(); // num iters this time
401
+ buf.skipUB2(); // uac buffer length
402
+ numBytes = buf.readUB2(); // bit vector for fast fetch
403
+ if (numBytes > 0) {
404
+ buf.skipBytes(numBytes);
405
+ }
406
+ numBytes = buf.readUB2(); // rowid
407
+ if (numBytes > 0) {
408
+ buf.skipBytes(numBytes);
409
+ }
410
+ this.outVariables = [];
411
+ for (let i = 0; i < numBinds; i++) { // bind directions
412
+ const bindInfo = this.statement.bindInfoList[i];
413
+ bindInfo.bindDir = buf.readUInt8();
414
+ if (bindInfo.bindDir === constants.TNS_BIND_DIR_INPUT) {
415
+ continue;
416
+ }
417
+ this.outVariables.push(bindInfo.bindVar);
418
+ }
419
+ }
420
+
421
+ processColumnData(buf, variable) {
422
+ const dbType = variable.type;
423
+ const oraTypeNum = dbType._oraTypeNum;
424
+ const csfrm = dbType._csfrm;
425
+ const maxSize = variable.maxSize;
426
+
427
+ let colValue = null;
428
+ if (maxSize === 0 && oraTypeNum !== constants.TNS_DATA_TYPE_LONG
429
+ && oraTypeNum !== constants.TNS_DATA_TYPE_LONG_RAW
430
+ && oraTypeNum !== constants.TNS_DATA_TYPE_UROWID) {
431
+ colValue = null;
432
+ } else if (
433
+ oraTypeNum === constants.TNS_DATA_TYPE_VARCHAR ||
434
+ oraTypeNum === constants.TNS_DATA_TYPE_CHAR ||
435
+ oraTypeNum === constants.TNS_DATA_TYPE_LONG
436
+ ) {
437
+ if (csfrm === constants.CSFRM_NCHAR) {
438
+ buf.caps.checkNCharsetId();
439
+ }
440
+ colValue = buf.readStr(csfrm);
441
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_RAW ||
442
+ oraTypeNum === constants.TNS_DATA_TYPE_LONG_RAW) {
443
+ colValue = buf.readBytesWithLength();
444
+ if (colValue !== null) {
445
+ colValue = Buffer.from(colValue);
446
+ }
447
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_NUMBER) {
448
+ colValue = buf.readOracleNumber();
449
+ if (!this.inFetch && colValue !== null)
450
+ colValue = parseFloat(colValue);
451
+ } else if (
452
+ oraTypeNum === constants.TNS_DATA_TYPE_DATE ||
453
+ oraTypeNum === constants.TNS_DATA_TYPE_TIMESTAMP ||
454
+ oraTypeNum === constants.TNS_DATA_TYPE_TIMESTAMP_LTZ ||
455
+ oraTypeNum === constants.TNS_DATA_TYPE_TIMESTAMP_TZ
456
+ ) {
457
+ const useLocalTime = (oraTypeNum === constants.TNS_DATA_TYPE_DATE ||
458
+ oraTypeNum === constants.TNS_DATA_TYPE_TIMESTAMP);
459
+ colValue = buf.readOracleDate(useLocalTime);
460
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_ROWID) {
461
+ if (!this.inFetch) {
462
+ colValue = buf.readStr(constants.CSFRM_IMPLICIT);
463
+ } else {
464
+ const numBytes = buf.readUInt8();
465
+ if (isNullLength(numBytes)) {
466
+ colValue = null;
467
+ } else {
468
+ const rowid = buf.readRowID();
469
+ colValue = utils.encodeRowID(rowid);
470
+ }
471
+ }
472
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_UROWID) {
473
+ if (!this.inFetch) {
474
+ colValue = buf.readStr(constants.CSFRM_IMPLICIT);
475
+ } else {
476
+ colValue = buf.readURowID();
477
+ }
478
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_BINARY_DOUBLE) {
479
+ colValue = buf.readBinaryDouble();
480
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_BINARY_FLOAT) {
481
+ colValue = buf.readBinaryFloat();
482
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_BINARY_INTEGER) {
483
+ colValue = buf.readOracleNumber();
484
+ if (colValue !== null)
485
+ colValue = parseFloat(colValue);
486
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_CURSOR) {
487
+ const numBytes = buf.readUInt8();
488
+ if (isNullLength(numBytes)) {
489
+ colValue = null;
490
+ } else {
491
+ colValue = this.createCursorFromDescribe(buf);
492
+ colValue.statement.cursorId = buf.readUB2();
493
+ // If the cursor ID is 0 for the returned ref cursor then
494
+ // it is an invalid cursor
495
+ if (colValue.statement.cursorId === 0 && variable.dir !== constants.BIND_IN) {
496
+ if (this.options.nullifyInvalidCursor) {
497
+ colValue = null;
498
+ } else {
499
+ errors.throwErr(errors.ERR_INVALID_REF_CURSOR);
500
+ }
501
+ }
502
+ }
503
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_BOOLEAN) {
504
+ colValue = buf.readBool();
505
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_INTERVAL_YM) {
506
+ colValue = buf.readOracleIntervalYM();
507
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_INTERVAL_DS) {
508
+ colValue = buf.readOracleIntervalDS();
509
+ } else if (
510
+ oraTypeNum === constants.TNS_DATA_TYPE_CLOB ||
511
+ oraTypeNum === constants.TNS_DATA_TYPE_BLOB ||
512
+ oraTypeNum === constants.TNS_DATA_TYPE_BFILE
513
+ ) {
514
+ let length = 0;
515
+ let chunkSize = 0;
516
+ const bvalue = buf.readUB4();
517
+ if (bvalue > 0) { // Non Null data in column
518
+ colValue = new ThinLobImpl();
519
+ if (oraTypeNum !== constants.TNS_DATA_TYPE_BFILE) {
520
+ length = buf.readUB8();
521
+ chunkSize = buf.readUB4();
522
+ }
523
+ const locator = Buffer.from(buf.readBytesWithLength());
524
+ colValue.init(this.connection, locator, dbType, length, chunkSize);
525
+ }
526
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_JSON) {
527
+ colValue = buf.readOson();
528
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_VECTOR) {
529
+ colValue = buf.readVector();
530
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_INT_NAMED) {
531
+ const obj = buf.readDbObject();
532
+ if (obj.packedData) {
533
+ const objType = (variable.fetchInfo) ? variable.fetchInfo.dbTypeClass :
534
+ variable.typeClass;
535
+
536
+ if (variable.type === types.DB_TYPE_XMLTYPE) {
537
+ colValue = readXML(this.connection, obj.packedData);
538
+ } else {
539
+ colValue = new ThinDbObjectImpl(objType, obj.packedData);
540
+ colValue.toid = obj.toid;
541
+ colValue.oid = obj.oid;
542
+ }
543
+ }
544
+ } else {
545
+ errors.throwErr(errors.ERR_UNSUPPORTED_DATA_TYPE, dbType.num,
546
+ variable.columnNum);
547
+ }
548
+
549
+ if (!this.inFetch) {
550
+ const actualNumBytes = buf.readSB4();
551
+ if (actualNumBytes < 0 && oraTypeNum === constants.TNS_DATA_TYPE_BOOLEAN) {
552
+ colValue = null;
553
+
554
+ // For objects, maxsize validation is skipped
555
+ } else if (actualNumBytes !== 0 && colValue !== null &&
556
+ oraTypeNum !== constants.TNS_DATA_TYPE_INT_NAMED) {
557
+ this.saveDeferredErr(errors.ERR_INSUFFICIENT_BUFFER_FOR_BINDS);
558
+ }
559
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_LONG || oraTypeNum === constants.TNS_DATA_TYPE_LONG_RAW || variable.maxSize > buf.caps.maxStringSize) {
560
+ buf.skipSB4(); // null indicator
561
+ buf.skipUB4(); // return code
562
+ }
563
+ return colValue;
564
+ }
565
+
566
+ processReturnParameter(buf) {
567
+ let keywordNum = 0;
568
+ let keyTextValue;
569
+ let numParams = buf.readUB2(); // al8o4l (ignored)
570
+
571
+ for (let i = 0; i < numParams; i++) {
572
+ buf.skipUB4();
573
+ }
574
+ let numBytes = buf.readUB2(); // al8txl (ignored)
575
+ if (numBytes > 0) {
576
+ buf.skipBytes(numBytes);
577
+ }
578
+ numParams = buf.readUB2(); // num key/value pairs
579
+ for (let i = 0; i < numParams; i++) {
580
+ numBytes = buf.readUB2(); // key
581
+ if (numBytes > 0) {
582
+ keyTextValue = buf.readStr(constants.CSFRM_IMPLICIT);
583
+ }
584
+ numBytes = buf.readUB2(); // value
585
+ if (numBytes > 0) {
586
+ buf.skipBytesChunked();
587
+ }
588
+ keywordNum = buf.readUB2(); // keyword num
589
+ if (keywordNum === constants.TNS_KEYWORD_NUM_CURRENT_SCHEMA) {
590
+ this.connection.currentSchema = keyTextValue;
591
+ } else if (keywordNum === constants.TNS_KEYWORD_NUM_EDITION) {
592
+ this.connection._edition = keyTextValue;
593
+ }
594
+ }
595
+ numBytes = buf.readUB2(); // registration
596
+ if (numBytes > 0) {
597
+ buf.skip(numBytes);
598
+ }
599
+ if (this.arrayDmlRowCounts) {
600
+ const numRows = buf.readUB4();
601
+ const rowCounts = this.options.dmlRowCounts = [];
602
+ for (let i = 0; i < numRows; i++) {
603
+ const rowCount = buf.readUB8();
604
+ rowCounts.push(rowCount);
605
+ }
606
+ }
607
+ }
608
+
609
+ async postProcess() {
610
+ if (this.deferredErr) {
611
+ throw this.deferredErr;
612
+ }
613
+
614
+ if (this.outVariables) {
615
+ for (const variable of this.outVariables) {
616
+ if (variable.isArray) {
617
+ if (variable.outConverter) {
618
+ for (let pos = 0; pos < variable.numElementsInArray; pos++) {
619
+ variable.values[0][pos] = await variable.outConverter(variable.values[0][pos]);
620
+ }
621
+ }
622
+ } else {
623
+ if (variable.outConverter) {
624
+ variable.values[0] = await variable.outConverter(variable.values[0]);
625
+ }
626
+ }
627
+ }
628
+ }
629
+ await this.connection._populatePartialDbObjectTypes();
630
+ for (const resultSet of this.resultSetsToSetup) {
631
+ resultSet._setup(this.options, resultSet.metaData);
632
+ // LOBs always require define and they change the type that is actually
633
+ // returned by the server
634
+ for (const variable of resultSet.statement.queryVars) {
635
+ if (variable.type === types.DB_TYPE_CLOB ||
636
+ variable.type === types.DB_TYPE_NCLOB ||
637
+ variable.type === types.DB_TYPE_BLOB ||
638
+ variable.type === types.DB_TYPE_JSON ||
639
+ variable.type === types.DB_TYPE_VECTOR) {
640
+ if (variable.type !== variable.fetchInfo.fetchType) {
641
+ variable.type = variable.fetchInfo.fetchType;
642
+ variable.maxSize = constants.TNS_MAX_LONG_LENGTH;
643
+ }
644
+ if (!resultSet.statement.noPrefetch) {
645
+ resultSet.statement.requiresDefine = true;
646
+ resultSet.statement.noPrefetch = true;
647
+ }
648
+ }
649
+ }
650
+ }
651
+ }
652
+
653
+ preProcess() {
654
+ if (this.statement.isReturning && !this.parseOnly) {
655
+ this.outVariables = [];
656
+ for (const bindInfo of this.statement.bindInfoList) {
657
+ if (bindInfo.isReturnBind) {
658
+ this.outVariables.push(bindInfo.bindVar);
659
+ }
660
+ }
661
+ }
662
+
663
+ if (this.statement.isQuery) {
664
+ this.inFetch = true;
665
+ if (this.statement.queryVars) {
666
+ this.outVariables = [];
667
+ for (let i = 0; i < this.statement.queryVars.length; i++) {
668
+ this.outVariables.push(this.statement.queryVars[i]);
669
+ }
670
+ }
671
+ }
672
+ }
673
+
674
+ processBitVector(buf) {
675
+ this.numColumnsSent = buf.readUB2();
676
+ let numBytes = Math.floor(this.statement.numQueryVars / 8);
677
+ if (this.statement.numQueryVars % 8 > 0) {
678
+ numBytes += 1;
679
+ }
680
+ this.bitVector = Buffer.from(buf.readBytes(numBytes));
681
+ }
682
+
683
+ processBindParams(buf, params) {
684
+ const bindVars = [];
685
+ const nonReturningParams = [];
686
+ for (const bindInfo of params) {
687
+ if (!bindInfo.isReturnBind) {
688
+ nonReturningParams.push(bindInfo);
689
+ }
690
+ bindVars.push(bindInfo.bindVar);
691
+ }
692
+ this.writeColumnMetadata(buf, bindVars);
693
+ return nonReturningParams;
694
+ }
695
+
696
+ writeColumnMetadata(buf, bindVars) {
697
+ for (const variable of bindVars) {
698
+ let oraTypeNum = variable.type._oraTypeNum;
699
+ let maxSize = variable.maxSize || variable.type._bufferSizeFactor;
700
+ let lobPrefetchLength = 0;
701
+
702
+ // NCHAR, NVARCHAR reports ORA-01460: unimplemented or unreasonable
703
+ // conversion requested if maxSize is not multiplied by the
704
+ // bufferSizeFactor
705
+ if (variable.type._csfrm === constants.CSFRM_NCHAR) {
706
+ maxSize = Math.min(maxSize * variable.type._bufferSizeFactor, constants.TNS_MAX_LONG_LENGTH);
707
+ }
708
+ if ([constants.TNS_DATA_TYPE_ROWID, constants.TNS_DATA_TYPE_UROWID].includes(oraTypeNum)) {
709
+ oraTypeNum = constants.TNS_DATA_TYPE_VARCHAR;
710
+ maxSize = constants.TNS_MAX_UROWID_LENGTH;
711
+ }
712
+ let flag = constants.TNS_BIND_USE_INDICATORS;
713
+ if (variable.isArray) {
714
+ flag |= constants.TNS_BIND_ARRAY;
715
+ }
716
+ let contFlag = 0;
717
+ if (variable.type === types.DB_TYPE_BLOB ||
718
+ variable.type === types.DB_TYPE_CLOB ||
719
+ variable.type === types.DB_TYPE_NCLOB) {
720
+ contFlag = constants.TNS_LOB_PREFETCH_FLAG;
721
+ } else if (variable.type === types.DB_TYPE_JSON) {
722
+ contFlag = constants.TNS_LOB_PREFETCH_FLAG;
723
+ maxSize = lobPrefetchLength = constants.TNS_JSON_MAX_LENGTH;
724
+ } else if (variable.type === types.DB_TYPE_VECTOR) {
725
+ contFlag = constants.TNS_LOB_PREFETCH_FLAG;
726
+ maxSize = lobPrefetchLength = constants.TNS_VECTOR_MAX_LENGTH;
727
+ }
728
+ buf.writeUInt8(oraTypeNum);
729
+ buf.writeUInt8(flag);
730
+ // precision and scale are always written as zero as the server
731
+ // expects that and complains if any other value is sent!
732
+ buf.writeUInt8(0);
733
+ buf.writeUInt8(0);
734
+
735
+ // Write the max buffer size
736
+ buf.writeUB4(maxSize);
737
+
738
+ if (variable.isArray) {
739
+ buf.writeUB4(variable.maxArraySize);
740
+ } else {
741
+ buf.writeUB4(0); // max num elements
742
+ }
743
+ buf.writeUB4(contFlag);
744
+ if (variable.objType) {
745
+ const objType = variable.objType;
746
+ buf.writeUB4(objType.oid.length);
747
+ buf.writeBytesWithLength(objType.oid);
748
+ buf.writeUB2(objType.version);
749
+ } else {
750
+ buf.writeUB4(0); // OID
751
+ buf.writeUB2(0); // version
752
+ }
753
+ if (variable.type._csfrm !== 0) {
754
+ buf.writeUB2(constants.TNS_CHARSET_UTF8);
755
+ } else {
756
+ buf.writeUB2(0);
757
+ }
758
+ buf.writeUInt8(variable.type._csfrm);
759
+ buf.writeUB4(lobPrefetchLength); // max chars (LOB prefetch)
760
+ if (buf.caps.ttcFieldVersion >= constants.TNS_CCAP_FIELD_VERSION_12_2) {
761
+ buf.writeUB4(0); // oaccolid
762
+ }
763
+ }
764
+ }
765
+
766
+ writeBindParamsRow(buf, params, pos) {
767
+ const offset = this.offset;
768
+ let foundLong = false;
769
+ for (const bindInfo of params) {
770
+ if (bindInfo.isReturnBind)
771
+ continue;
772
+ const variable = bindInfo.bindVar;
773
+ if (variable.isArray) {
774
+ const numElements = variable.values.length;
775
+ buf.writeUB4(numElements);
776
+ for (let i = 0; i < numElements; i++) {
777
+ this.writeBindParamsColumn(buf, variable, variable.values[i]);
778
+ }
779
+ } else {
780
+ if ((!this.statement.isPlSql) && variable.maxSize > buf.caps.maxStringSize) {
781
+ foundLong = true;
782
+ } else {
783
+ this.writeBindParamsColumn(buf, variable,
784
+ variable.values[pos + offset]);
785
+ }
786
+ }
787
+ }
788
+ if (foundLong) {
789
+ for (const bindInfo of params) {
790
+ if (bindInfo.isReturnBind)
791
+ continue;
792
+ const variable = bindInfo.bindVar;
793
+ if (variable.maxSize > buf.caps.maxStringSize) {
794
+ this.writeBindParamsColumn(buf, variable, variable.values[pos + offset]);
795
+ }
796
+ }
797
+ }
798
+ }
799
+
800
+ writeBindParamsColumn(buf, variable, value) {
801
+ const oraTypeNum = variable.type._oraTypeNum;
802
+ let tempVal;
803
+ if ((value === undefined || value === null) && oraTypeNum !== constants.TNS_DATA_TYPE_CURSOR && oraTypeNum !== constants.TNS_DATA_TYPE_JSON) {
804
+ if (oraTypeNum === constants.TNS_DATA_TYPE_BOOLEAN) {
805
+ buf.writeUInt8(constants.TNS_ESCAPE_CHAR);
806
+ buf.writeUInt8(1);
807
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_INT_NAMED) {
808
+ buf.writeUB4(0); // TOID
809
+ buf.writeUB4(0); // OID
810
+ buf.writeUB4(0); // snapshot
811
+ buf.writeUB4(0); // version
812
+ buf.writeUB4(0); // packed data length
813
+ buf.writeUB4(constants.TNS_OBJ_TOP_LEVEL); // flags
814
+ } else {
815
+ buf.writeUInt8(0);
816
+ }
817
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_NUMBER ||
818
+ oraTypeNum === constants.TNS_DATA_TYPE_BINARY_INTEGER) {
819
+ if (typeof value === 'boolean') {
820
+ tempVal = (value) ? "1" : "0";
821
+ } else {
822
+ tempVal = value.toString();
823
+ }
824
+ buf.writeOracleNumber(tempVal);
825
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_VARCHAR ||
826
+ oraTypeNum === constants.TNS_DATA_TYPE_CHAR ||
827
+ oraTypeNum === constants.TNS_DATA_TYPE_LONG ||
828
+ oraTypeNum === constants.TNS_DATA_TYPE_RAW ||
829
+ oraTypeNum === constants.TNS_DATA_TYPE_LONG_RAW) {
830
+ if (variable.type._csfrm === constants.CSFRM_NCHAR) {
831
+ buf.caps.checkNCharsetId();
832
+ value = Buffer.from(value, constants.TNS_ENCODING_UTF16).swap16();
833
+ } else {
834
+ value = Buffer.from(value);
835
+ }
836
+ buf.writeBytesWithLength(value);
837
+ } else if (
838
+ oraTypeNum === constants.TNS_DATA_TYPE_DATE ||
839
+ oraTypeNum === constants.TNS_DATA_TYPE_TIMESTAMP ||
840
+ oraTypeNum === constants.TNS_DATA_TYPE_TIMESTAMP_TZ ||
841
+ oraTypeNum === constants.TNS_DATA_TYPE_TIMESTAMP_LTZ
842
+ ) {
843
+ buf.writeOracleDate(value, variable.type);
844
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_BINARY_DOUBLE) {
845
+ buf.writeUInt8(8);
846
+ buf.writeBinaryDouble(value);
847
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_BINARY_FLOAT) {
848
+ buf.writeUInt8(4);
849
+ buf.writeBinaryFloat(value);
850
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_CURSOR) {
851
+ let cursor = value;
852
+ if (!value) {
853
+ cursor = this.connection._createResultSet();
854
+ }
855
+ if (cursor.statement.cursorId === 0) {
856
+ buf.writeUInt8(1);
857
+ buf.writeUInt8(0);
858
+ } else {
859
+ buf.writeUB4(1);
860
+ buf.writeUB4(cursor.statement.cursorId);
861
+ }
862
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_BOOLEAN) {
863
+ if (value) {
864
+ buf.writeUInt8(2);
865
+ buf.writeUInt16BE(0x0101);
866
+ } else {
867
+ buf.writeUInt16BE(0x0100);
868
+ }
869
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_INTERVAL_YM) {
870
+ buf.writeOracleIntervalYM(value);
871
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_INTERVAL_DS) {
872
+ buf.writeOracleIntervalDS(value);
873
+ } else if (
874
+ oraTypeNum === constants.TNS_DATA_TYPE_CLOB ||
875
+ oraTypeNum === constants.TNS_DATA_TYPE_BLOB ||
876
+ oraTypeNum === constants.TNS_DATA_TYPE_BFILE
877
+ ) {
878
+ buf.writeUB4(value._locator.length);
879
+ buf.writeBytesWithLength(value._locator);
880
+ } else if ([constants.TNS_DATA_TYPE_ROWID, constants.TNS_DATA_TYPE_UROWID].includes(oraTypeNum)) {
881
+ buf.writeBytesWithLength(Buffer.from(value));
882
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_JSON) {
883
+ buf.writeOson(value, this.connection._osonMaxFieldNameSize);
884
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_VECTOR) {
885
+ buf.writeVector(value);
886
+ } else if (oraTypeNum === constants.TNS_DATA_TYPE_INT_NAMED) {
887
+ buf.writeDbObject(value);
888
+ } else {
889
+ const message = `Binding data of type ${variable.type}`;
890
+ errors.throwErr(errors.ERR_NOT_IMPLEMENTED, message);
891
+ }
892
+ }
893
+
894
+ createCursorFromDescribe(buf) {
895
+ const resultSet = this.connection._createResultSet(this.options);
896
+ resultSet.options.moreRowsToFetch = true;
897
+ resultSet.statement.isQuery = true;
898
+ resultSet.statement.requiresFullExecute = true;
899
+ this.processDescribeInfo(buf, resultSet);
900
+ return resultSet;
901
+ }
902
+
903
+ processImplicitResultSet(buf) {
904
+ this.options.implicitResultSet = [];
905
+ const numResults = buf.readUB4();
906
+ for (let i = 0; i < numResults; i++) {
907
+ const numBytes = buf.readUInt8();
908
+ buf.skipBytes(numBytes);
909
+ const childResultSet = this.createCursorFromDescribe(buf);
910
+ childResultSet.statement.cursorId = buf.readUB2();
911
+ this.options.implicitResultSet.push(childResultSet);
912
+ }
913
+ }
914
+ }
915
+
916
+ const isNullLength = (len) => {
917
+ return len === 0 || len === constants.TNS_NULL_LENGTH_INDICATOR;
918
+ };
919
+
920
+ module.exports = MessageWithData;