@budibase/server 1.0.210 → 1.0.212-alpha.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 (232) hide show
  1. package/builder/assets/index.0da107e0.js +1312 -0
  2. package/builder/assets/index.c6912819.css +6 -0
  3. package/builder/index.html +2 -2
  4. package/coverage/clover.xml +245 -218
  5. package/coverage/coverage-final.json +8 -8
  6. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/backup.js.html +9 -6
  10. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/dev.js.html +111 -12
  14. package/coverage/lcov-report/api/controllers/index.html +21 -21
  15. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/external.js.html +47 -17
  25. package/coverage/lcov-report/api/controllers/row/index.html +22 -22
  26. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/utils.js.html +17 -8
  30. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  35. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  40. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  44. package/coverage/lcov-report/api/index.html +1 -1
  45. package/coverage/lcov-report/api/index.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/dev.js.html +5 -2
  56. package/coverage/lcov-report/api/routes/index.html +1 -1
  57. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  71. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  74. package/coverage/lcov-report/automations/actions.js.html +1 -1
  75. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  76. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  77. package/coverage/lcov-report/automations/index.html +5 -5
  78. package/coverage/lcov-report/automations/index.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/index.html +1 -1
  86. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggers.js.html +4 -4
  105. package/coverage/lcov-report/constants/index.html +1 -1
  106. package/coverage/lcov-report/constants/index.js.html +1 -1
  107. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  108. package/coverage/lcov-report/constants/screens.js.html +1 -1
  109. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  110. package/coverage/lcov-report/db/index.html +10 -10
  111. package/coverage/lcov-report/db/index.js.html +1 -1
  112. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  113. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  114. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  115. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  116. package/coverage/lcov-report/db/newid.js.html +1 -1
  117. package/coverage/lcov-report/db/utils.js.html +9 -6
  118. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  119. package/coverage/lcov-report/events/index.html +1 -1
  120. package/coverage/lcov-report/events/index.js.html +1 -1
  121. package/coverage/lcov-report/events/utils.js.html +1 -1
  122. package/coverage/lcov-report/index.html +42 -42
  123. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  124. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  125. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  126. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  127. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  128. package/coverage/lcov-report/middleware/index.html +1 -1
  129. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  130. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  131. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  132. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  133. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  134. package/coverage/lcov-report/threads/automation.js.html +1 -1
  135. package/coverage/lcov-report/threads/index.html +1 -1
  136. package/coverage/lcov-report/threads/query.js.html +1 -1
  137. package/coverage/lcov-report/threads/utils.js.html +1 -1
  138. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  139. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  140. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  141. package/coverage/lcov-report/utilities/global.js.html +1 -1
  142. package/coverage/lcov-report/utilities/index.html +15 -15
  143. package/coverage/lcov-report/utilities/index.js.html +27 -9
  144. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  145. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  146. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  147. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  148. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  149. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  150. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  151. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  152. package/coverage/lcov-report/utilities/security.js.html +1 -1
  153. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  154. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  155. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  156. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  157. package/coverage/lcov-report/utilities/users.js.html +1 -1
  158. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  159. package/coverage/lcov.info +419 -374
  160. package/dist/api/controllers/application.js +1 -1
  161. package/dist/api/controllers/backup.js +3 -2
  162. package/dist/api/controllers/dev.js +25 -2
  163. package/dist/api/controllers/row/external.js +19 -7
  164. package/dist/api/controllers/row/utils.js +3 -0
  165. package/dist/api/controllers/static/index.js +31 -2
  166. package/dist/api/routes/dev.js +2 -1
  167. package/dist/api/routes/static.js +1 -0
  168. package/dist/automations/triggers.js +1 -1
  169. package/dist/db/utils.js +1 -0
  170. package/dist/definitions/datasource.js +1 -0
  171. package/dist/integrations/airtable.js +1 -0
  172. package/dist/integrations/arangodb.js +1 -0
  173. package/dist/integrations/base/sql.js +20 -3
  174. package/dist/integrations/couchdb.js +1 -0
  175. package/dist/integrations/dynamodb.js +1 -0
  176. package/dist/integrations/elasticsearch.js +1 -0
  177. package/dist/integrations/firebase.js +1 -0
  178. package/dist/integrations/googlesheets.js +1 -0
  179. package/dist/integrations/index.js +4 -0
  180. package/dist/integrations/microsoftSqlServer.js +2 -1
  181. package/dist/integrations/mongodb.js +1 -0
  182. package/dist/integrations/mysql.js +2 -1
  183. package/dist/integrations/oracle.js +1 -0
  184. package/dist/integrations/postgres.js +2 -1
  185. package/dist/integrations/redis.js +1 -0
  186. package/dist/integrations/rest.js +1 -0
  187. package/dist/integrations/s3.js +1 -0
  188. package/dist/integrations/snowflake.js +102 -0
  189. package/dist/package.json +7 -6
  190. package/dist/tsconfig.build.tsbuildinfo +1 -1
  191. package/dist/utilities/fileSystem/index.js +16 -6
  192. package/dist/utilities/fileSystem/utilities.js +2 -1
  193. package/dist/utilities/index.js +5 -1
  194. package/package.json +8 -7
  195. package/scripts/integrations/oracle/instantclient/linux/arm64/basiclite-19.10.zip +0 -0
  196. package/scripts/integrations/oracle/instantclient/linux/arm64/install.sh +23 -0
  197. package/scripts/integrations/oracle/instantclient/linux/install.sh +10 -0
  198. package/src/api/controllers/application.ts +5 -1
  199. package/src/api/controllers/backup.js +3 -2
  200. package/src/api/controllers/dev.js +35 -2
  201. package/src/api/controllers/row/external.js +19 -9
  202. package/src/api/controllers/row/utils.js +3 -0
  203. package/src/api/controllers/static/index.js +41 -2
  204. package/src/api/routes/dev.js +1 -0
  205. package/src/api/routes/static.ts +1 -0
  206. package/src/automations/triggers.js +1 -1
  207. package/src/db/utils.js +1 -0
  208. package/src/definitions/common.ts +1 -0
  209. package/src/definitions/datasource.ts +2 -0
  210. package/src/integrations/airtable.ts +1 -0
  211. package/src/integrations/arangodb.ts +1 -0
  212. package/src/integrations/base/sql.ts +25 -11
  213. package/src/integrations/couchdb.ts +1 -0
  214. package/src/integrations/dynamodb.ts +1 -0
  215. package/src/integrations/elasticsearch.ts +1 -0
  216. package/src/integrations/firebase.ts +1 -0
  217. package/src/integrations/googlesheets.ts +1 -0
  218. package/src/integrations/index.ts +4 -0
  219. package/src/integrations/microsoftSqlServer.ts +2 -0
  220. package/src/integrations/mongodb.ts +1 -0
  221. package/src/integrations/mysql.ts +2 -0
  222. package/src/integrations/oracle.ts +1 -0
  223. package/src/integrations/postgres.ts +2 -0
  224. package/src/integrations/redis.ts +1 -0
  225. package/src/integrations/rest.ts +1 -0
  226. package/src/integrations/s3.ts +1 -0
  227. package/src/integrations/snowflake.ts +99 -0
  228. package/src/utilities/fileSystem/index.js +22 -8
  229. package/src/utilities/fileSystem/utilities.js +2 -0
  230. package/src/utilities/index.js +7 -1
  231. package/builder/assets/index.24307ca0.css +0 -6
  232. package/builder/assets/index.f0f59118.js +0 -1315
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1656003454690" clover="3.2.0">
3
- <project timestamp="1656003454690" name="All files">
4
- <metrics statements="4281" coveredstatements="3126" conditionals="1775" coveredconditionals="950" methods="623" coveredmethods="446" elements="6679" coveredelements="4522" complexity="0" loc="4281" ncloc="4281" packages="23" files="129" classes="129"/>
2
+ <coverage generated="1656419037941" clover="3.2.0">
3
+ <project timestamp="1656419037941" name="All files">
4
+ <metrics statements="4308" coveredstatements="3129" conditionals="1789" coveredconditionals="951" methods="625" coveredmethods="446" elements="6722" coveredelements="4526" complexity="0" loc="4308" ncloc="4308" packages="23" files="129" classes="129"/>
5
5
  <package name="api">
6
6
  <metrics statements="34" coveredstatements="34" conditionals="3" coveredconditionals="1" methods="4" coveredmethods="4"/>
7
7
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
@@ -43,7 +43,7 @@
43
43
  </file>
44
44
  </package>
45
45
  <package name="api.controllers">
46
- <metrics statements="949" coveredstatements="693" conditionals="282" coveredconditionals="136" methods="136" coveredmethods="94"/>
46
+ <metrics statements="965" coveredstatements="695" conditionals="284" coveredconditionals="136" methods="138" coveredmethods="94"/>
47
47
  <file name="apikeys.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/apikeys.js">
48
48
  <metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
49
49
  <line num="1" count="27" type="stmt"/>
@@ -221,7 +221,7 @@
221
221
  <line num="251" count="2" type="stmt"/>
222
222
  </file>
223
223
  <file name="backup.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/backup.js">
224
- <metrics statements="13" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
224
+ <metrics statements="14" coveredstatements="14" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
225
225
  <line num="1" count="27" type="stmt"/>
226
226
  <line num="2" count="27" type="stmt"/>
227
227
  <line num="3" count="27" type="stmt"/>
@@ -231,10 +231,11 @@
231
231
  <line num="8" count="1" type="stmt"/>
232
232
  <line num="9" count="1" type="stmt"/>
233
233
  <line num="10" count="1" type="stmt"/>
234
- <line num="12" count="1" type="stmt"/>
234
+ <line num="11" count="1" type="stmt"/>
235
235
  <line num="13" count="1" type="stmt"/>
236
236
  <line num="14" count="1" type="stmt"/>
237
237
  <line num="15" count="1" type="stmt"/>
238
+ <line num="16" count="1" type="stmt"/>
238
239
  </file>
239
240
  <file name="cloud.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/cloud.js">
240
241
  <metrics statements="54" coveredstatements="10" conditionals="23" coveredconditionals="0" methods="8" coveredmethods="0"/>
@@ -451,77 +452,92 @@
451
452
  <line num="262" count="0" type="stmt"/>
452
453
  </file>
453
454
  <file name="dev.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/dev.js">
454
- <metrics statements="70" coveredstatements="42" conditionals="17" coveredconditionals="5" methods="10" coveredmethods="5"/>
455
+ <metrics statements="85" coveredstatements="43" conditionals="19" coveredconditionals="5" methods="12" coveredmethods="5"/>
455
456
  <line num="1" count="27" type="stmt"/>
456
457
  <line num="2" count="27" type="stmt"/>
457
458
  <line num="3" count="27" type="stmt"/>
458
459
  <line num="4" count="27" type="stmt"/>
459
460
  <line num="5" count="27" type="stmt"/>
460
- <line num="6" count="27" type="stmt"/>
461
- <line num="7" count="27" type="stmt"/>
462
- <line num="8" count="27" type="stmt"/>
463
- <line num="9" count="27" type="stmt"/>
464
461
  <line num="10" count="27" type="stmt"/>
465
- <line num="13" count="0" type="stmt"/>
466
- <line num="14" count="0" type="cond" truecount="0" falsecount="2"/>
467
- <line num="15" count="0" type="stmt"/>
468
- <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
469
- <line num="29" count="0" type="stmt"/>
470
- <line num="30" count="0" type="stmt"/>
471
- <line num="32" count="0" type="stmt"/>
472
- <line num="33" count="0" type="cond" truecount="0" falsecount="2"/>
462
+ <line num="11" count="27" type="stmt"/>
463
+ <line num="12" count="27" type="stmt"/>
464
+ <line num="13" count="27" type="stmt"/>
465
+ <line num="14" count="27" type="stmt"/>
466
+ <line num="17" count="0" type="stmt"/>
467
+ <line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
468
+ <line num="19" count="0" type="stmt"/>
469
+ <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
470
+ <line num="33" count="0" type="stmt"/>
473
471
  <line num="34" count="0" type="stmt"/>
474
- <line num="37" count="0" type="stmt"/>
472
+ <line num="36" count="0" type="stmt"/>
473
+ <line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
475
474
  <line num="38" count="0" type="stmt"/>
475
+ <line num="41" count="0" type="stmt"/>
476
476
  <line num="42" count="0" type="stmt"/>
477
- <line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
478
- <line num="44" count="0" type="stmt"/>
479
477
  <line num="46" count="0" type="stmt"/>
480
- <line num="49" count="27" type="stmt"/>
481
- <line num="50" count="54" type="stmt"/>
482
- <line num="51" count="0" type="stmt"/>
483
- <line num="55" count="27" type="stmt"/>
484
- <line num="56" count="54" type="stmt"/>
485
- <line num="57" count="0" type="stmt"/>
486
- <line num="61" count="27" type="stmt"/>
487
- <line num="62" count="54" type="stmt"/>
488
- <line num="63" count="0" type="stmt"/>
489
- <line num="67" count="27" type="stmt"/>
490
- <line num="68" count="0" type="stmt"/>
491
- <line num="69" count="0" type="stmt"/>
492
- <line num="70" count="0" type="stmt"/>
478
+ <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
479
+ <line num="48" count="0" type="stmt"/>
480
+ <line num="50" count="0" type="stmt"/>
481
+ <line num="53" count="27" type="stmt"/>
482
+ <line num="54" count="54" type="stmt"/>
483
+ <line num="55" count="0" type="stmt"/>
484
+ <line num="59" count="27" type="stmt"/>
485
+ <line num="60" count="54" type="stmt"/>
486
+ <line num="61" count="0" type="stmt"/>
487
+ <line num="65" count="27" type="stmt"/>
488
+ <line num="66" count="54" type="stmt"/>
489
+ <line num="67" count="0" type="stmt"/>
490
+ <line num="71" count="27" type="stmt"/>
493
491
  <line num="72" count="0" type="stmt"/>
492
+ <line num="73" count="0" type="stmt"/>
494
493
  <line num="74" count="0" type="stmt"/>
495
- <line num="79" count="27" type="stmt"/>
496
- <line num="80" count="1" type="stmt"/>
497
- <line num="81" count="1" type="stmt"/>
494
+ <line num="76" count="0" type="stmt"/>
495
+ <line num="78" count="0" type="stmt"/>
496
+ <line num="83" count="27" type="stmt"/>
498
497
  <line num="84" count="1" type="stmt"/>
499
498
  <line num="85" count="1" type="stmt"/>
500
- <line num="86" count="1" type="stmt"/>
501
- <line num="87" count="1" type="cond" truecount="1" falsecount="1"/>
502
- <line num="88" count="0" type="stmt"/>
499
+ <line num="88" count="1" type="stmt"/>
500
+ <line num="89" count="1" type="stmt"/>
503
501
  <line num="90" count="1" type="stmt"/>
504
502
  <line num="91" count="1" type="cond" truecount="1" falsecount="1"/>
505
- <line num="95" count="0" type="stmt"/>
506
- <line num="98" count="0" type="stmt"/>
507
- <line num="101" count="1" type="stmt"/>
503
+ <line num="92" count="0" type="stmt"/>
504
+ <line num="94" count="1" type="stmt"/>
505
+ <line num="95" count="1" type="cond" truecount="1" falsecount="1"/>
506
+ <line num="99" count="0" type="stmt"/>
507
+ <line num="102" count="0" type="stmt"/>
508
508
  <line num="105" count="1" type="stmt"/>
509
- <line num="106" count="1" type="cond" truecount="1" falsecount="1"/>
510
- <line num="108" count="0" type="stmt"/>
511
- <line num="112" count="1" type="stmt"/>
512
- <line num="113" count="1" type="stmt"/>
513
- <line num="114" count="1" type="stmt"/>
514
- <line num="115" count="1" type="stmt"/>
509
+ <line num="109" count="1" type="stmt"/>
510
+ <line num="110" count="1" type="cond" truecount="1" falsecount="1"/>
511
+ <line num="112" count="0" type="stmt"/>
515
512
  <line num="116" count="1" type="stmt"/>
516
513
  <line num="117" count="1" type="stmt"/>
517
514
  <line num="118" count="1" type="stmt"/>
515
+ <line num="119" count="1" type="stmt"/>
516
+ <line num="120" count="1" type="stmt"/>
518
517
  <line num="121" count="1" type="stmt"/>
519
- <line num="123" count="0" type="stmt"/>
518
+ <line num="122" count="1" type="stmt"/>
520
519
  <line num="125" count="1" type="stmt"/>
521
- <line num="129" count="27" type="stmt"/>
522
- <line num="130" count="1" type="stmt"/>
523
- <line num="131" count="1" type="stmt"/>
520
+ <line num="127" count="0" type="stmt"/>
521
+ <line num="129" count="1" type="stmt"/>
522
+ <line num="133" count="27" type="stmt"/>
524
523
  <line num="134" count="1" type="stmt"/>
524
+ <line num="135" count="1" type="stmt"/>
525
+ <line num="138" count="1" type="stmt"/>
526
+ <line num="142" count="27" type="stmt"/>
527
+ <line num="143" count="0" type="stmt"/>
528
+ <line num="144" count="0" type="stmt"/>
529
+ <line num="145" count="0" type="stmt"/>
530
+ <line num="147" count="0" type="stmt"/>
531
+ <line num="148" count="0" type="stmt"/>
532
+ <line num="149" count="0" type="stmt"/>
533
+ <line num="155" count="0" type="stmt"/>
534
+ <line num="157" count="0" type="stmt"/>
535
+ <line num="158" count="0" type="stmt"/>
536
+ <line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
537
+ <line num="160" count="0" type="stmt"/>
538
+ <line num="161" count="0" type="stmt"/>
539
+ <line num="164" count="0" type="stmt"/>
540
+ <line num="166" count="0" type="stmt"/>
525
541
  </file>
526
542
  <file name="integration.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/integration.js">
527
543
  <metrics statements="14" coveredstatements="13" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
@@ -1070,9 +1086,9 @@
1070
1086
  </file>
1071
1087
  </package>
1072
1088
  <package name="api.controllers.row">
1073
- <metrics statements="590" coveredstatements="342" conditionals="268" coveredconditionals="96" methods="86" coveredmethods="46"/>
1089
+ <metrics statements="598" coveredstatements="342" conditionals="274" coveredconditionals="96" methods="86" coveredmethods="46"/>
1074
1090
  <file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
1075
- <metrics statements="110" coveredstatements="18" conditionals="46" coveredconditionals="0" methods="15" coveredmethods="0"/>
1091
+ <metrics statements="116" coveredstatements="18" conditionals="50" coveredconditionals="0" methods="15" coveredmethods="0"/>
1076
1092
  <line num="6" count="44" type="stmt"/>
1077
1093
  <line num="10" count="44" type="stmt"/>
1078
1094
  <line num="11" count="44" type="stmt"/>
@@ -1150,39 +1166,45 @@
1150
1166
  <line num="159" count="0" type="stmt"/>
1151
1167
  <line num="160" count="0" type="stmt"/>
1152
1168
  <line num="161" count="0" type="stmt"/>
1153
- <line num="162" count="0" type="cond" truecount="0" falsecount="4"/>
1154
- <line num="163" count="0" type="stmt"/>
1155
- <line num="165" count="0" type="stmt"/>
1169
+ <line num="162" count="0" type="stmt"/>
1170
+ <line num="163" count="0" type="cond" truecount="0" falsecount="4"/>
1171
+ <line num="164" count="0" type="stmt"/>
1156
1172
  <line num="166" count="0" type="stmt"/>
1157
- <line num="167" count="0" type="stmt"/>
1158
- <line num="171" count="0" type="stmt"/>
1159
- <line num="177" count="0" type="stmt"/>
1173
+ <line num="169" count="0" type="stmt"/>
1174
+ <line num="174" count="0" type="stmt"/>
1175
+ <line num="175" count="0" type="stmt"/>
1176
+ <line num="178" count="0" type="cond" truecount="0" falsecount="4"/>
1160
1177
  <line num="179" count="0" type="stmt"/>
1161
1178
  <line num="180" count="0" type="stmt"/>
1162
1179
  <line num="181" count="0" type="stmt"/>
1163
- <line num="184" count="0" type="stmt"/>
1164
- <line num="185" count="0" type="stmt"/>
1165
- <line num="188" count="44" type="stmt"/>
1180
+ <line num="182" count="0" type="stmt"/>
1181
+ <line num="186" count="0" type="stmt"/>
1166
1182
  <line num="189" count="0" type="stmt"/>
1167
1183
  <line num="190" count="0" type="stmt"/>
1168
1184
  <line num="191" count="0" type="stmt"/>
1169
- <line num="192" count="0" type="stmt"/>
1170
- <line num="193" count="0" type="stmt"/>
1171
- <line num="194" count="0" type="cond" truecount="0" falsecount="4"/>
1185
+ <line num="194" count="0" type="stmt"/>
1172
1186
  <line num="195" count="0" type="stmt"/>
1173
- <line num="197" count="0" type="stmt"/>
1174
- <line num="198" count="0" type="stmt"/>
1187
+ <line num="198" count="44" type="stmt"/>
1188
+ <line num="199" count="0" type="stmt"/>
1189
+ <line num="200" count="0" type="stmt"/>
1190
+ <line num="201" count="0" type="stmt"/>
1175
1191
  <line num="202" count="0" type="stmt"/>
1176
1192
  <line num="203" count="0" type="stmt"/>
1177
- <line num="206" count="0" type="stmt"/>
1178
- <line num="207" count="0" type="cond" truecount="0" falsecount="2"/>
1193
+ <line num="204" count="0" type="cond" truecount="0" falsecount="4"/>
1194
+ <line num="205" count="0" type="stmt"/>
1195
+ <line num="207" count="0" type="stmt"/>
1196
+ <line num="208" count="0" type="stmt"/>
1179
1197
  <line num="212" count="0" type="stmt"/>
1180
- <line num="214" count="0" type="stmt"/>
1181
- <line num="215" count="0" type="stmt"/>
1198
+ <line num="213" count="0" type="stmt"/>
1182
1199
  <line num="216" count="0" type="stmt"/>
1183
- <line num="218" count="0" type="stmt"/>
1184
- <line num="219" count="0" type="stmt"/>
1185
- <line num="232" count="0" type="stmt"/>
1200
+ <line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
1201
+ <line num="222" count="0" type="stmt"/>
1202
+ <line num="224" count="0" type="stmt"/>
1203
+ <line num="225" count="0" type="stmt"/>
1204
+ <line num="226" count="0" type="stmt"/>
1205
+ <line num="228" count="0" type="stmt"/>
1206
+ <line num="229" count="0" type="stmt"/>
1207
+ <line num="242" count="0" type="stmt"/>
1186
1208
  </file>
1187
1209
  <file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.js">
1188
1210
  <metrics statements="213" coveredstatements="172" conditionals="64" coveredconditionals="40" methods="26" coveredmethods="22"/>
@@ -1623,7 +1645,7 @@
1623
1645
  <line num="155" count="79" type="stmt"/>
1624
1646
  </file>
1625
1647
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
1626
- <metrics statements="51" coveredstatements="35" conditionals="32" coveredconditionals="13" methods="6" coveredmethods="4"/>
1648
+ <metrics statements="53" coveredstatements="35" conditionals="34" coveredconditionals="13" methods="6" coveredmethods="4"/>
1627
1649
  <line num="1" count="44" type="stmt"/>
1628
1650
  <line num="2" count="44" type="stmt"/>
1629
1651
  <line num="3" count="44" type="stmt"/>
@@ -1663,18 +1685,20 @@
1663
1685
  <line num="60" count="0" type="stmt"/>
1664
1686
  <line num="65" count="224" type="cond" truecount="2" falsecount="2"/>
1665
1687
  <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
1666
- <line num="67" count="0" type="stmt"/>
1667
- <line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
1668
- <line num="72" count="0" type="stmt"/>
1669
- <line num="75" count="0" type="cond" truecount="0" falsecount="4"/>
1670
- <line num="77" count="0" type="stmt"/>
1671
- <line num="79" count="224" type="cond" truecount="2" falsecount="2"/>
1672
- <line num="81" count="0" type="stmt"/>
1673
- <line num="82" count="0" type="stmt"/>
1688
+ <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
1689
+ <line num="68" count="0" type="stmt"/>
1690
+ <line num="70" count="0" type="stmt"/>
1691
+ <line num="71" count="0" type="cond" truecount="0" falsecount="2"/>
1692
+ <line num="75" count="0" type="stmt"/>
1693
+ <line num="78" count="0" type="cond" truecount="0" falsecount="4"/>
1694
+ <line num="80" count="0" type="stmt"/>
1695
+ <line num="82" count="224" type="cond" truecount="2" falsecount="2"/>
1674
1696
  <line num="84" count="0" type="stmt"/>
1675
- <line num="87" count="224" type="stmt"/>
1676
- <line num="89" count="224" type="cond" truecount="2" falsecount="0"/>
1677
- <line num="91" count="83" type="stmt"/>
1697
+ <line num="85" count="0" type="stmt"/>
1698
+ <line num="87" count="0" type="stmt"/>
1699
+ <line num="90" count="224" type="stmt"/>
1700
+ <line num="92" count="224" type="cond" truecount="2" falsecount="0"/>
1701
+ <line num="94" count="83" type="stmt"/>
1678
1702
  </file>
1679
1703
  </package>
1680
1704
  <package name="api.controllers.table">
@@ -2324,7 +2348,7 @@
2324
2348
  <line num="17" count="27" type="stmt"/>
2325
2349
  <line num="18" count="27" type="stmt"/>
2326
2350
  <line num="21" count="27" type="stmt"/>
2327
- <line num="26" count="27" type="stmt"/>
2351
+ <line num="27" count="27" type="stmt"/>
2328
2352
  </file>
2329
2353
  <file name="integration.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/routes/integration.js">
2330
2354
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -2529,7 +2553,7 @@
2529
2553
  </file>
2530
2554
  </package>
2531
2555
  <package name="automations">
2532
- <metrics statements="163" coveredstatements="128" conditionals="64" coveredconditionals="46" methods="21" coveredmethods="13"/>
2556
+ <metrics statements="163" coveredstatements="128" conditionals="66" coveredconditionals="47" methods="21" coveredmethods="13"/>
2533
2557
  <file name="actions.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/actions.js">
2534
2558
  <metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
2535
2559
  <line num="1" count="44" type="stmt"/>
@@ -2660,7 +2684,7 @@
2660
2684
  <line num="26" count="43" type="stmt"/>
2661
2685
  </file>
2662
2686
  <file name="triggers.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/triggers.js">
2663
- <metrics statements="46" coveredstatements="44" conditionals="25" coveredconditionals="21" methods="8" coveredmethods="8"/>
2687
+ <metrics statements="46" coveredstatements="44" conditionals="27" coveredconditionals="22" methods="8" coveredmethods="8"/>
2664
2688
  <line num="1" count="43" type="stmt"/>
2665
2689
  <line num="2" count="43" type="stmt"/>
2666
2690
  <line num="3" count="43" type="stmt"/>
@@ -2699,7 +2723,7 @@
2699
2723
  <line num="90" count="6" type="cond" truecount="2" falsecount="0"/>
2700
2724
  <line num="98" count="1" type="stmt"/>
2701
2725
  <line num="99" count="1" type="stmt"/>
2702
- <line num="100" count="1" type="stmt"/>
2726
+ <line num="100" count="1" type="cond" truecount="1" falsecount="1"/>
2703
2727
  <line num="101" count="1" type="stmt"/>
2704
2728
  <line num="103" count="1" type="stmt"/>
2705
2729
  <line num="105" count="6" type="stmt"/>
@@ -3058,7 +3082,7 @@
3058
3082
  </file>
3059
3083
  </package>
3060
3084
  <package name="db">
3061
- <metrics statements="140" coveredstatements="112" conditionals="58" coveredconditionals="19" methods="36" coveredmethods="27"/>
3085
+ <metrics statements="141" coveredstatements="113" conditionals="58" coveredconditionals="19" methods="36" coveredmethods="27"/>
3062
3086
  <file name="inMemoryView.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/inMemoryView.js">
3063
3087
  <metrics statements="23" coveredstatements="4" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
3064
3088
  <line num="1" count="44" type="stmt"/>
@@ -3103,7 +3127,7 @@
3103
3127
  <line num="4" count="923" type="stmt"/>
3104
3128
  </file>
3105
3129
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
3106
- <metrics statements="106" coveredstatements="97" conditionals="48" coveredconditionals="18" methods="30" coveredmethods="25"/>
3130
+ <metrics statements="107" coveredstatements="98" conditionals="48" coveredconditionals="18" methods="30" coveredmethods="25"/>
3107
3131
  <line num="1" count="57" type="stmt"/>
3108
3132
  <line num="14" count="57" type="stmt"/>
3109
3133
  <line num="16" count="57" type="stmt"/>
@@ -3130,86 +3154,87 @@
3130
3154
  <line num="84" count="57" type="stmt"/>
3131
3155
  <line num="85" count="57" type="stmt"/>
3132
3156
  <line num="86" count="57" type="stmt"/>
3133
- <line num="88" count="57" type="stmt"/>
3157
+ <line num="87" count="57" type="stmt"/>
3134
3158
  <line num="89" count="57" type="stmt"/>
3135
- <line num="91" count="57" type="stmt"/>
3136
- <line num="92" count="74" type="stmt"/>
3137
- <line num="108" count="1077" type="cond" truecount="2" falsecount="0"/>
3138
- <line num="109" count="1060" type="stmt"/>
3139
- <line num="111" count="1077" type="stmt"/>
3140
- <line num="118" count="57" type="stmt"/>
3141
- <line num="123" count="57" type="cond" truecount="0" falsecount="2"/>
3142
- <line num="124" count="267" type="stmt"/>
3143
- <line num="131" count="57" type="stmt"/>
3144
- <line num="132" count="128" type="stmt"/>
3145
- <line num="143" count="57" type="cond" truecount="0" falsecount="3"/>
3146
- <line num="144" count="41" type="cond" truecount="2" falsecount="0"/>
3147
- <line num="145" count="27" type="stmt"/>
3148
- <line num="148" count="14" type="cond" truecount="1" falsecount="1"/>
3149
- <line num="150" count="14" type="stmt"/>
3150
- <line num="158" count="57" type="stmt"/>
3151
- <line num="159" count="0" type="stmt"/>
3152
- <line num="162" count="0" type="stmt"/>
3153
- <line num="171" count="57" type="cond" truecount="1" falsecount="0"/>
3154
- <line num="172" count="309" type="cond" truecount="2" falsecount="0"/>
3155
- <line num="173" count="309" type="stmt"/>
3156
- <line num="179" count="57" type="cond" truecount="0" falsecount="2"/>
3157
- <line num="180" count="3" type="stmt"/>
3158
- <line num="188" count="57" type="stmt"/>
3159
- <line num="189" count="231" type="stmt"/>
3160
- <line num="195" count="57" type="stmt"/>
3161
- <line num="196" count="3" type="stmt"/>
3162
- <line num="197" count="3" type="cond" truecount="4" falsecount="0"/>
3163
- <line num="198" count="1" type="stmt"/>
3164
- <line num="200" count="2" type="stmt"/>
3165
- <line num="206" count="57" type="cond" truecount="0" falsecount="2"/>
3166
- <line num="207" count="261" type="stmt"/>
3167
- <line num="214" count="57" type="stmt"/>
3168
- <line num="215" count="27" type="stmt"/>
3169
- <line num="229" count="57" type="stmt"/>
3170
- <line num="237" count="9" type="stmt"/>
3159
+ <line num="90" count="57" type="stmt"/>
3160
+ <line num="92" count="57" type="stmt"/>
3161
+ <line num="93" count="74" type="stmt"/>
3162
+ <line num="109" count="1077" type="cond" truecount="2" falsecount="0"/>
3163
+ <line num="110" count="1060" type="stmt"/>
3164
+ <line num="112" count="1077" type="stmt"/>
3165
+ <line num="119" count="57" type="stmt"/>
3166
+ <line num="124" count="57" type="cond" truecount="0" falsecount="2"/>
3167
+ <line num="125" count="267" type="stmt"/>
3168
+ <line num="132" count="57" type="stmt"/>
3169
+ <line num="133" count="128" type="stmt"/>
3170
+ <line num="144" count="57" type="cond" truecount="0" falsecount="3"/>
3171
+ <line num="145" count="41" type="cond" truecount="2" falsecount="0"/>
3172
+ <line num="146" count="27" type="stmt"/>
3173
+ <line num="149" count="14" type="cond" truecount="1" falsecount="1"/>
3174
+ <line num="151" count="14" type="stmt"/>
3175
+ <line num="159" count="57" type="stmt"/>
3176
+ <line num="160" count="0" type="stmt"/>
3177
+ <line num="163" count="0" type="stmt"/>
3178
+ <line num="172" count="57" type="cond" truecount="1" falsecount="0"/>
3179
+ <line num="173" count="309" type="cond" truecount="2" falsecount="0"/>
3180
+ <line num="174" count="309" type="stmt"/>
3181
+ <line num="180" count="57" type="cond" truecount="0" falsecount="2"/>
3182
+ <line num="181" count="3" type="stmt"/>
3183
+ <line num="189" count="57" type="stmt"/>
3184
+ <line num="190" count="231" type="stmt"/>
3185
+ <line num="196" count="57" type="stmt"/>
3186
+ <line num="197" count="3" type="stmt"/>
3187
+ <line num="198" count="3" type="cond" truecount="4" falsecount="0"/>
3188
+ <line num="199" count="1" type="stmt"/>
3189
+ <line num="201" count="2" type="stmt"/>
3190
+ <line num="207" count="57" type="cond" truecount="0" falsecount="2"/>
3191
+ <line num="208" count="261" type="stmt"/>
3192
+ <line num="215" count="57" type="stmt"/>
3193
+ <line num="216" count="27" type="stmt"/>
3194
+ <line num="230" count="57" type="stmt"/>
3171
3195
  <line num="238" count="9" type="stmt"/>
3172
3196
  <line num="239" count="9" type="stmt"/>
3173
3197
  <line num="240" count="9" type="stmt"/>
3174
- <line num="246" count="57" type="cond" truecount="0" falsecount="1"/>
3175
- <line num="247" count="0" type="stmt"/>
3176
- <line num="254" count="57" type="stmt"/>
3177
- <line num="255" count="6" type="cond" truecount="2" falsecount="0"/>
3178
- <line num="261" count="57" type="cond" truecount="0" falsecount="2"/>
3179
- <line num="262" count="247" type="stmt"/>
3180
- <line num="269" count="57" type="stmt"/>
3181
- <line num="270" count="23" type="stmt"/>
3182
- <line num="276" count="57" type="cond" truecount="0" falsecount="2"/>
3183
- <line num="277" count="249" type="stmt"/>
3184
- <line num="284" count="57" type="stmt"/>
3185
- <line num="285" count="10" type="stmt"/>
3186
- <line num="291" count="57" type="cond" truecount="0" falsecount="2"/>
3187
- <line num="292" count="2" type="stmt"/>
3188
- <line num="299" count="57" type="cond" truecount="1" falsecount="1"/>
3189
- <line num="300" count="52" type="stmt"/>
3190
- <line num="308" count="57" type="cond" truecount="0" falsecount="2"/>
3191
- <line num="309" count="5" type="stmt"/>
3192
- <line num="316" count="57" type="stmt"/>
3193
- <line num="317" count="135" type="stmt"/>
3194
- <line num="325" count="57" type="cond" truecount="0" falsecount="2"/>
3195
- <line num="326" count="5" type="cond" truecount="2" falsecount="0"/>
3196
- <line num="327" count="4" type="stmt"/>
3197
- <line num="330" count="1" type="stmt"/>
3198
- <line num="341" count="57" type="stmt"/>
3199
- <line num="342" count="0" type="stmt"/>
3200
- <line num="345" count="57" type="stmt"/>
3201
- <line num="346" count="10" type="stmt"/>
3202
- <line num="349" count="57" type="cond" truecount="0" falsecount="2"/>
3203
- <line num="350" count="0" type="stmt"/>
3204
- <line num="351" count="0" type="cond" truecount="0" falsecount="2"/>
3205
- <line num="352" count="0" type="stmt"/>
3206
- <line num="354" count="0" type="stmt"/>
3207
- <line num="357" count="57" type="stmt"/>
3208
- <line num="358" count="1" type="stmt"/>
3209
- <line num="361" count="57" type="cond" truecount="0" falsecount="1"/>
3210
- <line num="362" count="0" type="stmt"/>
3211
- <line num="368" count="57" type="stmt"/>
3212
- <line num="369" count="60" type="stmt"/>
3198
+ <line num="241" count="9" type="stmt"/>
3199
+ <line num="247" count="57" type="cond" truecount="0" falsecount="1"/>
3200
+ <line num="248" count="0" type="stmt"/>
3201
+ <line num="255" count="57" type="stmt"/>
3202
+ <line num="256" count="6" type="cond" truecount="2" falsecount="0"/>
3203
+ <line num="262" count="57" type="cond" truecount="0" falsecount="2"/>
3204
+ <line num="263" count="247" type="stmt"/>
3205
+ <line num="270" count="57" type="stmt"/>
3206
+ <line num="271" count="23" type="stmt"/>
3207
+ <line num="277" count="57" type="cond" truecount="0" falsecount="2"/>
3208
+ <line num="278" count="249" type="stmt"/>
3209
+ <line num="285" count="57" type="stmt"/>
3210
+ <line num="286" count="10" type="stmt"/>
3211
+ <line num="292" count="57" type="cond" truecount="0" falsecount="2"/>
3212
+ <line num="293" count="2" type="stmt"/>
3213
+ <line num="300" count="57" type="cond" truecount="1" falsecount="1"/>
3214
+ <line num="301" count="52" type="stmt"/>
3215
+ <line num="309" count="57" type="cond" truecount="0" falsecount="2"/>
3216
+ <line num="310" count="5" type="stmt"/>
3217
+ <line num="317" count="57" type="stmt"/>
3218
+ <line num="318" count="135" type="stmt"/>
3219
+ <line num="326" count="57" type="cond" truecount="0" falsecount="2"/>
3220
+ <line num="327" count="5" type="cond" truecount="2" falsecount="0"/>
3221
+ <line num="328" count="4" type="stmt"/>
3222
+ <line num="331" count="1" type="stmt"/>
3223
+ <line num="342" count="57" type="stmt"/>
3224
+ <line num="343" count="0" type="stmt"/>
3225
+ <line num="346" count="57" type="stmt"/>
3226
+ <line num="347" count="10" type="stmt"/>
3227
+ <line num="350" count="57" type="cond" truecount="0" falsecount="2"/>
3228
+ <line num="351" count="0" type="stmt"/>
3229
+ <line num="352" count="0" type="cond" truecount="0" falsecount="2"/>
3230
+ <line num="353" count="0" type="stmt"/>
3231
+ <line num="355" count="0" type="stmt"/>
3232
+ <line num="358" count="57" type="stmt"/>
3233
+ <line num="359" count="1" type="stmt"/>
3234
+ <line num="362" count="57" type="cond" truecount="0" falsecount="1"/>
3235
+ <line num="363" count="0" type="stmt"/>
3236
+ <line num="369" count="57" type="stmt"/>
3237
+ <line num="370" count="60" type="stmt"/>
3213
3238
  </file>
3214
3239
  </package>
3215
3240
  <package name="db.linkedRows">
@@ -4097,7 +4122,7 @@
4097
4122
  </file>
4098
4123
  </package>
4099
4124
  <package name="utilities">
4100
- <metrics statements="336" coveredstatements="249" conditionals="141" coveredconditionals="85" methods="65" coveredmethods="48"/>
4125
+ <metrics statements="338" coveredstatements="249" conditionals="145" coveredconditionals="85" methods="65" coveredmethods="48"/>
4101
4126
  <file name="budibaseDir.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/budibaseDir.js">
4102
4127
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
4103
4128
  <line num="1" count="45" type="stmt"/>
@@ -4249,7 +4274,7 @@
4249
4274
  <line num="101" count="0" type="stmt"/>
4250
4275
  </file>
4251
4276
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/index.js">
4252
- <metrics statements="76" coveredstatements="62" conditionals="30" coveredconditionals="16" methods="16" coveredmethods="15"/>
4277
+ <metrics statements="78" coveredstatements="62" conditionals="34" coveredconditionals="16" methods="16" coveredmethods="15"/>
4253
4278
  <line num="1" count="47" type="stmt"/>
4254
4279
  <line num="2" count="47" type="stmt"/>
4255
4280
  <line num="3" count="47" type="stmt"/>
@@ -4273,59 +4298,61 @@
4273
4298
  <line num="43" count="0" type="stmt"/>
4274
4299
  <line num="57" count="47" type="stmt"/>
4275
4300
  <line num="58" count="245" type="cond" truecount="1" falsecount="1"/>
4276
- <line num="59" count="0" type="stmt"/>
4277
- <line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
4301
+ <line num="60" count="0" type="cond" truecount="0" falsecount="4"/>
4302
+ <line num="61" count="0" type="stmt"/>
4278
4303
  <line num="64" count="0" type="stmt"/>
4279
- <line num="66" count="0" type="stmt"/>
4280
- <line num="68" count="245" type="stmt"/>
4281
- <line num="72" count="47" type="stmt"/>
4282
- <line num="73" count="2" type="stmt"/>
4304
+ <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
4305
+ <line num="70" count="0" type="stmt"/>
4306
+ <line num="72" count="0" type="stmt"/>
4307
+ <line num="74" count="245" type="stmt"/>
4283
4308
  <line num="78" count="47" type="stmt"/>
4284
- <line num="79" count="3" type="stmt"/>
4285
- <line num="80" count="3" type="stmt"/>
4286
- <line num="83" count="3" type="stmt"/>
4287
- <line num="84" count="3" type="stmt"/>
4309
+ <line num="79" count="2" type="stmt"/>
4310
+ <line num="84" count="47" type="stmt"/>
4288
4311
  <line num="85" count="3" type="stmt"/>
4289
- <line num="86" count="0" type="stmt"/>
4290
- <line num="87" count="0" type="stmt"/>
4312
+ <line num="86" count="3" type="stmt"/>
4291
4313
  <line num="89" count="3" type="stmt"/>
4292
4314
  <line num="90" count="3" type="stmt"/>
4293
- <line num="92" count="3" type="stmt"/>
4294
- <line num="93" count="3" type="cond" truecount="1" falsecount="1"/>
4295
- <line num="94" count="0" type="stmt"/>
4315
+ <line num="91" count="3" type="stmt"/>
4316
+ <line num="92" count="0" type="stmt"/>
4317
+ <line num="93" count="0" type="stmt"/>
4318
+ <line num="95" count="3" type="stmt"/>
4296
4319
  <line num="96" count="3" type="stmt"/>
4297
- <line num="97" count="3" type="stmt"/>
4298
- <line num="104" count="47" type="stmt"/>
4299
- <line num="105" count="1" type="stmt"/>
4300
- <line num="106" count="1" type="stmt"/>
4320
+ <line num="98" count="3" type="stmt"/>
4321
+ <line num="99" count="3" type="cond" truecount="1" falsecount="1"/>
4322
+ <line num="100" count="0" type="stmt"/>
4323
+ <line num="102" count="3" type="stmt"/>
4324
+ <line num="103" count="3" type="stmt"/>
4301
4325
  <line num="110" count="47" type="stmt"/>
4302
- <line num="111" count="4" type="stmt"/>
4303
- <line num="112" count="4" type="stmt"/>
4304
- <line num="114" count="4" type="stmt"/>
4305
- <line num="115" count="4" type="stmt"/>
4306
- <line num="116" count="0" type="cond" truecount="0" falsecount="2"/>
4307
- <line num="117" count="0" type="stmt"/>
4308
- <line num="122" count="4" type="cond" truecount="3" falsecount="1"/>
4326
+ <line num="111" count="1" type="stmt"/>
4327
+ <line num="112" count="1" type="stmt"/>
4328
+ <line num="116" count="47" type="stmt"/>
4329
+ <line num="117" count="4" type="stmt"/>
4330
+ <line num="118" count="4" type="stmt"/>
4331
+ <line num="120" count="4" type="stmt"/>
4332
+ <line num="121" count="4" type="stmt"/>
4333
+ <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
4309
4334
  <line num="123" count="0" type="stmt"/>
4310
- <line num="127" count="47" type="stmt"/>
4311
- <line num="128" count="0" type="stmt"/>
4312
- <line num="137" count="47" type="stmt"/>
4313
- <line num="138" count="1" type="stmt"/>
4314
- <line num="140" count="1" type="stmt"/>
4315
- <line num="141" count="1" type="stmt"/>
4316
- <line num="146" count="47" type="stmt"/>
4317
- <line num="147" count="29" type="stmt"/>
4318
- <line num="148" count="29" type="stmt"/>
4319
- <line num="149" count="29" type="stmt"/>
4320
- <line num="150" count="29" type="cond" truecount="2" falsecount="0"/>
4321
- <line num="151" count="29" type="cond" truecount="1" falsecount="1"/>
4322
- <line num="152" count="0" type="stmt"/>
4323
- <line num="154" count="29" type="cond" truecount="3" falsecount="1"/>
4324
- <line num="157" count="47" type="stmt"/>
4325
- <line num="158" count="1" type="stmt"/>
4326
- <line num="159" count="1" type="cond" truecount="2" falsecount="2"/>
4327
- <line num="160" count="0" type="stmt"/>
4328
- <line num="162" count="1" type="stmt"/>
4335
+ <line num="128" count="4" type="cond" truecount="3" falsecount="1"/>
4336
+ <line num="129" count="0" type="stmt"/>
4337
+ <line num="133" count="47" type="stmt"/>
4338
+ <line num="134" count="0" type="stmt"/>
4339
+ <line num="143" count="47" type="stmt"/>
4340
+ <line num="144" count="1" type="stmt"/>
4341
+ <line num="146" count="1" type="stmt"/>
4342
+ <line num="147" count="1" type="stmt"/>
4343
+ <line num="152" count="47" type="stmt"/>
4344
+ <line num="153" count="29" type="stmt"/>
4345
+ <line num="154" count="29" type="stmt"/>
4346
+ <line num="155" count="29" type="stmt"/>
4347
+ <line num="156" count="29" type="cond" truecount="2" falsecount="0"/>
4348
+ <line num="157" count="29" type="cond" truecount="1" falsecount="1"/>
4349
+ <line num="158" count="0" type="stmt"/>
4350
+ <line num="160" count="29" type="cond" truecount="3" falsecount="1"/>
4351
+ <line num="163" count="47" type="stmt"/>
4352
+ <line num="164" count="1" type="stmt"/>
4353
+ <line num="165" count="1" type="cond" truecount="2" falsecount="2"/>
4354
+ <line num="166" count="0" type="stmt"/>
4355
+ <line num="168" count="1" type="stmt"/>
4329
4356
  </file>
4330
4357
  <file name="scriptRunner.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/scriptRunner.js">
4331
4358
  <metrics statements="13" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>