@nshiab/simple-data-analysis-core 2.0.8 → 2.1.0

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 (513) hide show
  1. package/esm/class/SDAError.d.ts +6 -6
  2. package/esm/class/SDAError.js +6 -6
  3. package/esm/class/Simple.d.ts +9 -9
  4. package/esm/class/Simple.js +9 -9
  5. package/esm/class/SimpleDB.d.ts +80 -76
  6. package/esm/class/SimpleDB.d.ts.map +1 -1
  7. package/esm/class/SimpleDB.js +80 -76
  8. package/esm/class/SimpleTable.d.ts +2805 -1077
  9. package/esm/class/SimpleTable.d.ts.map +1 -1
  10. package/esm/class/SimpleTable.js +2777 -1077
  11. package/esm/helpers/appendColumnBatches.d.ts +3 -0
  12. package/esm/helpers/appendColumnBatches.d.ts.map +1 -0
  13. package/esm/helpers/appendColumnBatches.js +21 -0
  14. package/esm/helpers/buildApproximateMutualReachabilityMst.d.ts +45 -0
  15. package/esm/helpers/buildApproximateMutualReachabilityMst.d.ts.map +1 -0
  16. package/esm/helpers/buildApproximateMutualReachabilityMst.js +212 -0
  17. package/esm/helpers/buildChronologicalGraphComponentsSql.d.ts +14 -0
  18. package/esm/helpers/buildChronologicalGraphComponentsSql.d.ts.map +1 -0
  19. package/esm/helpers/buildChronologicalGraphComponentsSql.js +167 -0
  20. package/esm/helpers/buildExactMutualReachabilityMst.d.ts +28 -0
  21. package/esm/helpers/buildExactMutualReachabilityMst.d.ts.map +1 -0
  22. package/esm/helpers/buildExactMutualReachabilityMst.js +97 -0
  23. package/esm/helpers/buildGraphTemporalCostStateSql.d.ts +12 -0
  24. package/esm/helpers/buildGraphTemporalCostStateSql.d.ts.map +1 -0
  25. package/esm/helpers/buildGraphTemporalCostStateSql.js +86 -0
  26. package/esm/helpers/buildGraphTemporalReachabilitySql.d.ts +13 -0
  27. package/esm/helpers/buildGraphTemporalReachabilitySql.d.ts.map +1 -0
  28. package/esm/helpers/buildGraphTemporalReachabilitySql.js +70 -0
  29. package/esm/helpers/buildSparseMutualReachabilityMst.d.ts +10 -0
  30. package/esm/helpers/buildSparseMutualReachabilityMst.d.ts.map +1 -0
  31. package/esm/helpers/buildSparseMutualReachabilityMst.js +47 -0
  32. package/esm/helpers/buildUmapGraph.d.ts +21 -0
  33. package/esm/helpers/buildUmapGraph.d.ts.map +1 -0
  34. package/esm/helpers/buildUmapGraph.js +61 -0
  35. package/esm/helpers/buildVectorNeighbors.d.ts +45 -0
  36. package/esm/helpers/buildVectorNeighbors.d.ts.map +1 -0
  37. package/esm/helpers/buildVectorNeighbors.js +170 -0
  38. package/esm/helpers/buildWeakGraphComponentsSql.d.ts +3 -0
  39. package/esm/helpers/buildWeakGraphComponentsSql.d.ts.map +1 -0
  40. package/esm/helpers/buildWeakGraphComponentsSql.js +32 -0
  41. package/esm/helpers/cacheDatabase.d.ts.map +1 -1
  42. package/esm/helpers/cacheDatabase.js +2 -1
  43. package/esm/helpers/camelCase.d.ts +7 -5
  44. package/esm/helpers/camelCase.d.ts.map +1 -1
  45. package/esm/helpers/camelCase.js +7 -5
  46. package/esm/helpers/capitalize.d.ts +6 -4
  47. package/esm/helpers/capitalize.d.ts.map +1 -1
  48. package/esm/helpers/capitalize.js +6 -4
  49. package/esm/helpers/clusterHdbscan.d.ts +18 -0
  50. package/esm/helpers/clusterHdbscan.d.ts.map +1 -0
  51. package/esm/helpers/clusterHdbscan.js +342 -0
  52. package/esm/helpers/computeCovariance.d.ts +16 -0
  53. package/esm/helpers/computeCovariance.d.ts.map +1 -0
  54. package/esm/helpers/computeCovariance.js +99 -0
  55. package/esm/helpers/computeMahalanobisDistances.d.ts +14 -0
  56. package/esm/helpers/computeMahalanobisDistances.d.ts.map +1 -0
  57. package/esm/helpers/computeMahalanobisDistances.js +87 -0
  58. package/esm/helpers/createDirectory.d.ts +4 -3
  59. package/esm/helpers/createDirectory.d.ts.map +1 -1
  60. package/esm/helpers/createDirectory.js +4 -3
  61. package/esm/helpers/dataToArrays.d.ts +6 -4
  62. package/esm/helpers/dataToArrays.d.ts.map +1 -1
  63. package/esm/helpers/dataToArrays.js +6 -4
  64. package/esm/helpers/extractTypes.d.ts +1 -1
  65. package/esm/helpers/extractTypes.js +4 -9
  66. package/esm/helpers/factorCovariance.d.ts +17 -0
  67. package/esm/helpers/factorCovariance.d.ts.map +1 -0
  68. package/esm/helpers/factorCovariance.js +189 -0
  69. package/esm/helpers/findGeoColumn.d.ts +6 -4
  70. package/esm/helpers/findGeoColumn.d.ts.map +1 -1
  71. package/esm/helpers/findGeoColumn.js +6 -4
  72. package/esm/helpers/findGeoColumnFromSchema.d.ts +8 -5
  73. package/esm/helpers/findGeoColumnFromSchema.d.ts.map +1 -1
  74. package/esm/helpers/findGeoColumnFromSchema.js +8 -5
  75. package/esm/helpers/fitUmapCurve.d.ts +2 -0
  76. package/esm/helpers/fitUmapCurve.d.ts.map +1 -0
  77. package/esm/helpers/fitUmapCurve.js +66 -0
  78. package/esm/helpers/formatDate.d.ts +12 -6
  79. package/esm/helpers/formatDate.d.ts.map +1 -1
  80. package/esm/helpers/formatDate.js +12 -6
  81. package/esm/helpers/formatMissingTables.d.ts +8 -5
  82. package/esm/helpers/formatMissingTables.d.ts.map +1 -1
  83. package/esm/helpers/formatMissingTables.js +8 -5
  84. package/esm/helpers/formatNumber.d.ts +19 -10
  85. package/esm/helpers/formatNumber.d.ts.map +1 -1
  86. package/esm/helpers/formatNumber.js +32 -17
  87. package/esm/helpers/getGraphEdgeIdColumn.d.ts +9 -0
  88. package/esm/helpers/getGraphEdgeIdColumn.d.ts.map +1 -0
  89. package/esm/helpers/getGraphEdgeIdColumn.js +25 -0
  90. package/esm/helpers/getGraphEndpointColumns.d.ts +11 -0
  91. package/esm/helpers/getGraphEndpointColumns.d.ts.map +1 -0
  92. package/esm/helpers/getGraphEndpointColumns.js +160 -0
  93. package/esm/helpers/getGraphWeightColumn.d.ts +10 -0
  94. package/esm/helpers/getGraphWeightColumn.d.ts.map +1 -0
  95. package/esm/helpers/getGraphWeightColumn.js +40 -0
  96. package/esm/helpers/graphRouteResultSchema.d.ts +4 -0
  97. package/esm/helpers/graphRouteResultSchema.d.ts.map +1 -0
  98. package/esm/helpers/graphRouteResultSchema.js +12 -0
  99. package/esm/helpers/graphRouteResultSelect.d.ts +4 -0
  100. package/esm/helpers/graphRouteResultSelect.d.ts.map +1 -0
  101. package/esm/helpers/graphRouteResultSelect.js +22 -0
  102. package/esm/helpers/hasGeometryColumn.d.ts +4 -3
  103. package/esm/helpers/hasGeometryColumn.d.ts.map +1 -1
  104. package/esm/helpers/hasGeometryColumn.js +4 -3
  105. package/esm/helpers/initialUmapCoordinates.d.ts +2 -0
  106. package/esm/helpers/initialUmapCoordinates.d.ts.map +1 -0
  107. package/esm/helpers/initialUmapCoordinates.js +5 -0
  108. package/esm/helpers/inspectGraphConnectivity.d.ts +10 -0
  109. package/esm/helpers/inspectGraphConnectivity.d.ts.map +1 -0
  110. package/esm/helpers/inspectGraphConnectivity.js +55 -0
  111. package/esm/helpers/mergeOptions.d.ts +24 -13
  112. package/esm/helpers/mergeOptions.d.ts.map +1 -1
  113. package/esm/helpers/mergeOptions.js +24 -13
  114. package/esm/helpers/optimizeUmapLayout.d.ts +7 -0
  115. package/esm/helpers/optimizeUmapLayout.d.ts.map +1 -0
  116. package/esm/helpers/optimizeUmapLayout.js +93 -0
  117. package/esm/helpers/parseValue.d.ts +6 -4
  118. package/esm/helpers/parseValue.d.ts.map +1 -1
  119. package/esm/helpers/parseValue.js +6 -4
  120. package/esm/helpers/prepareGraphRouteSql.d.ts +31 -0
  121. package/esm/helpers/prepareGraphRouteSql.d.ts.map +1 -0
  122. package/esm/helpers/prepareGraphRouteSql.js +86 -0
  123. package/esm/helpers/prepareGraphStarts.d.ts +9 -0
  124. package/esm/helpers/prepareGraphStarts.d.ts.map +1 -0
  125. package/esm/helpers/prepareGraphStarts.js +68 -0
  126. package/esm/helpers/prepareGraphTemporalSql.d.ts +28 -0
  127. package/esm/helpers/prepareGraphTemporalSql.d.ts.map +1 -0
  128. package/esm/helpers/prepareGraphTemporalSql.js +154 -0
  129. package/esm/helpers/prepareGraphTraversal.d.ts +19 -0
  130. package/esm/helpers/prepareGraphTraversal.d.ts.map +1 -0
  131. package/esm/helpers/prepareGraphTraversal.js +79 -0
  132. package/esm/helpers/prepareNumericFeatures.d.ts +41 -0
  133. package/esm/helpers/prepareNumericFeatures.d.ts.map +1 -0
  134. package/esm/helpers/prepareNumericFeatures.js +210 -0
  135. package/esm/helpers/prepareUmapLayoutOptions.d.ts +14 -0
  136. package/esm/helpers/prepareUmapLayoutOptions.d.ts.map +1 -0
  137. package/esm/helpers/prepareUmapLayoutOptions.js +23 -0
  138. package/esm/helpers/prettyDuration.d.ts +14 -8
  139. package/esm/helpers/prettyDuration.d.ts.map +1 -1
  140. package/esm/helpers/prettyDuration.js +14 -8
  141. package/esm/helpers/printTable.d.ts +18 -13
  142. package/esm/helpers/printTable.d.ts.map +1 -1
  143. package/esm/helpers/printTable.js +18 -13
  144. package/esm/helpers/publishPreparedColumns.d.ts +37 -0
  145. package/esm/helpers/publishPreparedColumns.d.ts.map +1 -0
  146. package/esm/helpers/publishPreparedColumns.js +113 -0
  147. package/esm/helpers/queryDB.d.ts +24 -13
  148. package/esm/helpers/queryDB.d.ts.map +1 -1
  149. package/esm/helpers/queryDB.js +24 -13
  150. package/esm/helpers/queueAsyncBarrier.d.ts +12 -7
  151. package/esm/helpers/queueAsyncBarrier.d.ts.map +1 -1
  152. package/esm/helpers/queueAsyncBarrier.js +12 -7
  153. package/esm/helpers/queueGraphResult.d.ts +18 -0
  154. package/esm/helpers/queueGraphResult.d.ts.map +1 -0
  155. package/esm/helpers/queueGraphResult.js +39 -0
  156. package/esm/helpers/quoteIdentifier.d.ts +4 -3
  157. package/esm/helpers/quoteIdentifier.d.ts.map +1 -1
  158. package/esm/helpers/quoteIdentifier.js +4 -3
  159. package/esm/helpers/quoteQualifiedIdentifier.d.ts +6 -4
  160. package/esm/helpers/quoteQualifiedIdentifier.d.ts.map +1 -1
  161. package/esm/helpers/quoteQualifiedIdentifier.js +6 -4
  162. package/esm/helpers/readScalarNumber.d.ts +3 -0
  163. package/esm/helpers/readScalarNumber.d.ts.map +1 -0
  164. package/esm/helpers/readScalarNumber.js +4 -0
  165. package/esm/helpers/runQuery.d.ts.map +1 -1
  166. package/esm/helpers/runQuery.js +17 -3
  167. package/esm/helpers/selectFuzzyReplacements.d.ts +11 -0
  168. package/esm/helpers/selectFuzzyReplacements.d.ts.map +1 -0
  169. package/esm/helpers/selectFuzzyReplacements.js +124 -0
  170. package/esm/helpers/stabilizeCosineVectors.d.ts +14 -0
  171. package/esm/helpers/stabilizeCosineVectors.d.ts.map +1 -0
  172. package/esm/helpers/stabilizeCosineVectors.js +34 -0
  173. package/esm/helpers/stringToArray.d.ts +4 -3
  174. package/esm/helpers/stringToArray.d.ts.map +1 -1
  175. package/esm/helpers/stringToArray.js +4 -3
  176. package/esm/helpers/umapRandom.d.ts +2 -0
  177. package/esm/helpers/umapRandom.d.ts.map +1 -0
  178. package/esm/helpers/umapRandom.js +10 -0
  179. package/esm/helpers/updateColumnsWithJS.d.ts +12 -6
  180. package/esm/helpers/updateColumnsWithJS.d.ts.map +1 -1
  181. package/esm/helpers/updateColumnsWithJS.js +12 -6
  182. package/esm/helpers/validateGraphRouteResultSchema.d.ts +4 -0
  183. package/esm/helpers/validateGraphRouteResultSchema.d.ts.map +1 -0
  184. package/esm/helpers/validateGraphRouteResultSchema.js +13 -0
  185. package/esm/helpers/validateGraphTemporalEvents.d.ts +7 -0
  186. package/esm/helpers/validateGraphTemporalEvents.d.ts.map +1 -0
  187. package/esm/helpers/validateGraphTemporalEvents.js +47 -0
  188. package/esm/helpers/validateNumericalAnalysis.d.ts +10 -6
  189. package/esm/helpers/validateNumericalAnalysis.d.ts.map +1 -1
  190. package/esm/helpers/validateNumericalAnalysis.js +10 -6
  191. package/esm/helpers/validateVectorRowIds.d.ts +4 -0
  192. package/esm/helpers/validateVectorRowIds.d.ts.map +1 -0
  193. package/esm/helpers/validateVectorRowIds.js +16 -0
  194. package/esm/helpers/vectorDistanceExpression.d.ts +6 -0
  195. package/esm/helpers/vectorDistanceExpression.d.ts.map +1 -0
  196. package/esm/helpers/vectorDistanceExpression.js +11 -0
  197. package/esm/helpers/wrapString.d.ts +10 -7
  198. package/esm/helpers/wrapString.d.ts.map +1 -1
  199. package/esm/helpers/wrapString.js +10 -7
  200. package/esm/methods/addId.d.ts +5 -0
  201. package/esm/methods/addId.d.ts.map +1 -0
  202. package/esm/methods/addId.js +38 -0
  203. package/esm/methods/cache.js +1 -1
  204. package/esm/methods/commonNeighbors.d.ts +10 -0
  205. package/esm/methods/commonNeighbors.d.ts.map +1 -0
  206. package/esm/methods/commonNeighbors.js +101 -0
  207. package/esm/methods/connectedComponents.d.ts +9 -0
  208. package/esm/methods/connectedComponents.d.ts.map +1 -0
  209. package/esm/methods/connectedComponents.js +147 -0
  210. package/esm/methods/degree.d.ts +9 -0
  211. package/esm/methods/degree.d.ts.map +1 -0
  212. package/esm/methods/degree.js +135 -0
  213. package/esm/methods/distances.d.ts +12 -0
  214. package/esm/methods/distances.d.ts.map +1 -0
  215. package/esm/methods/distances.js +164 -0
  216. package/esm/methods/findCycles.d.ts +12 -0
  217. package/esm/methods/findCycles.d.ts.map +1 -0
  218. package/esm/methods/findCycles.js +330 -0
  219. package/esm/methods/fuzzyClean.d.ts.map +1 -1
  220. package/esm/methods/fuzzyClean.js +17 -136
  221. package/esm/methods/fuzzyJoin.js +70 -16
  222. package/esm/methods/getTypes.d.ts +1 -1
  223. package/esm/methods/hdbscan.d.ts +5 -0
  224. package/esm/methods/hdbscan.d.ts.map +1 -0
  225. package/esm/methods/hdbscan.js +208 -0
  226. package/esm/methods/loadArray.d.ts.map +1 -1
  227. package/esm/methods/loadArray.js +3 -20
  228. package/esm/methods/mahalanobis.d.ts +5 -0
  229. package/esm/methods/mahalanobis.d.ts.map +1 -0
  230. package/esm/methods/mahalanobis.js +92 -0
  231. package/esm/methods/neighbors.d.ts +9 -0
  232. package/esm/methods/neighbors.d.ts.map +1 -0
  233. package/esm/methods/neighbors.js +81 -0
  234. package/esm/methods/normalizeVector.d.ts +5 -0
  235. package/esm/methods/normalizeVector.d.ts.map +1 -0
  236. package/esm/methods/normalizeVector.js +132 -0
  237. package/esm/methods/paths.d.ts +12 -0
  238. package/esm/methods/paths.d.ts.map +1 -0
  239. package/esm/methods/paths.js +287 -0
  240. package/esm/methods/reachable.d.ts +11 -0
  241. package/esm/methods/reachable.d.ts.map +1 -0
  242. package/esm/methods/reachable.js +131 -0
  243. package/esm/methods/rowToVector.d.ts +5 -0
  244. package/esm/methods/rowToVector.d.ts.map +1 -0
  245. package/esm/methods/rowToVector.js +77 -0
  246. package/esm/methods/shortestPath.d.ts +12 -0
  247. package/esm/methods/shortestPath.d.ts.map +1 -0
  248. package/esm/methods/shortestPath.js +337 -0
  249. package/esm/methods/topologicalSort.d.ts +7 -0
  250. package/esm/methods/topologicalSort.d.ts.map +1 -0
  251. package/esm/methods/topologicalSort.js +164 -0
  252. package/esm/methods/umap.d.ts +5 -0
  253. package/esm/methods/umap.d.ts.map +1 -0
  254. package/esm/methods/umap.js +156 -0
  255. package/esm/methods/updateWithJS.js +9 -21
  256. package/llm.md +2170 -128
  257. package/llms.txt +1 -1
  258. package/package.json +1 -1
  259. package/script/class/SDAError.d.ts +6 -6
  260. package/script/class/SDAError.js +6 -6
  261. package/script/class/Simple.d.ts +9 -9
  262. package/script/class/Simple.js +9 -9
  263. package/script/class/SimpleDB.d.ts +80 -76
  264. package/script/class/SimpleDB.d.ts.map +1 -1
  265. package/script/class/SimpleDB.js +80 -76
  266. package/script/class/SimpleTable.d.ts +2805 -1077
  267. package/script/class/SimpleTable.d.ts.map +1 -1
  268. package/script/class/SimpleTable.js +2777 -1077
  269. package/script/helpers/appendColumnBatches.d.ts +3 -0
  270. package/script/helpers/appendColumnBatches.d.ts.map +1 -0
  271. package/script/helpers/appendColumnBatches.js +24 -0
  272. package/script/helpers/buildApproximateMutualReachabilityMst.d.ts +45 -0
  273. package/script/helpers/buildApproximateMutualReachabilityMst.d.ts.map +1 -0
  274. package/script/helpers/buildApproximateMutualReachabilityMst.js +219 -0
  275. package/script/helpers/buildChronologicalGraphComponentsSql.d.ts +14 -0
  276. package/script/helpers/buildChronologicalGraphComponentsSql.d.ts.map +1 -0
  277. package/script/helpers/buildChronologicalGraphComponentsSql.js +174 -0
  278. package/script/helpers/buildExactMutualReachabilityMst.d.ts +28 -0
  279. package/script/helpers/buildExactMutualReachabilityMst.d.ts.map +1 -0
  280. package/script/helpers/buildExactMutualReachabilityMst.js +103 -0
  281. package/script/helpers/buildGraphTemporalCostStateSql.d.ts +12 -0
  282. package/script/helpers/buildGraphTemporalCostStateSql.d.ts.map +1 -0
  283. package/script/helpers/buildGraphTemporalCostStateSql.js +92 -0
  284. package/script/helpers/buildGraphTemporalReachabilitySql.d.ts +13 -0
  285. package/script/helpers/buildGraphTemporalReachabilitySql.d.ts.map +1 -0
  286. package/script/helpers/buildGraphTemporalReachabilitySql.js +76 -0
  287. package/script/helpers/buildSparseMutualReachabilityMst.d.ts +10 -0
  288. package/script/helpers/buildSparseMutualReachabilityMst.d.ts.map +1 -0
  289. package/script/helpers/buildSparseMutualReachabilityMst.js +50 -0
  290. package/script/helpers/buildUmapGraph.d.ts +21 -0
  291. package/script/helpers/buildUmapGraph.d.ts.map +1 -0
  292. package/script/helpers/buildUmapGraph.js +67 -0
  293. package/script/helpers/buildVectorNeighbors.d.ts +45 -0
  294. package/script/helpers/buildVectorNeighbors.d.ts.map +1 -0
  295. package/script/helpers/buildVectorNeighbors.js +176 -0
  296. package/script/helpers/buildWeakGraphComponentsSql.d.ts +3 -0
  297. package/script/helpers/buildWeakGraphComponentsSql.d.ts.map +1 -0
  298. package/script/helpers/buildWeakGraphComponentsSql.js +38 -0
  299. package/script/helpers/cacheDatabase.d.ts.map +1 -1
  300. package/script/helpers/cacheDatabase.js +2 -1
  301. package/script/helpers/camelCase.d.ts +7 -5
  302. package/script/helpers/camelCase.d.ts.map +1 -1
  303. package/script/helpers/camelCase.js +7 -5
  304. package/script/helpers/capitalize.d.ts +6 -4
  305. package/script/helpers/capitalize.d.ts.map +1 -1
  306. package/script/helpers/capitalize.js +6 -4
  307. package/script/helpers/clusterHdbscan.d.ts +18 -0
  308. package/script/helpers/clusterHdbscan.d.ts.map +1 -0
  309. package/script/helpers/clusterHdbscan.js +346 -0
  310. package/script/helpers/computeCovariance.d.ts +16 -0
  311. package/script/helpers/computeCovariance.d.ts.map +1 -0
  312. package/script/helpers/computeCovariance.js +105 -0
  313. package/script/helpers/computeMahalanobisDistances.d.ts +14 -0
  314. package/script/helpers/computeMahalanobisDistances.d.ts.map +1 -0
  315. package/script/helpers/computeMahalanobisDistances.js +93 -0
  316. package/script/helpers/createDirectory.d.ts +4 -3
  317. package/script/helpers/createDirectory.d.ts.map +1 -1
  318. package/script/helpers/createDirectory.js +4 -3
  319. package/script/helpers/dataToArrays.d.ts +6 -4
  320. package/script/helpers/dataToArrays.d.ts.map +1 -1
  321. package/script/helpers/dataToArrays.js +6 -4
  322. package/script/helpers/extractTypes.d.ts +1 -1
  323. package/script/helpers/extractTypes.js +4 -9
  324. package/script/helpers/factorCovariance.d.ts +17 -0
  325. package/script/helpers/factorCovariance.d.ts.map +1 -0
  326. package/script/helpers/factorCovariance.js +194 -0
  327. package/script/helpers/findGeoColumn.d.ts +6 -4
  328. package/script/helpers/findGeoColumn.d.ts.map +1 -1
  329. package/script/helpers/findGeoColumn.js +6 -4
  330. package/script/helpers/findGeoColumnFromSchema.d.ts +8 -5
  331. package/script/helpers/findGeoColumnFromSchema.d.ts.map +1 -1
  332. package/script/helpers/findGeoColumnFromSchema.js +8 -5
  333. package/script/helpers/fitUmapCurve.d.ts +2 -0
  334. package/script/helpers/fitUmapCurve.d.ts.map +1 -0
  335. package/script/helpers/fitUmapCurve.js +69 -0
  336. package/script/helpers/formatDate.d.ts +12 -6
  337. package/script/helpers/formatDate.d.ts.map +1 -1
  338. package/script/helpers/formatDate.js +12 -6
  339. package/script/helpers/formatMissingTables.d.ts +8 -5
  340. package/script/helpers/formatMissingTables.d.ts.map +1 -1
  341. package/script/helpers/formatMissingTables.js +8 -5
  342. package/script/helpers/formatNumber.d.ts +19 -10
  343. package/script/helpers/formatNumber.d.ts.map +1 -1
  344. package/script/helpers/formatNumber.js +32 -17
  345. package/script/helpers/getGraphEdgeIdColumn.d.ts +9 -0
  346. package/script/helpers/getGraphEdgeIdColumn.d.ts.map +1 -0
  347. package/script/helpers/getGraphEdgeIdColumn.js +31 -0
  348. package/script/helpers/getGraphEndpointColumns.d.ts +11 -0
  349. package/script/helpers/getGraphEndpointColumns.d.ts.map +1 -0
  350. package/script/helpers/getGraphEndpointColumns.js +166 -0
  351. package/script/helpers/getGraphWeightColumn.d.ts +10 -0
  352. package/script/helpers/getGraphWeightColumn.d.ts.map +1 -0
  353. package/script/helpers/getGraphWeightColumn.js +46 -0
  354. package/script/helpers/graphRouteResultSchema.d.ts +4 -0
  355. package/script/helpers/graphRouteResultSchema.d.ts.map +1 -0
  356. package/script/helpers/graphRouteResultSchema.js +18 -0
  357. package/script/helpers/graphRouteResultSelect.d.ts +4 -0
  358. package/script/helpers/graphRouteResultSelect.d.ts.map +1 -0
  359. package/script/helpers/graphRouteResultSelect.js +28 -0
  360. package/script/helpers/hasGeometryColumn.d.ts +4 -3
  361. package/script/helpers/hasGeometryColumn.d.ts.map +1 -1
  362. package/script/helpers/hasGeometryColumn.js +4 -3
  363. package/script/helpers/initialUmapCoordinates.d.ts +2 -0
  364. package/script/helpers/initialUmapCoordinates.d.ts.map +1 -0
  365. package/script/helpers/initialUmapCoordinates.js +11 -0
  366. package/script/helpers/inspectGraphConnectivity.d.ts +10 -0
  367. package/script/helpers/inspectGraphConnectivity.d.ts.map +1 -0
  368. package/script/helpers/inspectGraphConnectivity.js +58 -0
  369. package/script/helpers/mergeOptions.d.ts +24 -13
  370. package/script/helpers/mergeOptions.d.ts.map +1 -1
  371. package/script/helpers/mergeOptions.js +24 -13
  372. package/script/helpers/optimizeUmapLayout.d.ts +7 -0
  373. package/script/helpers/optimizeUmapLayout.d.ts.map +1 -0
  374. package/script/helpers/optimizeUmapLayout.js +99 -0
  375. package/script/helpers/parseValue.d.ts +6 -4
  376. package/script/helpers/parseValue.d.ts.map +1 -1
  377. package/script/helpers/parseValue.js +6 -4
  378. package/script/helpers/prepareGraphRouteSql.d.ts +31 -0
  379. package/script/helpers/prepareGraphRouteSql.d.ts.map +1 -0
  380. package/script/helpers/prepareGraphRouteSql.js +127 -0
  381. package/script/helpers/prepareGraphStarts.d.ts +9 -0
  382. package/script/helpers/prepareGraphStarts.d.ts.map +1 -0
  383. package/script/helpers/prepareGraphStarts.js +71 -0
  384. package/script/helpers/prepareGraphTemporalSql.d.ts +28 -0
  385. package/script/helpers/prepareGraphTemporalSql.d.ts.map +1 -0
  386. package/script/helpers/prepareGraphTemporalSql.js +161 -0
  387. package/script/helpers/prepareGraphTraversal.d.ts +19 -0
  388. package/script/helpers/prepareGraphTraversal.d.ts.map +1 -0
  389. package/script/helpers/prepareGraphTraversal.js +87 -0
  390. package/script/helpers/prepareNumericFeatures.d.ts +41 -0
  391. package/script/helpers/prepareNumericFeatures.d.ts.map +1 -0
  392. package/script/helpers/prepareNumericFeatures.js +217 -0
  393. package/script/helpers/prepareUmapLayoutOptions.d.ts +14 -0
  394. package/script/helpers/prepareUmapLayoutOptions.d.ts.map +1 -0
  395. package/script/helpers/prepareUmapLayoutOptions.js +29 -0
  396. package/script/helpers/prettyDuration.d.ts +14 -8
  397. package/script/helpers/prettyDuration.d.ts.map +1 -1
  398. package/script/helpers/prettyDuration.js +14 -8
  399. package/script/helpers/printTable.d.ts +18 -13
  400. package/script/helpers/printTable.d.ts.map +1 -1
  401. package/script/helpers/printTable.js +18 -13
  402. package/script/helpers/publishPreparedColumns.d.ts +37 -0
  403. package/script/helpers/publishPreparedColumns.d.ts.map +1 -0
  404. package/script/helpers/publishPreparedColumns.js +119 -0
  405. package/script/helpers/queryDB.d.ts +24 -13
  406. package/script/helpers/queryDB.d.ts.map +1 -1
  407. package/script/helpers/queryDB.js +24 -13
  408. package/script/helpers/queueAsyncBarrier.d.ts +12 -7
  409. package/script/helpers/queueAsyncBarrier.d.ts.map +1 -1
  410. package/script/helpers/queueAsyncBarrier.js +12 -7
  411. package/script/helpers/queueGraphResult.d.ts +18 -0
  412. package/script/helpers/queueGraphResult.d.ts.map +1 -0
  413. package/script/helpers/queueGraphResult.js +45 -0
  414. package/script/helpers/quoteIdentifier.d.ts +4 -3
  415. package/script/helpers/quoteIdentifier.d.ts.map +1 -1
  416. package/script/helpers/quoteIdentifier.js +4 -3
  417. package/script/helpers/quoteQualifiedIdentifier.d.ts +6 -4
  418. package/script/helpers/quoteQualifiedIdentifier.d.ts.map +1 -1
  419. package/script/helpers/quoteQualifiedIdentifier.js +6 -4
  420. package/script/helpers/readScalarNumber.d.ts +3 -0
  421. package/script/helpers/readScalarNumber.d.ts.map +1 -0
  422. package/script/helpers/readScalarNumber.js +7 -0
  423. package/script/helpers/runQuery.d.ts.map +1 -1
  424. package/script/helpers/runQuery.js +17 -3
  425. package/script/helpers/selectFuzzyReplacements.d.ts +11 -0
  426. package/script/helpers/selectFuzzyReplacements.d.ts.map +1 -0
  427. package/script/helpers/selectFuzzyReplacements.js +127 -0
  428. package/script/helpers/stabilizeCosineVectors.d.ts +14 -0
  429. package/script/helpers/stabilizeCosineVectors.d.ts.map +1 -0
  430. package/script/helpers/stabilizeCosineVectors.js +40 -0
  431. package/script/helpers/stringToArray.d.ts +4 -3
  432. package/script/helpers/stringToArray.d.ts.map +1 -1
  433. package/script/helpers/stringToArray.js +4 -3
  434. package/script/helpers/umapRandom.d.ts +2 -0
  435. package/script/helpers/umapRandom.d.ts.map +1 -0
  436. package/script/helpers/umapRandom.js +13 -0
  437. package/script/helpers/updateColumnsWithJS.d.ts +12 -6
  438. package/script/helpers/updateColumnsWithJS.d.ts.map +1 -1
  439. package/script/helpers/updateColumnsWithJS.js +12 -6
  440. package/script/helpers/validateGraphRouteResultSchema.d.ts +4 -0
  441. package/script/helpers/validateGraphRouteResultSchema.d.ts.map +1 -0
  442. package/script/helpers/validateGraphRouteResultSchema.js +19 -0
  443. package/script/helpers/validateGraphTemporalEvents.d.ts +7 -0
  444. package/script/helpers/validateGraphTemporalEvents.d.ts.map +1 -0
  445. package/script/helpers/validateGraphTemporalEvents.js +53 -0
  446. package/script/helpers/validateNumericalAnalysis.d.ts +10 -6
  447. package/script/helpers/validateNumericalAnalysis.d.ts.map +1 -1
  448. package/script/helpers/validateNumericalAnalysis.js +10 -6
  449. package/script/helpers/validateVectorRowIds.d.ts +4 -0
  450. package/script/helpers/validateVectorRowIds.d.ts.map +1 -0
  451. package/script/helpers/validateVectorRowIds.js +19 -0
  452. package/script/helpers/vectorDistanceExpression.d.ts +6 -0
  453. package/script/helpers/vectorDistanceExpression.d.ts.map +1 -0
  454. package/script/helpers/vectorDistanceExpression.js +14 -0
  455. package/script/helpers/wrapString.d.ts +10 -7
  456. package/script/helpers/wrapString.d.ts.map +1 -1
  457. package/script/helpers/wrapString.js +10 -7
  458. package/script/methods/addId.d.ts +5 -0
  459. package/script/methods/addId.d.ts.map +1 -0
  460. package/script/methods/addId.js +44 -0
  461. package/script/methods/cache.js +1 -1
  462. package/script/methods/commonNeighbors.d.ts +10 -0
  463. package/script/methods/commonNeighbors.d.ts.map +1 -0
  464. package/script/methods/commonNeighbors.js +140 -0
  465. package/script/methods/connectedComponents.d.ts +9 -0
  466. package/script/methods/connectedComponents.d.ts.map +1 -0
  467. package/script/methods/connectedComponents.js +186 -0
  468. package/script/methods/degree.d.ts +9 -0
  469. package/script/methods/degree.d.ts.map +1 -0
  470. package/script/methods/degree.js +141 -0
  471. package/script/methods/distances.d.ts +12 -0
  472. package/script/methods/distances.d.ts.map +1 -0
  473. package/script/methods/distances.js +203 -0
  474. package/script/methods/findCycles.d.ts +12 -0
  475. package/script/methods/findCycles.d.ts.map +1 -0
  476. package/script/methods/findCycles.js +369 -0
  477. package/script/methods/fuzzyClean.d.ts.map +1 -1
  478. package/script/methods/fuzzyClean.js +17 -136
  479. package/script/methods/fuzzyJoin.js +70 -16
  480. package/script/methods/getTypes.d.ts +1 -1
  481. package/script/methods/hdbscan.d.ts +5 -0
  482. package/script/methods/hdbscan.d.ts.map +1 -0
  483. package/script/methods/hdbscan.js +214 -0
  484. package/script/methods/loadArray.d.ts.map +1 -1
  485. package/script/methods/loadArray.js +2 -19
  486. package/script/methods/mahalanobis.d.ts +5 -0
  487. package/script/methods/mahalanobis.d.ts.map +1 -0
  488. package/script/methods/mahalanobis.js +98 -0
  489. package/script/methods/neighbors.d.ts +9 -0
  490. package/script/methods/neighbors.d.ts.map +1 -0
  491. package/script/methods/neighbors.js +120 -0
  492. package/script/methods/normalizeVector.d.ts +5 -0
  493. package/script/methods/normalizeVector.d.ts.map +1 -0
  494. package/script/methods/normalizeVector.js +138 -0
  495. package/script/methods/paths.d.ts +12 -0
  496. package/script/methods/paths.d.ts.map +1 -0
  497. package/script/methods/paths.js +326 -0
  498. package/script/methods/reachable.d.ts +11 -0
  499. package/script/methods/reachable.d.ts.map +1 -0
  500. package/script/methods/reachable.js +170 -0
  501. package/script/methods/rowToVector.d.ts +5 -0
  502. package/script/methods/rowToVector.d.ts.map +1 -0
  503. package/script/methods/rowToVector.js +83 -0
  504. package/script/methods/shortestPath.d.ts +12 -0
  505. package/script/methods/shortestPath.d.ts.map +1 -0
  506. package/script/methods/shortestPath.js +376 -0
  507. package/script/methods/topologicalSort.d.ts +7 -0
  508. package/script/methods/topologicalSort.d.ts.map +1 -0
  509. package/script/methods/topologicalSort.js +170 -0
  510. package/script/methods/umap.d.ts +5 -0
  511. package/script/methods/umap.d.ts.map +1 -0
  512. package/script/methods/umap.js +162 -0
  513. package/script/methods/updateWithJS.js +9 -21
@@ -34,12 +34,6 @@ export default class SDAError extends Error {
34
34
  /**
35
35
  * Creates an error that preserves the failing query and its original cause.
36
36
  *
37
- * @param options - Details of the failed query.
38
- * @param options.method - The SDA method that triggered the query, or `null`.
39
- * @param options.parameters - The method's arguments, or `null`.
40
- * @param options.query - The SQL statement that failed.
41
- * @param options.cause - The original error thrown while executing the query.
42
- *
43
37
  * @example
44
38
  * ```ts
45
39
  * const error = new SDAError({
@@ -50,6 +44,12 @@ export default class SDAError extends Error {
50
44
  * });
51
45
  * console.log(error.method, error.cause);
52
46
  * ```
47
+ *
48
+ * @param options - Details of the failed query.
49
+ * @param options.method - The SDA method that triggered the query, or `null`.
50
+ * @param options.parameters - The method's arguments, or `null`.
51
+ * @param options.query - The SQL statement that failed.
52
+ * @param options.cause - The original error thrown while executing the query.
53
53
  */
54
54
  constructor(options: {
55
55
  method: string | null;
@@ -20,12 +20,6 @@ export default class SDAError extends Error {
20
20
  /**
21
21
  * Creates an error that preserves the failing query and its original cause.
22
22
  *
23
- * @param options - Details of the failed query.
24
- * @param options.method - The SDA method that triggered the query, or `null`.
25
- * @param options.parameters - The method's arguments, or `null`.
26
- * @param options.query - The SQL statement that failed.
27
- * @param options.cause - The original error thrown while executing the query.
28
- *
29
23
  * @example
30
24
  * ```ts
31
25
  * const error = new SDAError({
@@ -36,6 +30,12 @@ export default class SDAError extends Error {
36
30
  * });
37
31
  * console.log(error.method, error.cause);
38
32
  * ```
33
+ *
34
+ * @param options - Details of the failed query.
35
+ * @param options.method - The SDA method that triggered the query, or `null`.
36
+ * @param options.parameters - The method's arguments, or `null`.
37
+ * @param options.query - The SQL statement that failed.
38
+ * @param options.cause - The original error thrown while executing the query.
39
39
  */
40
40
  constructor(options) {
41
41
  let causeMessage = options.cause instanceof Error
@@ -48,6 +48,15 @@ export default class Simple {
48
48
  * execution while forwarding every argument. To run custom SQL, use
49
49
  * `SimpleDB.customQuery()` instead.
50
50
  *
51
+ * @example
52
+ * ```ts
53
+ * const original = table.runQuery;
54
+ * table.runQuery = (query, connection, returnData, options) => {
55
+ * console.log(query);
56
+ * return original(query, connection, returnData, options);
57
+ * };
58
+ * ```
59
+ *
51
60
  * @param query - The exact SQL statement to execute.
52
61
  * @param connection - The DuckDB connection that executes the statement.
53
62
  * @param returnData - Whether to convert and return result rows.
@@ -59,15 +68,6 @@ export default class Simple {
59
68
  * @param options.logSQL - Whether to log the SQL immediately before execution.
60
69
  * @param options.explainSQL - Whether to log a supported DuckDB query plan before execution.
61
70
  * @returns The converted rows when requested, otherwise `null`.
62
- *
63
- * @example
64
- * ```ts
65
- * const original = table.runQuery;
66
- * table.runQuery = (query, connection, returnData, options) => {
67
- * console.log(query);
68
- * return original(query, connection, returnData, options);
69
- * };
70
- * ```
71
71
  */
72
72
  runQuery: (query: string, connection: DuckDBConnection, returnData: boolean, options: {
73
73
  method: string | null;
@@ -78,6 +78,15 @@ export default class Simple {
78
78
  * execution while forwarding every argument. To run custom SQL, use
79
79
  * `SimpleDB.customQuery()` instead.
80
80
  *
81
+ * @example
82
+ * ```ts
83
+ * const original = table.runQuery;
84
+ * table.runQuery = (query, connection, returnData, options) => {
85
+ * console.log(query);
86
+ * return original(query, connection, returnData, options);
87
+ * };
88
+ * ```
89
+ *
81
90
  * @param query - The exact SQL statement to execute.
82
91
  * @param connection - The DuckDB connection that executes the statement.
83
92
  * @param returnData - Whether to convert and return result rows.
@@ -89,15 +98,6 @@ export default class Simple {
89
98
  * @param options.logSQL - Whether to log the SQL immediately before execution.
90
99
  * @param options.explainSQL - Whether to log a supported DuckDB query plan before execution.
91
100
  * @returns The converted rows when requested, otherwise `null`.
92
- *
93
- * @example
94
- * ```ts
95
- * const original = table.runQuery;
96
- * table.runQuery = (query, connection, returnData, options) => {
97
- * console.log(query);
98
- * return original(query, connection, returnData, options);
99
- * };
100
- * ```
101
101
  */
102
102
  Object.defineProperty(this, "runQuery", {
103
103
  enumerable: true,
@@ -47,8 +47,6 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
47
47
  * `"sql"` passes SQL through unchanged, including `||` and null comparisons.
48
48
  * Choose the syntax when constructing the database; it applies to all tables.
49
49
  *
50
- * @defaultValue `"js"`
51
- * @category Properties
52
50
  * @example
53
51
  * ```ts
54
52
  * const sdb = new SimpleDB({ expressionSyntax: "js" }); // The default mode
@@ -101,28 +99,33 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
101
99
  * await sdb.newTable().loadArray([{ active: true, age: 18, admin: false }])
102
100
  * .filter("(active AND age >= 18) OR admin").log();
103
101
  * ```
102
+ *
103
+ * @defaultValue `"js"`
104
+ * @category Properties
104
105
  */
105
106
  readonly expressionSyntax: "js" | "sql";
106
107
  /**
107
108
  * Whether to log each SQL statement immediately before execution.
108
109
  *
109
- * @defaultValue `false`
110
- * @category Properties
111
110
  * @example
112
111
  * ```ts
113
112
  * const sdb = new SimpleDB({ logSQL: true });
114
113
  * ```
114
+ *
115
+ * @defaultValue `false`
116
+ * @category Properties
115
117
  */
116
118
  logSQL: boolean;
117
119
  /**
118
120
  * Whether to log DuckDB query plans before supported statements execute.
119
121
  *
120
- * @defaultValue `false`
121
- * @category Properties
122
122
  * @example
123
123
  * ```ts
124
124
  * const sdb = new SimpleDB({ explainSQL: true });
125
125
  * ```
126
+ *
127
+ * @defaultValue `false`
128
+ * @category Properties
126
129
  */
127
130
  explainSQL: boolean;
128
131
  /**
@@ -263,8 +266,6 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
263
266
  * Whether the persistent DuckDB file is opened read-only. Requires an existing
264
267
  * file and cannot be combined with `overwrite`. DuckDB rejects writes to it.
265
268
  *
266
- * @defaultValue `false`
267
- * @category Properties
268
269
  * @example
269
270
  * ```ts
270
271
  * const sdb = new SimpleDB({ file: "./archive.duckdb", readOnly: true });
@@ -272,6 +273,9 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
272
273
  * await table.log();
273
274
  * await sdb.close();
274
275
  * ```
276
+ *
277
+ * @defaultValue `false`
278
+ * @category Properties
275
279
  */
276
280
  readOnly: boolean;
277
281
  /**
@@ -280,9 +284,6 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
280
284
  * methods (e.g., `newTable()`, `clone()`) return instances of your
281
285
  * custom table class.
282
286
  *
283
- * @defaultValue `SimpleTable`
284
- * @category Properties
285
- *
286
287
  * @example
287
288
  * ```ts
288
289
  * class MyTable extends SimpleTable {
@@ -300,6 +301,9 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
300
301
  * const table = db.newTable("myTable");
301
302
  * console.log(table.customMethod()); // "hello"
302
303
  * ```
304
+ *
305
+ * @defaultValue `SimpleTable`
306
+ * @category Properties
303
307
  */
304
308
  tableClass: new (name: string, sdb: SimpleDB, options?: {
305
309
  rowsToLog?: number;
@@ -316,6 +320,14 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
316
320
  * `__sda` schema is reserved for versioned SDA metadata. SQLite files can be
317
321
  * imported with `loadDB()` but cannot be used as the persistent database.
318
322
  *
323
+ * @example
324
+ * ```ts
325
+ * const sdb = new SimpleDB({
326
+ * logSQL: true,
327
+ * explainSQL: true,
328
+ * });
329
+ * ```
330
+ *
319
331
  * @param options - Configuration options for the SimpleDB instance.
320
332
  * @param options.file - A `.db` or `.duckdb` file to open or create. Defaults to an in-memory database.
321
333
  * @param options.overwrite - If true, replaces an existing file on first use. Defaults to false, which opens the existing file.
@@ -333,14 +345,6 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
333
345
  * @param options.memoryLimit - The maximum amount of memory DuckDB is allowed to use (e.g., `'4GB'`). Defaults to 80% of system RAM.
334
346
  * @param options.tempDir - The path to the directory used for temporary files when data exceeds the memory limit (e.g., `'/tmp/duckdb_swap'`). Defaults to `.tmp` for in-memory databases or `<file>.tmp` for file-based databases. Automatically removed when calling `close()`.
335
347
  * @category Constructor
336
- *
337
- * @example
338
- * ```ts
339
- * const sdb = new SimpleDB({
340
- * logSQL: true,
341
- * explainSQL: true,
342
- * });
343
- * ```
344
348
  */
345
349
  constructor(options?: {
346
350
  file?: string;
@@ -371,10 +375,6 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
371
375
  * Creates a new SimpleTable instance within the database.
372
376
  * The name must be unique among registered tables, ignoring ASCII letter case.
373
377
  *
374
- * @param name - The name of the new table. If not provided, a default name is generated (e.g., "table1").
375
- * @returns A new table instance.
376
- * @category Table Management
377
- *
378
378
  * @example
379
379
  * ```ts
380
380
  * // Create a table with a default name (e.g., "table1", "table2", etc.)
@@ -392,30 +392,30 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
392
392
  * .loadData("employees.csv")
393
393
  * .log();
394
394
  * ```
395
+ *
396
+ * @param name - The name of the new table. If not provided, a default name is generated (e.g., "table1").
397
+ * @returns A new table instance.
398
+ * @category Table Management
395
399
  */
396
400
  newTable(name?: string): Table;
397
401
  /**
398
402
  * Retrieves an existing SimpleTable instance from the database.
399
403
  *
400
- * @param name - The name of the table to retrieve.
401
- * @returns A promise that resolves to the SimpleTable instance if found.
402
- * @category Table Management
403
- *
404
404
  * @example
405
405
  * ```ts
406
406
  * // Retrieve the "employees" table
407
407
  * const employees = await sdb.getTable("employees");
408
408
  * await employees.log();
409
409
  * ```
410
+ *
411
+ * @param name - The name of the table to retrieve.
412
+ * @returns A promise that resolves to the SimpleTable instance if found.
413
+ * @category Table Management
410
414
  */
411
415
  getTable(name: string): Promise<Table>;
412
416
  /**
413
417
  * Removes one or more tables from the database.
414
418
  *
415
- * @param tables - A single table or an array of tables to remove, specified by name or as SimpleTable instances. Pass `"all"` to remove all tables.
416
- * @returns A promise that resolves to the database, so methods can be chained.
417
- * @category Table Management
418
- *
419
419
  * @example
420
420
  * ```ts
421
421
  * // Remove a single table by name
@@ -441,15 +441,15 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
441
441
  * // Remove all tables
442
442
  * await sdb.removeTables("all");
443
443
  * ```
444
+ *
445
+ * @param tables - A single table or an array of tables to remove, specified by name or as SimpleTable instances. Pass `"all"` to remove all tables.
446
+ * @returns A promise that resolves to the database, so methods can be chained.
447
+ * @category Table Management
444
448
  */
445
449
  removeTables(tables: Table | string | (Table | string)[]): Promise<this>;
446
450
  /**
447
451
  * Selects one or more tables to keep in the database, removing all others.
448
452
  *
449
- * @param tables - A single table or an array of tables to select, specified by name or as SimpleTable instances.
450
- * @returns A promise that resolves to the database, so methods can be chained.
451
- * @category Table Management
452
- *
453
453
  * @example
454
454
  * ```ts
455
455
  * // Select a single table by name, removing all other tables
@@ -469,34 +469,38 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
469
469
  * // ... load data ...
470
470
  * await sdb.selectTables(employeesTable);
471
471
  * ```
472
+ *
473
+ * @param tables - A single table or an array of tables to select, specified by name or as SimpleTable instances.
474
+ * @returns A promise that resolves to the database, so methods can be chained.
475
+ * @category Table Management
472
476
  */
473
477
  selectTables(tables: Table | string | (Table | string)[]): Promise<this>;
474
478
  /**
475
479
  * Returns an array of all table names in the database, sorted alphabetically.
476
480
  *
477
- * @returns A promise that resolves to an array of table names.
478
- * @category Table Management
479
- *
480
481
  * @example
481
482
  * ```ts
482
483
  * // Get all table names
483
484
  * const tableNames = await sdb.getTableNames();
484
485
  * console.log(tableNames); // Output: ["employees", "customers"]
485
486
  * ```
487
+ *
488
+ * @returns A promise that resolves to an array of table names.
489
+ * @category Table Management
486
490
  */
487
491
  getTableNames(): Promise<string[]>;
488
492
  /**
489
493
  * Logs the names of all tables in the database to the console, sorted alphabetically.
490
494
  *
491
- * @returns A promise that resolves to the database, so methods can be chained.
492
- * @category Table Management
493
- *
494
495
  * @example
495
496
  * ```ts
496
497
  * // Log all table names to the console
497
498
  * await sdb.logTableNames();
498
499
  * // Example output: SimpleDB - Tables: ["employees","customers"]
499
500
  * ```
501
+ *
502
+ * @returns A promise that resolves to the database, so methods can be chained.
503
+ * @category Table Management
500
504
  */
501
505
  logTableNames(): Promise<this>;
502
506
  /**
@@ -505,23 +509,19 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
505
509
  * The returned array is a snapshot and cannot mutate the database's internal
506
510
  * table registry.
507
511
  *
508
- * @returns A read-only array of SimpleTable instances.
509
- * @category Table Management
510
- *
511
512
  * @example
512
513
  * ```ts
513
514
  * // Get all SimpleTable instances
514
515
  * const tables = sdb.getTables();
515
516
  * ```
517
+ *
518
+ * @returns A read-only array of SimpleTable instances.
519
+ * @category Table Management
516
520
  */
517
521
  getTables(): readonly Table[];
518
522
  /**
519
523
  * Checks if a table exists in the database.
520
524
  *
521
- * @param table - The name of the table or a SimpleTable instance.
522
- * @returns A promise that resolves to `true` if the table exists, `false` otherwise.
523
- * @category Table Management
524
- *
525
525
  * @example
526
526
  * ```ts
527
527
  * // Check if a table named "employees" exists
@@ -536,20 +536,24 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
536
536
  * const existsInstance = await sdb.hasTable(myTable);
537
537
  * console.log(existsInstance); // Output: true or false
538
538
  * ```
539
+ *
540
+ * @param table - The name of the table or a SimpleTable instance.
541
+ * @returns A promise that resolves to `true` if the table exists, `false` otherwise.
542
+ * @category Table Management
539
543
  */
540
544
  hasTable(table: Table | string): Promise<boolean>;
541
545
  /**
542
546
  * Returns a list of installed DuckDB extensions.
543
547
  *
544
- * @returns A promise that resolves to an array of objects, each representing an installed extension.
545
- * @category DuckDB
546
- *
547
548
  * @example
548
549
  * ```ts
549
550
  * // Get a list of all installed extensions
550
551
  * const extensions = await sdb.getExtensions();
551
552
  * console.log(extensions); // Output: [{ extension_name: "spatial", loaded: true, ... }]
552
553
  * ```
554
+ *
555
+ * @returns A promise that resolves to an array of objects, each representing an installed extension.
556
+ * @category DuckDB
553
557
  */
554
558
  getExtensions(): Promise<{
555
559
  [key: string]: unknown;
@@ -566,13 +570,6 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
566
570
  * identifies the custom query's dependencies in the cache's `options.inputs`
567
571
  * (such as a table content hash), or use tracked `SimpleTable` methods.
568
572
  *
569
- * @param query - The SQL query string to execute.
570
- * @param options - Configuration options for the query.
571
- * @param options.returnData - If `true`, the query result is returned. Defaults to `false`.
572
- * @param options.table - The name of the table associated with the query, primarily used for debugging and logging.
573
- * @returns A promise that resolves to the query result as an array of objects if `returnData` is `true`, otherwise `null`.
574
- * @category DuckDB
575
- *
576
573
  * @example
577
574
  * ```ts
578
575
  * // Execute a query without returning data
@@ -588,6 +585,13 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
588
585
  * );
589
586
  * console.log(youngEmployees);
590
587
  * ```
588
+ *
589
+ * @param query - The SQL query string to execute.
590
+ * @param options - Configuration options for the query.
591
+ * @param options.returnData - If `true`, the query result is returned. Defaults to `false`.
592
+ * @param options.table - The name of the table associated with the query, primarily used for debugging and logging.
593
+ * @returns A promise that resolves to the query result as an array of objects if `returnData` is `true`, otherwise `null`.
594
+ * @category DuckDB
591
595
  */
592
596
  customQuery(query: string, options?: {
593
597
  returnData?: boolean;
@@ -607,10 +611,6 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
607
611
  * for SDA metadata.
608
612
  * To edit an existing DuckDB file in place, use `new SimpleDB({ file })`.
609
613
  *
610
- * @param file - The relative or absolute path to the database file.
611
- * @returns A promise that resolves to the database, so methods can be chained.
612
- * @category File Operations
613
- *
614
614
  * @example
615
615
  * ```ts
616
616
  * // Load a DuckDB database file
@@ -630,6 +630,10 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
630
630
  * await sdb.loadDB("./archive.db");
631
631
  * await sdb.close();
632
632
  * ```
633
+ *
634
+ * @param file - The relative or absolute path to the database file.
635
+ * @returns A promise that resolves to the database, so methods can be chained.
636
+ * @category File Operations
633
637
  */
634
638
  loadDB(file: string): Promise<this>;
635
639
  /**
@@ -647,13 +651,6 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
647
651
  * is published only after its connection is detached. Database files attached
648
652
  * to this instance, directories, and symbolic links cannot be replaced.
649
653
  *
650
- * @param file - The relative or absolute path to the output file.
651
- * @param options - Configuration options for writing the database.
652
- * @param options.overwrite - If true, permits atomic replacement of an existing output file. Defaults to false.
653
- * @param options.metadata - If false, omits logical SDA index definitions from DuckDB exports. Defaults to true. Does not control physical indexes; SQLite exports never include SDA metadata.
654
- * @returns A promise that resolves to the database, so methods can be chained.
655
- * @category File Operations
656
- *
657
654
  * @example
658
655
  * ```ts
659
656
  * // Write the current database to a DuckDB file
@@ -671,6 +668,13 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
671
668
  * // Export table data for use with SQLite
672
669
  * await sdb.writeDB("./my_exported_database.sqlite");
673
670
  * ```
671
+ *
672
+ * @param file - The relative or absolute path to the output file.
673
+ * @param options - Configuration options for writing the database.
674
+ * @param options.overwrite - If true, permits atomic replacement of an existing output file. Defaults to false.
675
+ * @param options.metadata - If false, omits logical SDA index definitions from DuckDB exports. Defaults to true. Does not control physical indexes; SQLite exports never include SDA metadata.
676
+ * @returns A promise that resolves to the database, so methods can be chained.
677
+ * @category File Operations
674
678
  */
675
679
  writeDB(file: string, options?: {
676
680
  overwrite?: boolean;
@@ -688,9 +692,6 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
688
692
  * different tables execute exactly in the order they were queued. This is
689
693
  * the database-level counterpart to `SimpleTable.run()`.
690
694
  *
691
- * @returns A promise that resolves to the SimpleDB instance once the queued methods have been executed.
692
- * @category Lifecycle
693
- *
694
695
  * @example
695
696
  * ```ts
696
697
  * // Nothing is observed after the mutations, so run() executes them.
@@ -698,6 +699,9 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
698
699
  * table2.loadData("data2.csv").filter(`price > 0`);
699
700
  * await sdb.run();
700
701
  * ```
702
+ *
703
+ * @returns A promise that resolves to the SimpleDB instance once the queued methods have been executed.
704
+ * @category Lifecycle
701
705
  */
702
706
  run(): Promise<SimpleDB>;
703
707
  /**
@@ -705,16 +709,16 @@ export default class SimpleDB<Table extends SimpleTable = SimpleTable> extends S
705
709
  * databases, and closes the connection and instance. Also cleans up temporary
706
710
  * files and the cache. Does not copy, compact, or replace the database file.
707
711
  *
708
- * @returns A promise that resolves to the SimpleDB instance after cleanup.
709
- * @throws An error after cleanup when pending execution or cleanup fails.
710
- * @category Lifecycle
711
- *
712
712
  * @example
713
713
  * ```ts
714
714
  * // close() executes queued transformations before cleaning up resources.
715
715
  * table.loadData("data.csv").convert({ price: "number" });
716
716
  * await sdb.close();
717
717
  * ```
718
+ *
719
+ * @returns A promise that resolves to the SimpleDB instance after cleanup.
720
+ * @throws An error after cleanup when pending execution or cleanup fails.
721
+ * @category Lifecycle
718
722
  */
719
723
  close(): Promise<SimpleDB>;
720
724
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleDB.d.ts","sourceRoot":"","sources":["../../src/class/SimpleDB.ts"],"names":[],"mappings":"AAGA,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAG3C,OAAO,MAAM,MAAM,aAAa,CAAC;AA6BjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,MAAM,CAAC,OAAO,OAAO,QAAQ,CAAC,KAAK,SAAS,WAAW,GAAG,WAAW,CACnE,SAAQ,MAAM;;IACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,IAAI,GAAG,KAAK,CAAC;IACxC;;;;;;;;;OASG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;;;;;;OASG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B;;;;;OAKG;IACH,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;;;;OAKG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;;OAKG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;;;OAMG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,cAAc,EA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