@budibase/server 1.0.49-alpha.0 → 1.0.49-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 (203) hide show
  1. package/builder/assets/{index.dd9e386f.css → index.ba78c49d.css} +1 -1
  2. package/builder/assets/{index.8184eed9.js → index.ed1cf508.js} +205 -204
  3. package/builder/assets/{vendor.3bd2f661.js → vendor.d526bfe8.js} +1 -1
  4. package/builder/index.html +3 -3
  5. package/coverage/clover.xml +844 -680
  6. package/coverage/coverage-final.json +12 -10
  7. package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/application.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/index.html +1 -1
  18. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  23. package/coverage/lcov-report/api/controllers/query/index.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/index.html +40 -25
  29. package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/row/internal.js.html +60 -123
  31. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +35 -11
  32. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +551 -0
  33. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +629 -0
  37. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/table/index.html +45 -30
  39. package/coverage/lcov-report/api/controllers/table/index.js.html +11 -53
  40. package/coverage/lcov-report/api/controllers/table/internal.js.html +25 -7
  41. package/coverage/lcov-report/api/controllers/table/utils.js.html +136 -16
  42. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  44. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  45. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  46. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  47. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  48. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  49. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  50. package/coverage/lcov-report/api/index.html +1 -1
  51. package/coverage/lcov-report/api/index.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/index.html +1 -1
  64. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  75. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  76. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  77. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  78. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  79. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  80. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  81. package/coverage/lcov-report/automations/actions.js.html +1 -1
  82. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  83. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  84. package/coverage/lcov-report/automations/index.html +1 -1
  85. package/coverage/lcov-report/automations/index.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/index.html +1 -1
  95. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  97. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  98. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  99. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  100. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  101. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  102. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  103. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  105. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  106. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  107. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  108. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  109. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  110. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  111. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  112. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  113. package/coverage/lcov-report/automations/utils.js.html +1 -1
  114. package/coverage/lcov-report/constants/index.html +5 -5
  115. package/coverage/lcov-report/constants/index.js.html +19 -4
  116. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  117. package/coverage/lcov-report/constants/screens.js.html +1 -1
  118. package/coverage/lcov-report/db/client.js.html +1 -1
  119. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  120. package/coverage/lcov-report/db/index.html +1 -1
  121. package/coverage/lcov-report/db/index.js.html +1 -1
  122. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  123. package/coverage/lcov-report/db/linkedRows/index.html +10 -10
  124. package/coverage/lcov-report/db/linkedRows/index.js.html +10 -13
  125. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  126. package/coverage/lcov-report/db/newid.js.html +1 -1
  127. package/coverage/lcov-report/db/utils.js.html +5 -5
  128. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  129. package/coverage/lcov-report/events/index.html +1 -1
  130. package/coverage/lcov-report/events/index.js.html +1 -1
  131. package/coverage/lcov-report/events/utils.js.html +1 -1
  132. package/coverage/lcov-report/index.html +44 -44
  133. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  134. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  135. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  136. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  137. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  138. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  139. package/coverage/lcov-report/middleware/index.html +1 -1
  140. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  141. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  142. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  143. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  144. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  145. package/coverage/lcov-report/migrations/usageQuotas/index.html +1 -1
  146. package/coverage/lcov-report/migrations/usageQuotas/index.js.html +1 -1
  147. package/coverage/lcov-report/migrations/usageQuotas/syncApps.js.html +1 -1
  148. package/coverage/lcov-report/migrations/usageQuotas/syncRows.js.html +1 -1
  149. package/coverage/lcov-report/threads/automation.js.html +1 -1
  150. package/coverage/lcov-report/threads/index.html +1 -1
  151. package/coverage/lcov-report/threads/index.js.html +1 -1
  152. package/coverage/lcov-report/threads/query.js.html +1 -1
  153. package/coverage/lcov-report/threads/utils.js.html +1 -1
  154. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  155. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  156. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  157. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  158. package/coverage/lcov-report/utilities/global.js.html +1 -1
  159. package/coverage/lcov-report/utilities/index.html +1 -1
  160. package/coverage/lcov-report/utilities/index.js.html +1 -1
  161. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  162. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  163. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  164. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  165. package/coverage/lcov-report/utilities/rowProcessor/index.html +27 -27
  166. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +65 -29
  167. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +73 -25
  168. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  169. package/coverage/lcov-report/utilities/security.js.html +1 -1
  170. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  171. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  172. package/coverage/lcov-report/utilities/usageQuota/index.js.html +1 -1
  173. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  174. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  175. package/coverage/lcov-report/utilities/users.js.html +1 -1
  176. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  177. package/coverage/lcov.info +1509 -1173
  178. package/dist/api/controllers/row/internal.js +30 -53
  179. package/dist/api/controllers/row/internalSearch.js +12 -4
  180. package/dist/api/controllers/row/staticFormula.js +147 -0
  181. package/dist/api/controllers/table/bulkFormula.js +160 -0
  182. package/dist/api/controllers/table/index.js +3 -6
  183. package/dist/api/controllers/table/internal.js +7 -0
  184. package/dist/api/controllers/table/utils.js +32 -10
  185. package/dist/constants/index.js +4 -0
  186. package/dist/db/linkedRows/index.js +4 -5
  187. package/dist/package.json +4 -4
  188. package/dist/tsconfig.tsbuildinfo +1 -1
  189. package/dist/utilities/rowProcessor/index.js +18 -11
  190. package/dist/utilities/rowProcessor/utils.js +14 -4
  191. package/package.json +5 -5
  192. package/src/api/controllers/row/internal.js +29 -50
  193. package/src/api/controllers/row/internalSearch.js +12 -4
  194. package/src/api/controllers/row/staticFormula.js +157 -0
  195. package/src/api/controllers/table/bulkFormula.js +183 -0
  196. package/src/api/controllers/table/index.js +3 -17
  197. package/src/api/controllers/table/internal.js +7 -1
  198. package/src/api/controllers/table/utils.js +48 -8
  199. package/src/constants/index.js +5 -0
  200. package/src/db/linkedRows/index.js +4 -5
  201. package/src/definitions/common.ts +3 -0
  202. package/src/utilities/rowProcessor/index.js +24 -12
  203. package/src/utilities/rowProcessor/utils.js +23 -7
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1643639932229" clover="3.2.0">
3
- <project timestamp="1643639932229" name="All files">
4
- <metrics statements="4813" coveredstatements="3548" conditionals="1949" coveredconditionals="1047" methods="687" coveredmethods="484" elements="7449" coveredelements="5079" complexity="0" loc="4813" ncloc="4813" packages="23" files="144" classes="144"/>
2
+ <coverage generated="1643644907727" clover="3.2.0">
3
+ <project timestamp="1643644907727" name="All files">
4
+ <metrics statements="4971" coveredstatements="3635" conditionals="2057" coveredconditionals="1079" methods="713" coveredmethods="500" elements="7741" coveredelements="5214" complexity="0" loc="4971" ncloc="4971" packages="23" files="146" classes="146"/>
5
5
  <package name="api">
6
6
  <metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
7
7
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
@@ -1307,7 +1307,7 @@
1307
1307
  </file>
1308
1308
  </package>
1309
1309
  <package name="api.controllers.row">
1310
- <metrics statements="596" coveredstatements="314" conditionals="257" coveredconditionals="84" methods="88" coveredmethods="38"/>
1310
+ <metrics statements="651" coveredstatements="333" conditionals="292" coveredconditionals="88" methods="93" coveredmethods="39"/>
1311
1311
  <file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
1312
1312
  <metrics statements="99" coveredstatements="15" conditionals="42" coveredconditionals="0" methods="13" coveredmethods="0"/>
1313
1313
  <line num="6" count="37" type="stmt"/>
@@ -1499,224 +1499,212 @@
1499
1499
  <line num="137" count="0" type="stmt"/>
1500
1500
  </file>
1501
1501
  <file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.js">
1502
- <metrics statements="214" coveredstatements="178" conditionals="64" coveredconditionals="39" methods="25" coveredmethods="23"/>
1502
+ <metrics statements="202" coveredstatements="174" conditionals="60" coveredconditionals="38" methods="24" coveredmethods="22"/>
1503
1503
  <line num="1" count="37" type="stmt"/>
1504
1504
  <line num="2" count="37" type="stmt"/>
1505
1505
  <line num="8" count="37" type="stmt"/>
1506
1506
  <line num="9" count="37" type="stmt"/>
1507
+ <line num="14" count="37" type="stmt"/>
1507
1508
  <line num="15" count="37" type="stmt"/>
1508
1509
  <line num="16" count="37" type="stmt"/>
1509
1510
  <line num="17" count="37" type="stmt"/>
1510
1511
  <line num="18" count="37" type="stmt"/>
1511
1512
  <line num="19" count="37" type="stmt"/>
1512
1513
  <line num="20" count="37" type="stmt"/>
1513
- <line num="21" count="37" type="stmt"/>
1514
- <line num="22" count="37" type="stmt"/>
1514
+ <line num="26" count="37" type="stmt"/>
1515
+ <line num="27" count="37" type="stmt"/>
1515
1516
  <line num="28" count="37" type="stmt"/>
1516
- <line num="29" count="37" type="stmt"/>
1517
- <line num="31" count="37" type="stmt"/>
1518
- <line num="38" count="73" type="stmt"/>
1519
- <line num="42" count="73" type="cond" truecount="1" falsecount="1"/>
1520
- <line num="43" count="0" type="stmt"/>
1521
- <line num="44" count="0" type="stmt"/>
1522
- <line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
1517
+ <line num="30" count="37" type="stmt"/>
1518
+ <line num="37" count="6" type="cond" truecount="1" falsecount="1"/>
1519
+ <line num="38" count="6" type="cond" truecount="1" falsecount="1"/>
1520
+ <line num="39" count="6" type="cond" truecount="1" falsecount="1"/>
1521
+ <line num="41" count="6" type="stmt"/>
1522
+ <line num="42" count="6" type="stmt"/>
1523
+ <line num="43" count="6" type="stmt"/>
1524
+ <line num="46" count="1" type="cond" truecount="1" falsecount="1"/>
1523
1525
  <line num="47" count="0" type="stmt"/>
1524
- <line num="48" count="0" type="stmt"/>
1525
- <line num="51" count="0" type="stmt"/>
1526
- <line num="52" count="0" type="stmt"/>
1526
+ <line num="49" count="1" type="stmt"/>
1527
+ <line num="50" count="0" type="stmt"/>
1528
+ <line num="53" count="5" type="cond" truecount="1" falsecount="1"/>
1527
1529
  <line num="54" count="0" type="stmt"/>
1528
- <line num="58" count="73" type="stmt"/>
1529
- <line num="59" count="73" type="stmt"/>
1530
- <line num="61" count="73" type="stmt"/>
1531
- <line num="62" count="73" type="stmt"/>
1532
- <line num="68" count="5" type="cond" truecount="1" falsecount="1"/>
1533
- <line num="69" count="0" type="stmt"/>
1534
- <line num="70" count="0" type="stmt"/>
1535
- <line num="72" count="5" type="stmt"/>
1536
- <line num="77" count="10" type="stmt"/>
1530
+ <line num="56" count="5" type="cond" truecount="1" falsecount="1"/>
1531
+ <line num="57" count="0" type="stmt"/>
1532
+ <line num="59" count="5" type="stmt"/>
1533
+ <line num="64" count="5" type="cond" truecount="1" falsecount="1"/>
1534
+ <line num="65" count="0" type="stmt"/>
1535
+ <line num="66" count="0" type="stmt"/>
1536
+ <line num="68" count="5" type="stmt"/>
1537
+ <line num="73" count="10" type="stmt"/>
1538
+ <line num="75" count="5" type="stmt"/>
1539
+ <line num="78" count="37" type="stmt"/>
1537
1540
  <line num="79" count="5" type="stmt"/>
1538
- <line num="83" count="6" type="cond" truecount="1" falsecount="1"/>
1539
- <line num="84" count="6" type="cond" truecount="1" falsecount="1"/>
1540
- <line num="85" count="6" type="cond" truecount="1" falsecount="1"/>
1541
- <line num="87" count="6" type="stmt"/>
1542
- <line num="88" count="6" type="stmt"/>
1543
- <line num="89" count="6" type="stmt"/>
1544
- <line num="92" count="1" type="cond" truecount="1" falsecount="1"/>
1545
- <line num="93" count="0" type="stmt"/>
1546
- <line num="95" count="1" type="stmt"/>
1547
- <line num="96" count="0" type="stmt"/>
1548
- <line num="99" count="5" type="cond" truecount="1" falsecount="1"/>
1549
- <line num="100" count="0" type="stmt"/>
1550
- <line num="102" count="5" type="cond" truecount="1" falsecount="1"/>
1551
- <line num="103" count="0" type="stmt"/>
1552
- <line num="105" count="5" type="stmt"/>
1553
- <line num="108" count="37" type="stmt"/>
1554
- <line num="109" count="5" type="stmt"/>
1555
- <line num="110" count="5" type="stmt"/>
1556
- <line num="111" count="5" type="stmt"/>
1557
- <line num="112" count="5" type="stmt"/>
1558
- <line num="113" count="5" type="stmt"/>
1559
- <line num="115" count="5" type="stmt"/>
1560
- <line num="116" count="5" type="stmt"/>
1561
- <line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
1562
- <line num="121" count="0" type="stmt"/>
1563
- <line num="125" count="0" type="stmt"/>
1564
- <line num="128" count="5" type="stmt"/>
1565
- <line num="130" count="5" type="stmt"/>
1566
- <line num="131" count="5" type="stmt"/>
1567
- <line num="132" count="21" type="cond" truecount="2" falsecount="0"/>
1568
- <line num="133" count="6" type="stmt"/>
1569
- <line num="137" count="5" type="stmt"/>
1570
- <line num="138" count="5" type="stmt"/>
1571
- <line num="143" count="5" type="cond" truecount="2" falsecount="0"/>
1572
- <line num="144" count="1" type="stmt"/>
1573
- <line num="148" count="4" type="stmt"/>
1574
- <line num="156" count="4" type="stmt"/>
1575
- <line num="158" count="4" type="cond" truecount="1" falsecount="1"/>
1541
+ <line num="80" count="5" type="stmt"/>
1542
+ <line num="81" count="5" type="stmt"/>
1543
+ <line num="82" count="5" type="stmt"/>
1544
+ <line num="83" count="5" type="stmt"/>
1545
+ <line num="85" count="5" type="stmt"/>
1546
+ <line num="86" count="5" type="stmt"/>
1547
+ <line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
1548
+ <line num="91" count="0" type="stmt"/>
1549
+ <line num="95" count="0" type="stmt"/>
1550
+ <line num="98" count="5" type="stmt"/>
1551
+ <line num="100" count="5" type="stmt"/>
1552
+ <line num="101" count="5" type="stmt"/>
1553
+ <line num="102" count="21" type="cond" truecount="2" falsecount="0"/>
1554
+ <line num="103" count="6" type="stmt"/>
1555
+ <line num="107" count="5" type="stmt"/>
1556
+ <line num="108" count="5" type="stmt"/>
1557
+ <line num="113" count="5" type="cond" truecount="2" falsecount="0"/>
1558
+ <line num="114" count="1" type="stmt"/>
1559
+ <line num="118" count="4" type="stmt"/>
1560
+ <line num="126" count="4" type="stmt"/>
1561
+ <line num="128" count="4" type="cond" truecount="1" falsecount="1"/>
1562
+ <line num="130" count="0" type="stmt"/>
1563
+ <line num="131" count="0" type="stmt"/>
1564
+ <line num="132" count="0" type="stmt"/>
1565
+ <line num="135" count="4" type="stmt"/>
1566
+ <line num="141" count="37" type="stmt"/>
1567
+ <line num="142" count="70" type="stmt"/>
1568
+ <line num="143" count="70" type="stmt"/>
1569
+ <line num="144" count="70" type="stmt"/>
1570
+ <line num="145" count="70" type="stmt"/>
1571
+ <line num="147" count="70" type="cond" truecount="3" falsecount="1"/>
1572
+ <line num="148" count="70" type="stmt"/>
1573
+ <line num="152" count="70" type="stmt"/>
1574
+ <line num="153" count="70" type="stmt"/>
1575
+ <line num="154" count="70" type="stmt"/>
1576
+ <line num="159" count="70" type="cond" truecount="1" falsecount="1"/>
1576
1577
  <line num="160" count="0" type="stmt"/>
1577
- <line num="161" count="0" type="stmt"/>
1578
- <line num="162" count="0" type="stmt"/>
1579
- <line num="165" count="4" type="stmt"/>
1580
- <line num="168" count="37" type="stmt"/>
1581
- <line num="169" count="70" type="stmt"/>
1582
- <line num="170" count="70" type="stmt"/>
1583
- <line num="171" count="70" type="stmt"/>
1584
- <line num="172" count="70" type="stmt"/>
1585
- <line num="174" count="70" type="cond" truecount="3" falsecount="1"/>
1586
- <line num="175" count="70" type="stmt"/>
1587
- <line num="179" count="70" type="stmt"/>
1588
- <line num="180" count="70" type="stmt"/>
1589
- <line num="181" count="70" type="stmt"/>
1590
- <line num="186" count="70" type="cond" truecount="1" falsecount="1"/>
1591
- <line num="187" count="0" type="stmt"/>
1592
- <line num="191" count="70" type="stmt"/>
1593
- <line num="199" count="69" type="stmt"/>
1594
- <line num="202" count="37" type="stmt"/>
1595
- <line num="203" count="7" type="stmt"/>
1596
- <line num="204" count="7" type="stmt"/>
1597
- <line num="207" count="7" type="cond" truecount="2" falsecount="0"/>
1598
- <line num="208" count="1" type="stmt"/>
1599
- <line num="209" count="1" type="stmt"/>
1600
- <line num="212" count="6" type="stmt"/>
1601
- <line num="213" count="6" type="stmt"/>
1602
- <line num="214" count="6" type="stmt"/>
1603
- <line num="216" count="5" type="cond" truecount="1" falsecount="1"/>
1604
- <line num="217" count="5" type="stmt"/>
1605
- <line num="222" count="0" type="stmt"/>
1606
- <line num="223" count="0" type="stmt"/>
1607
- <line num="224" count="0" type="stmt"/>
1608
- <line num="228" count="5" type="cond" truecount="2" falsecount="0"/>
1609
- <line num="229" count="3" type="stmt"/>
1610
- <line num="231" count="3" type="stmt"/>
1611
- <line num="232" count="3" type="stmt"/>
1612
- <line num="239" count="3" type="stmt"/>
1613
- <line num="242" count="5" type="cond" truecount="2" falsecount="0"/>
1614
- <line num="243" count="3" type="stmt"/>
1615
- <line num="249" count="2" type="stmt"/>
1616
- <line num="252" count="5" type="cond" truecount="1" falsecount="1"/>
1617
- <line num="256" count="0" type="stmt"/>
1618
- <line num="262" count="5" type="stmt"/>
1619
- <line num="265" count="37" type="stmt"/>
1620
- <line num="266" count="5" type="stmt"/>
1621
- <line num="267" count="5" type="stmt"/>
1622
- <line num="269" count="5" type="stmt"/>
1623
- <line num="270" count="5" type="stmt"/>
1624
- <line num="271" count="5" type="stmt"/>
1625
- <line num="272" count="5" type="stmt"/>
1626
- <line num="275" count="37" type="stmt"/>
1627
- <line num="276" count="18" type="stmt"/>
1628
- <line num="277" count="18" type="stmt"/>
1629
- <line num="278" count="18" type="stmt"/>
1630
- <line num="279" count="18" type="stmt"/>
1631
- <line num="280" count="15" type="stmt"/>
1632
- <line num="281" count="15" type="stmt"/>
1633
- <line num="284" count="37" type="stmt"/>
1634
- <line num="285" count="3" type="stmt"/>
1635
- <line num="286" count="3" type="stmt"/>
1636
- <line num="287" count="3" type="stmt"/>
1637
- <line num="288" count="3" type="stmt"/>
1638
- <line num="290" count="2" type="cond" truecount="1" falsecount="1"/>
1639
- <line num="291" count="0" type="stmt"/>
1640
- <line num="293" count="2" type="stmt"/>
1641
- <line num="295" count="2" type="stmt"/>
1642
- <line num="297" count="2" type="stmt"/>
1643
- <line num="304" count="2" type="stmt"/>
1644
- <line num="307" count="2" type="cond" truecount="1" falsecount="1"/>
1645
- <line num="308" count="0" type="stmt"/>
1646
- <line num="311" count="0" type="stmt"/>
1647
- <line num="312" count="0" type="stmt"/>
1648
- <line num="314" count="2" type="stmt"/>
1649
- <line num="316" count="2" type="stmt"/>
1650
- <line num="319" count="37" type="stmt"/>
1651
- <line num="320" count="2" type="stmt"/>
1652
- <line num="321" count="2" type="stmt"/>
1653
- <line num="322" count="2" type="stmt"/>
1654
- <line num="323" count="2" type="stmt"/>
1655
- <line num="324" count="2" type="stmt"/>
1656
- <line num="328" count="2" type="stmt"/>
1578
+ <line num="164" count="70" type="stmt"/>
1579
+ <line num="172" count="69" type="stmt"/>
1580
+ <line num="178" count="37" type="stmt"/>
1581
+ <line num="179" count="7" type="stmt"/>
1582
+ <line num="180" count="7" type="stmt"/>
1583
+ <line num="183" count="7" type="cond" truecount="2" falsecount="0"/>
1584
+ <line num="184" count="1" type="stmt"/>
1585
+ <line num="185" count="1" type="stmt"/>
1586
+ <line num="188" count="6" type="stmt"/>
1587
+ <line num="189" count="6" type="stmt"/>
1588
+ <line num="190" count="6" type="stmt"/>
1589
+ <line num="192" count="5" type="cond" truecount="1" falsecount="1"/>
1590
+ <line num="193" count="5" type="stmt"/>
1591
+ <line num="198" count="0" type="stmt"/>
1592
+ <line num="199" count="0" type="stmt"/>
1593
+ <line num="200" count="0" type="stmt"/>
1594
+ <line num="204" count="5" type="cond" truecount="2" falsecount="0"/>
1595
+ <line num="205" count="3" type="stmt"/>
1596
+ <line num="207" count="3" type="stmt"/>
1597
+ <line num="208" count="3" type="stmt"/>
1598
+ <line num="215" count="3" type="stmt"/>
1599
+ <line num="218" count="5" type="cond" truecount="2" falsecount="0"/>
1600
+ <line num="219" count="3" type="stmt"/>
1601
+ <line num="225" count="2" type="stmt"/>
1602
+ <line num="228" count="5" type="cond" truecount="1" falsecount="1"/>
1603
+ <line num="232" count="0" type="stmt"/>
1604
+ <line num="238" count="5" type="stmt"/>
1605
+ <line num="241" count="37" type="stmt"/>
1606
+ <line num="242" count="5" type="stmt"/>
1607
+ <line num="243" count="5" type="stmt"/>
1608
+ <line num="245" count="5" type="stmt"/>
1609
+ <line num="246" count="5" type="stmt"/>
1610
+ <line num="247" count="5" type="stmt"/>
1611
+ <line num="248" count="5" type="stmt"/>
1612
+ <line num="251" count="37" type="stmt"/>
1613
+ <line num="252" count="18" type="stmt"/>
1614
+ <line num="253" count="18" type="stmt"/>
1615
+ <line num="254" count="18" type="stmt"/>
1616
+ <line num="255" count="18" type="stmt"/>
1617
+ <line num="256" count="15" type="stmt"/>
1618
+ <line num="257" count="15" type="stmt"/>
1619
+ <line num="260" count="37" type="stmt"/>
1620
+ <line num="261" count="3" type="stmt"/>
1621
+ <line num="262" count="3" type="stmt"/>
1622
+ <line num="263" count="3" type="stmt"/>
1623
+ <line num="264" count="3" type="stmt"/>
1624
+ <line num="266" count="2" type="cond" truecount="1" falsecount="1"/>
1625
+ <line num="267" count="0" type="stmt"/>
1626
+ <line num="269" count="2" type="stmt"/>
1627
+ <line num="271" count="2" type="stmt"/>
1628
+ <line num="273" count="2" type="stmt"/>
1629
+ <line num="280" count="2" type="stmt"/>
1630
+ <line num="282" count="2" type="stmt"/>
1631
+ <line num="285" count="2" type="cond" truecount="1" falsecount="1"/>
1632
+ <line num="286" count="0" type="stmt"/>
1633
+ <line num="289" count="0" type="stmt"/>
1634
+ <line num="290" count="0" type="stmt"/>
1635
+ <line num="292" count="2" type="stmt"/>
1636
+ <line num="294" count="2" type="stmt"/>
1637
+ <line num="297" count="37" type="stmt"/>
1638
+ <line num="298" count="2" type="stmt"/>
1639
+ <line num="299" count="2" type="stmt"/>
1640
+ <line num="300" count="2" type="stmt"/>
1641
+ <line num="301" count="2" type="stmt"/>
1642
+ <line num="302" count="2" type="stmt"/>
1643
+ <line num="306" count="2" type="stmt"/>
1644
+ <line num="309" count="2" type="stmt"/>
1645
+ <line num="310" count="3" type="stmt"/>
1646
+ <line num="317" count="2" type="cond" truecount="1" falsecount="1"/>
1647
+ <line num="318" count="0" type="stmt"/>
1648
+ <line num="320" count="0" type="stmt"/>
1649
+ <line num="323" count="0" type="stmt"/>
1650
+ <line num="327" count="3" type="stmt"/>
1651
+ <line num="330" count="2" type="stmt"/>
1657
1652
  <line num="331" count="2" type="stmt"/>
1658
- <line num="332" count="3" type="stmt"/>
1659
- <line num="339" count="2" type="cond" truecount="1" falsecount="1"/>
1660
- <line num="340" count="0" type="stmt"/>
1661
- <line num="342" count="0" type="stmt"/>
1662
- <line num="345" count="0" type="stmt"/>
1663
- <line num="349" count="3" type="stmt"/>
1664
- <line num="352" count="2" type="stmt"/>
1665
- <line num="353" count="2" type="stmt"/>
1666
- <line num="354" count="2" type="stmt"/>
1667
- <line num="357" count="37" type="stmt"/>
1653
+ <line num="332" count="2" type="stmt"/>
1654
+ <line num="333" count="2" type="stmt"/>
1655
+ <line num="336" count="37" type="stmt"/>
1656
+ <line num="338" count="1" type="cond" truecount="1" falsecount="1"/>
1657
+ <line num="339" count="0" type="stmt"/>
1658
+ <line num="342" count="1" type="stmt"/>
1659
+ <line num="343" count="1" type="stmt"/>
1660
+ <line num="344" count="1" type="stmt"/>
1661
+ <line num="345" count="1" type="stmt"/>
1662
+ <line num="346" count="1" type="stmt"/>
1663
+ <line num="347" count="1" type="stmt"/>
1664
+ <line num="350" count="1" type="cond" truecount="1" falsecount="1"/>
1665
+ <line num="351" count="0" type="stmt"/>
1666
+ <line num="353" count="1" type="stmt"/>
1667
+ <line num="357" count="1" type="cond" truecount="3" falsecount="1"/>
1668
1668
  <line num="359" count="1" type="cond" truecount="1" falsecount="1"/>
1669
1669
  <line num="360" count="0" type="stmt"/>
1670
+ <line num="362" count="1" type="stmt"/>
1670
1671
  <line num="363" count="1" type="stmt"/>
1671
- <line num="364" count="1" type="stmt"/>
1672
- <line num="365" count="1" type="stmt"/>
1673
1672
  <line num="366" count="1" type="stmt"/>
1674
- <line num="367" count="1" type="stmt"/>
1675
- <line num="368" count="1" type="stmt"/>
1676
- <line num="371" count="1" type="cond" truecount="1" falsecount="1"/>
1677
- <line num="372" count="0" type="stmt"/>
1678
- <line num="374" count="1" type="stmt"/>
1679
- <line num="378" count="1" type="cond" truecount="3" falsecount="1"/>
1680
- <line num="380" count="1" type="cond" truecount="1" falsecount="1"/>
1681
- <line num="381" count="0" type="stmt"/>
1673
+ <line num="369" count="37" type="stmt"/>
1674
+ <line num="370" count="2" type="stmt"/>
1675
+ <line num="377" count="37" type="stmt"/>
1676
+ <line num="378" count="1" type="stmt"/>
1677
+ <line num="379" count="1" type="stmt"/>
1678
+ <line num="380" count="1" type="stmt"/>
1679
+ <line num="381" count="1" type="stmt"/>
1682
1680
  <line num="383" count="1" type="stmt"/>
1683
- <line num="384" count="1" type="stmt"/>
1684
- <line num="387" count="1" type="stmt"/>
1685
- <line num="390" count="37" type="stmt"/>
1686
- <line num="391" count="2" type="stmt"/>
1687
- <line num="398" count="37" type="stmt"/>
1681
+ <line num="388" count="1" type="stmt"/>
1682
+ <line num="394" count="1" type="stmt"/>
1683
+ <line num="397" count="1" type="stmt"/>
1688
1684
  <line num="399" count="1" type="stmt"/>
1689
- <line num="400" count="1" type="stmt"/>
1690
1685
  <line num="401" count="1" type="stmt"/>
1691
1686
  <line num="402" count="1" type="stmt"/>
1687
+ <line num="403" count="1" type="stmt"/>
1692
1688
  <line num="404" count="1" type="stmt"/>
1693
- <line num="409" count="1" type="stmt"/>
1689
+ <line num="405" count="1" type="cond" truecount="1" falsecount="1"/>
1690
+ <line num="406" count="1" type="stmt"/>
1691
+ <line num="407" count="1" type="stmt"/>
1692
+ <line num="409" count="0" type="stmt"/>
1693
+ <line num="412" count="1" type="stmt"/>
1694
+ <line num="413" count="1" type="stmt"/>
1694
1695
  <line num="415" count="1" type="stmt"/>
1695
- <line num="418" count="1" type="stmt"/>
1696
- <line num="420" count="1" type="stmt"/>
1697
- <line num="422" count="1" type="stmt"/>
1698
- <line num="423" count="1" type="stmt"/>
1699
- <line num="424" count="1" type="stmt"/>
1696
+ <line num="421" count="1" type="stmt"/>
1697
+ <line num="422" count="3" type="stmt"/>
1698
+ <line num="423" count="3" type="cond" truecount="2" falsecount="0"/>
1700
1699
  <line num="425" count="1" type="stmt"/>
1701
- <line num="426" count="1" type="cond" truecount="1" falsecount="1"/>
1700
+ <line num="426" count="1" type="stmt"/>
1702
1701
  <line num="427" count="1" type="stmt"/>
1703
- <line num="428" count="1" type="stmt"/>
1704
- <line num="430" count="0" type="stmt"/>
1705
- <line num="433" count="1" type="stmt"/>
1702
+ <line num="429" count="1" type="stmt"/>
1703
+ <line num="430" count="1" type="stmt"/>
1706
1704
  <line num="434" count="1" type="stmt"/>
1707
- <line num="436" count="1" type="stmt"/>
1708
- <line num="442" count="1" type="stmt"/>
1709
- <line num="443" count="3" type="stmt"/>
1710
- <line num="444" count="3" type="cond" truecount="2" falsecount="0"/>
1711
- <line num="446" count="1" type="stmt"/>
1712
- <line num="447" count="1" type="stmt"/>
1713
- <line num="448" count="1" type="stmt"/>
1714
- <line num="450" count="1" type="stmt"/>
1715
- <line num="451" count="1" type="stmt"/>
1716
- <line num="455" count="1" type="stmt"/>
1717
1705
  </file>
1718
1706
  <file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
1719
- <metrics statements="147" coveredstatements="7" conditionals="87" coveredconditionals="0" methods="33" coveredmethods="0"/>
1707
+ <metrics statements="151" coveredstatements="7" conditionals="95" coveredconditionals="0" methods="33" coveredmethods="0"/>
1720
1708
  <line num="1" count="36" type="stmt"/>
1721
1709
  <line num="2" count="36" type="stmt"/>
1722
1710
  <line num="3" count="36" type="stmt"/>
@@ -1731,139 +1719,209 @@
1731
1719
  <line num="31" count="0" type="stmt"/>
1732
1720
  <line num="35" count="0" type="stmt"/>
1733
1721
  <line num="36" count="0" type="stmt"/>
1734
- <line num="40" count="0" type="stmt"/>
1722
+ <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
1735
1723
  <line num="41" count="0" type="stmt"/>
1736
- <line num="45" count="0" type="stmt"/>
1737
- <line num="46" count="0" type="stmt"/>
1724
+ <line num="43" count="0" type="stmt"/>
1725
+ <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
1726
+ <line num="48" count="0" type="stmt"/>
1738
1727
  <line num="50" count="0" type="stmt"/>
1739
- <line num="51" count="0" type="stmt"/>
1728
+ <line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
1740
1729
  <line num="55" count="0" type="stmt"/>
1741
- <line num="56" count="0" type="stmt"/>
1742
- <line num="60" count="0" type="stmt"/>
1743
- <line num="61" count="0" type="stmt"/>
1744
- <line num="65" count="0" type="stmt"/>
1745
- <line num="66" count="0" type="stmt"/>
1746
- <line num="70" count="0" type="stmt"/>
1747
- <line num="71" count="0" type="stmt"/>
1748
- <line num="75" count="0" type="stmt"/>
1749
- <line num="76" count="0" type="stmt"/>
1750
- <line num="80" count="0" type="stmt"/>
1730
+ <line num="57" count="0" type="stmt"/>
1731
+ <line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
1732
+ <line num="62" count="0" type="stmt"/>
1733
+ <line num="64" count="0" type="stmt"/>
1734
+ <line num="68" count="0" type="stmt"/>
1735
+ <line num="69" count="0" type="stmt"/>
1736
+ <line num="73" count="0" type="stmt"/>
1737
+ <line num="74" count="0" type="stmt"/>
1738
+ <line num="78" count="0" type="stmt"/>
1739
+ <line num="79" count="0" type="stmt"/>
1740
+ <line num="83" count="0" type="stmt"/>
1751
1741
  <line num="84" count="0" type="stmt"/>
1752
1742
  <line num="88" count="0" type="stmt"/>
1753
- <line num="89" count="0" type="stmt"/>
1754
- <line num="93" count="0" type="stmt"/>
1755
- <line num="94" count="0" type="stmt"/>
1756
- <line num="98" count="0" type="stmt"/>
1757
- <line num="99" count="0" type="stmt"/>
1758
- <line num="103" count="0" type="stmt"/>
1759
- <line num="104" count="0" type="stmt"/>
1760
- <line num="115" count="0" type="stmt"/>
1761
- <line num="117" count="0" type="stmt"/>
1762
- <line num="119" count="0" type="cond" truecount="0" falsecount="4"/>
1763
- <line num="120" count="0" type="cond" truecount="0" falsecount="2"/>
1764
- <line num="123" count="0" type="cond" truecount="0" falsecount="4"/>
1765
- <line num="124" count="0" type="stmt"/>
1743
+ <line num="92" count="0" type="stmt"/>
1744
+ <line num="96" count="0" type="stmt"/>
1745
+ <line num="97" count="0" type="stmt"/>
1746
+ <line num="101" count="0" type="stmt"/>
1747
+ <line num="102" count="0" type="stmt"/>
1748
+ <line num="106" count="0" type="stmt"/>
1749
+ <line num="107" count="0" type="stmt"/>
1750
+ <line num="111" count="0" type="stmt"/>
1751
+ <line num="112" count="0" type="stmt"/>
1752
+ <line num="123" count="0" type="stmt"/>
1753
+ <line num="125" count="0" type="stmt"/>
1766
1754
  <line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
1767
1755
  <line num="128" count="0" type="cond" truecount="0" falsecount="2"/>
1768
- <line num="130" count="0" type="stmt"/>
1769
- <line num="134" count="0" type="stmt"/>
1770
- <line num="135" count="0" type="stmt"/>
1771
- <line num="136" count="0" type="stmt"/>
1772
- <line num="139" count="0" type="stmt"/>
1773
- <line num="140" count="0" type="stmt"/>
1756
+ <line num="131" count="0" type="cond" truecount="0" falsecount="4"/>
1757
+ <line num="132" count="0" type="stmt"/>
1758
+ <line num="135" count="0" type="cond" truecount="0" falsecount="4"/>
1759
+ <line num="136" count="0" type="cond" truecount="0" falsecount="2"/>
1760
+ <line num="138" count="0" type="stmt"/>
1761
+ <line num="142" count="0" type="stmt"/>
1774
1762
  <line num="143" count="0" type="stmt"/>
1775
- <line num="144" count="0" type="cond" truecount="0" falsecount="2"/>
1776
- <line num="145" count="0" type="stmt"/>
1763
+ <line num="144" count="0" type="stmt"/>
1777
1764
  <line num="147" count="0" type="stmt"/>
1765
+ <line num="148" count="0" type="stmt"/>
1766
+ <line num="151" count="0" type="stmt"/>
1778
1767
  <line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
1779
1768
  <line num="153" count="0" type="stmt"/>
1780
- <line num="154" count="0" type="cond" truecount="0" falsecount="2"/>
1781
1769
  <line num="155" count="0" type="stmt"/>
1782
- <line num="157" count="0" type="stmt"/>
1770
+ <line num="160" count="0" type="cond" truecount="0" falsecount="2"/>
1783
1771
  <line num="161" count="0" type="stmt"/>
1784
- <line num="164" count="0" type="cond" truecount="0" falsecount="2"/>
1772
+ <line num="162" count="0" type="cond" truecount="0" falsecount="2"/>
1773
+ <line num="163" count="0" type="stmt"/>
1785
1774
  <line num="165" count="0" type="stmt"/>
1786
- <line num="166" count="0" type="cond" truecount="0" falsecount="2"/>
1787
- <line num="167" count="0" type="stmt"/>
1788
- <line num="169" count="0" type="cond" truecount="0" falsecount="4"/>
1789
- <line num="170" count="0" type="stmt"/>
1790
- <line num="172" count="0" type="cond" truecount="0" falsecount="4"/>
1775
+ <line num="169" count="0" type="stmt"/>
1776
+ <line num="172" count="0" type="cond" truecount="0" falsecount="2"/>
1791
1777
  <line num="173" count="0" type="stmt"/>
1778
+ <line num="174" count="0" type="cond" truecount="0" falsecount="2"/>
1792
1779
  <line num="175" count="0" type="stmt"/>
1793
- <line num="176" count="0" type="stmt"/>
1794
- <line num="177" count="0" type="stmt"/>
1795
- <line num="180" count="0" type="cond" truecount="0" falsecount="2"/>
1780
+ <line num="177" count="0" type="cond" truecount="0" falsecount="4"/>
1781
+ <line num="178" count="0" type="stmt"/>
1782
+ <line num="180" count="0" type="cond" truecount="0" falsecount="4"/>
1796
1783
  <line num="181" count="0" type="stmt"/>
1797
- <line num="182" count="0" type="cond" truecount="0" falsecount="2"/>
1798
1784
  <line num="183" count="0" type="stmt"/>
1785
+ <line num="184" count="0" type="stmt"/>
1799
1786
  <line num="185" count="0" type="stmt"/>
1787
+ <line num="188" count="0" type="cond" truecount="0" falsecount="2"/>
1800
1788
  <line num="189" count="0" type="stmt"/>
1801
- <line num="192" count="0" type="cond" truecount="0" falsecount="2"/>
1789
+ <line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
1790
+ <line num="191" count="0" type="stmt"/>
1802
1791
  <line num="193" count="0" type="stmt"/>
1803
- <line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
1804
- <line num="196" count="0" type="stmt"/>
1805
- <line num="198" count="0" type="stmt"/>
1806
- <line num="201" count="0" type="cond" truecount="0" falsecount="2"/>
1807
- <line num="202" count="0" type="stmt"/>
1808
- <line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
1792
+ <line num="197" count="0" type="stmt"/>
1793
+ <line num="200" count="0" type="cond" truecount="0" falsecount="2"/>
1794
+ <line num="201" count="0" type="stmt"/>
1795
+ <line num="203" count="0" type="cond" truecount="0" falsecount="4"/>
1809
1796
  <line num="204" count="0" type="stmt"/>
1810
1797
  <line num="206" count="0" type="stmt"/>
1811
1798
  <line num="209" count="0" type="cond" truecount="0" falsecount="2"/>
1812
1799
  <line num="210" count="0" type="stmt"/>
1813
- <line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
1814
- <line num="213" count="0" type="stmt"/>
1815
- <line num="215" count="0" type="stmt"/>
1816
- <line num="219" count="0" type="stmt"/>
1817
- <line num="224" count="0" type="cond" truecount="0" falsecount="2"/>
1818
- <line num="225" count="0" type="stmt"/>
1819
- <line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
1820
- <line num="228" count="0" type="cond" truecount="0" falsecount="2"/>
1821
- <line num="229" count="0" type="stmt"/>
1822
- <line num="230" count="0" type="stmt"/>
1823
- <line num="232" count="0" type="stmt"/>
1824
- <line num="236" count="0" type="stmt"/>
1825
- <line num="239" count="0" type="stmt"/>
1800
+ <line num="211" count="0" type="cond" truecount="0" falsecount="2"/>
1801
+ <line num="212" count="0" type="stmt"/>
1802
+ <line num="214" count="0" type="stmt"/>
1803
+ <line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
1804
+ <line num="218" count="0" type="stmt"/>
1805
+ <line num="220" count="0" type="cond" truecount="0" falsecount="2"/>
1806
+ <line num="221" count="0" type="stmt"/>
1807
+ <line num="223" count="0" type="stmt"/>
1808
+ <line num="227" count="0" type="stmt"/>
1809
+ <line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
1810
+ <line num="233" count="0" type="stmt"/>
1811
+ <line num="235" count="0" type="cond" truecount="0" falsecount="2"/>
1812
+ <line num="236" count="0" type="cond" truecount="0" falsecount="2"/>
1813
+ <line num="237" count="0" type="stmt"/>
1814
+ <line num="238" count="0" type="stmt"/>
1826
1815
  <line num="240" count="0" type="stmt"/>
1827
- <line num="250" count="36" type="stmt"/>
1828
- <line num="251" count="0" type="stmt"/>
1829
- <line num="255" count="0" type="stmt"/>
1830
- <line num="257" count="0" type="stmt"/>
1831
- <line num="260" count="0" type="cond" truecount="0" falsecount="4"/>
1832
- <line num="261" count="0" type="stmt"/>
1833
- <line num="263" count="0" type="cond" truecount="0" falsecount="2"/>
1834
- <line num="264" count="0" type="stmt"/>
1835
- <line num="266" count="0" type="stmt"/>
1836
- <line num="286" count="36" type="stmt"/>
1837
- <line num="287" count="0" type="stmt"/>
1838
- <line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
1839
- <line num="289" count="0" type="cond" truecount="0" falsecount="2"/>
1840
- <line num="290" count="0" type="stmt"/>
1841
- <line num="292" count="0" type="stmt"/>
1842
- <line num="293" count="0" type="cond" truecount="0" falsecount="2"/>
1843
- <line num="294" count="0" type="stmt"/>
1844
- <line num="296" count="0" type="stmt"/>
1845
- <line num="305" count="0" type="cond" truecount="0" falsecount="2"/>
1846
- <line num="306" count="0" type="stmt"/>
1847
- <line num="308" count="0" type="cond" truecount="0" falsecount="2"/>
1848
- <line num="309" count="0" type="stmt"/>
1849
- <line num="311" count="0" type="stmt"/>
1850
- <line num="316" count="0" type="stmt"/>
1851
- <line num="335" count="36" type="stmt"/>
1852
- <line num="336" count="0" type="stmt"/>
1853
- <line num="337" count="0" type="cond" truecount="0" falsecount="5"/>
1854
- <line num="338" count="0" type="stmt"/>
1855
- <line num="340" count="0" type="stmt"/>
1856
- <line num="341" count="0" type="stmt"/>
1857
- <line num="347" count="0" type="stmt"/>
1858
- <line num="354" count="0" type="stmt"/>
1859
- <line num="359" count="0" type="stmt"/>
1860
- <line num="381" count="36" type="stmt"/>
1861
- <line num="382" count="0" type="stmt"/>
1862
- <line num="383" count="0" type="cond" truecount="0" falsecount="5"/>
1863
- <line num="384" count="0" type="stmt"/>
1864
- <line num="386" count="0" type="stmt"/>
1865
- <line num="387" count="0" type="stmt"/>
1866
- <line num="388" count="0" type="stmt"/>
1816
+ <line num="244" count="0" type="stmt"/>
1817
+ <line num="247" count="0" type="stmt"/>
1818
+ <line num="248" count="0" type="stmt"/>
1819
+ <line num="258" count="36" type="stmt"/>
1820
+ <line num="259" count="0" type="stmt"/>
1821
+ <line num="263" count="0" type="stmt"/>
1822
+ <line num="265" count="0" type="stmt"/>
1823
+ <line num="268" count="0" type="cond" truecount="0" falsecount="4"/>
1824
+ <line num="269" count="0" type="stmt"/>
1825
+ <line num="271" count="0" type="cond" truecount="0" falsecount="2"/>
1826
+ <line num="272" count="0" type="stmt"/>
1827
+ <line num="274" count="0" type="stmt"/>
1828
+ <line num="294" count="36" type="stmt"/>
1829
+ <line num="295" count="0" type="stmt"/>
1830
+ <line num="296" count="0" type="cond" truecount="0" falsecount="2"/>
1831
+ <line num="297" count="0" type="cond" truecount="0" falsecount="2"/>
1832
+ <line num="298" count="0" type="stmt"/>
1833
+ <line num="300" count="0" type="stmt"/>
1834
+ <line num="301" count="0" type="cond" truecount="0" falsecount="2"/>
1835
+ <line num="302" count="0" type="stmt"/>
1836
+ <line num="304" count="0" type="stmt"/>
1837
+ <line num="313" count="0" type="cond" truecount="0" falsecount="2"/>
1838
+ <line num="314" count="0" type="stmt"/>
1839
+ <line num="316" count="0" type="cond" truecount="0" falsecount="2"/>
1840
+ <line num="317" count="0" type="stmt"/>
1841
+ <line num="319" count="0" type="stmt"/>
1842
+ <line num="324" count="0" type="stmt"/>
1843
+ <line num="343" count="36" type="stmt"/>
1844
+ <line num="344" count="0" type="stmt"/>
1845
+ <line num="345" count="0" type="cond" truecount="0" falsecount="5"/>
1846
+ <line num="346" count="0" type="stmt"/>
1847
+ <line num="348" count="0" type="stmt"/>
1848
+ <line num="349" count="0" type="stmt"/>
1849
+ <line num="355" count="0" type="stmt"/>
1850
+ <line num="362" count="0" type="stmt"/>
1851
+ <line num="367" count="0" type="stmt"/>
1852
+ <line num="389" count="36" type="stmt"/>
1853
+ <line num="390" count="0" type="stmt"/>
1854
+ <line num="391" count="0" type="cond" truecount="0" falsecount="5"/>
1855
+ <line num="392" count="0" type="stmt"/>
1856
+ <line num="394" count="0" type="stmt"/>
1857
+ <line num="395" count="0" type="stmt"/>
1858
+ <line num="396" count="0" type="stmt"/>
1859
+ </file>
1860
+ <file name="staticFormula.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/staticFormula.js">
1861
+ <metrics statements="63" coveredstatements="23" conditionals="31" coveredconditionals="5" methods="6" coveredmethods="2"/>
1862
+ <line num="1" count="37" type="stmt"/>
1863
+ <line num="2" count="37" type="stmt"/>
1864
+ <line num="7" count="37" type="stmt"/>
1865
+ <line num="8" count="37" type="stmt"/>
1866
+ <line num="9" count="37" type="stmt"/>
1867
+ <line num="10" count="37" type="stmt"/>
1868
+ <line num="18" count="37" type="stmt"/>
1869
+ <line num="19" count="77" type="stmt"/>
1870
+ <line num="21" count="77" type="cond" truecount="1" falsecount="1"/>
1871
+ <line num="22" count="77" type="stmt"/>
1872
+ <line num="24" count="0" type="stmt"/>
1873
+ <line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
1874
+ <line num="29" count="0" type="stmt"/>
1875
+ <line num="30" count="0" type="stmt"/>
1876
+ <line num="31" count="0" type="stmt"/>
1877
+ <line num="32" count="0" type="cond" truecount="0" falsecount="4"/>
1878
+ <line num="33" count="0" type="stmt"/>
1879
+ <line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
1880
+ <line num="35" count="0" type="stmt"/>
1881
+ <line num="37" count="0" type="stmt"/>
1882
+ <line num="40" count="0" type="stmt"/>
1883
+ <line num="42" count="0" type="stmt"/>
1884
+ <line num="44" count="0" type="cond" truecount="0" falsecount="4"/>
1885
+ <line num="45" count="0" type="stmt"/>
1886
+ <line num="47" count="0" type="stmt"/>
1887
+ <line num="51" count="0" type="stmt"/>
1888
+ <line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
1889
+ <line num="58" count="0" type="stmt"/>
1890
+ <line num="60" count="0" type="stmt"/>
1891
+ <line num="69" count="0" type="stmt"/>
1892
+ <line num="72" count="37" type="stmt"/>
1893
+ <line num="73" count="0" type="stmt"/>
1894
+ <line num="75" count="0" type="stmt"/>
1895
+ <line num="81" count="0" type="stmt"/>
1896
+ <line num="84" count="0" type="stmt"/>
1897
+ <line num="87" count="0" type="stmt"/>
1898
+ <line num="88" count="0" type="stmt"/>
1899
+ <line num="90" count="0" type="stmt"/>
1900
+ <line num="91" count="0" type="cond" truecount="0" falsecount="2"/>
1901
+ <line num="92" count="0" type="stmt"/>
1902
+ <line num="97" count="0" type="cond" truecount="0" falsecount="2"/>
1903
+ <line num="98" count="0" type="stmt"/>
1904
+ <line num="102" count="0" type="stmt"/>
1905
+ <line num="111" count="37" type="stmt"/>
1906
+ <line num="117" count="73" type="stmt"/>
1907
+ <line num="118" count="73" type="stmt"/>
1908
+ <line num="120" count="73" type="stmt"/>
1909
+ <line num="124" count="73" type="stmt"/>
1910
+ <line num="132" count="73" type="cond" truecount="3" falsecount="1"/>
1911
+ <line num="133" count="0" type="stmt"/>
1912
+ <line num="134" count="0" type="stmt"/>
1913
+ <line num="136" count="0" type="cond" truecount="0" falsecount="2"/>
1914
+ <line num="137" count="0" type="stmt"/>
1915
+ <line num="138" count="0" type="stmt"/>
1916
+ <line num="141" count="0" type="stmt"/>
1917
+ <line num="142" count="0" type="stmt"/>
1918
+ <line num="144" count="0" type="stmt"/>
1919
+ <line num="148" count="73" type="stmt"/>
1920
+ <line num="150" count="73" type="stmt"/>
1921
+ <line num="151" count="73" type="stmt"/>
1922
+ <line num="153" count="73" type="cond" truecount="1" falsecount="1"/>
1923
+ <line num="154" count="73" type="stmt"/>
1924
+ <line num="156" count="73" type="stmt"/>
1867
1925
  </file>
1868
1926
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
1869
1927
  <metrics statements="51" coveredstatements="35" conditionals="30" coveredconditionals="13" methods="6" coveredmethods="4"/>
@@ -1919,9 +1977,88 @@
1919
1977
  <line num="87" count="212" type="cond" truecount="2" falsecount="0"/>
1920
1978
  <line num="89" count="77" type="stmt"/>
1921
1979
  </file>
1922
- </package>
1923
- <package name="api.controllers.table">
1924
- <metrics statements="441" coveredstatements="224" conditionals="230" coveredconditionals="81" methods="57" coveredmethods="27"/>
1980
+ </package>
1981
+ <package name="api.controllers.table">
1982
+ <metrics statements="535" coveredstatements="290" conditionals="285" coveredconditionals="105" methods="78" coveredmethods="42"/>
1983
+ <file name="bulkFormula.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/bulkFormula.js">
1984
+ <metrics statements="76" coveredstatements="53" conditionals="55" coveredconditionals="24" methods="16" coveredmethods="13"/>
1985
+ <line num="1" count="37" type="stmt"/>
1986
+ <line num="2" count="37" type="stmt"/>
1987
+ <line num="3" count="37" type="stmt"/>
1988
+ <line num="4" count="37" type="stmt"/>
1989
+ <line num="5" count="37" type="stmt"/>
1990
+ <line num="6" count="37" type="stmt"/>
1991
+ <line num="7" count="37" type="stmt"/>
1992
+ <line num="10" count="1354" type="stmt"/>
1993
+ <line num="21" count="260" type="stmt"/>
1994
+ <line num="22" count="260" type="cond" truecount="1" falsecount="1"/>
1995
+ <line num="23" count="260" type="stmt"/>
1996
+ <line num="25" count="1094" type="cond" truecount="1" falsecount="1"/>
1997
+ <line num="26" count="1094" type="stmt"/>
1998
+ <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
1999
+ <line num="29" count="0" type="stmt"/>
2000
+ <line num="31" count="0" type="stmt"/>
2001
+ <line num="33" count="260" type="stmt"/>
2002
+ <line num="45" count="103" type="stmt"/>
2003
+ <line num="47" count="103" type="stmt"/>
2004
+ <line num="48" count="236" type="stmt"/>
2005
+ <line num="50" count="103" type="cond" truecount="2" falsecount="0"/>
2006
+ <line num="51" count="103" type="stmt"/>
2007
+ <line num="52" count="263" type="cond" truecount="2" falsecount="0"/>
2008
+ <line num="55" count="103" type="stmt"/>
2009
+ <line num="56" count="227" type="stmt"/>
2010
+ <line num="58" count="227" type="cond" truecount="2" falsecount="0"/>
2011
+ <line num="59" count="2" type="stmt"/>
2012
+ <line num="61" count="227" type="stmt"/>
2013
+ <line num="62" count="227" type="cond" truecount="1" falsecount="1"/>
2014
+ <line num="63" count="0" type="stmt"/>
2015
+ <line num="67" count="227" type="cond" truecount="1" falsecount="1"/>
2016
+ <line num="68" count="227" type="stmt"/>
2017
+ <line num="70" count="0" type="stmt"/>
2018
+ <line num="71" count="0" type="stmt"/>
2019
+ <line num="72" count="0" type="stmt"/>
2020
+ <line num="74" count="0" type="stmt"/>
2021
+ <line num="77" count="0" type="cond" truecount="0" falsecount="5"/>
2022
+ <line num="78" count="0" type="stmt"/>
2023
+ <line num="79" count="0" type="stmt"/>
2024
+ <line num="80" count="0" type="stmt"/>
2025
+ <line num="87" count="0" type="cond" truecount="0" falsecount="2"/>
2026
+ <line num="88" count="0" type="stmt"/>
2027
+ <line num="106" count="103" type="stmt"/>
2028
+ <line num="108" count="103" type="stmt"/>
2029
+ <line num="109" count="236" type="stmt"/>
2030
+ <line num="112" count="103" type="stmt"/>
2031
+ <line num="114" count="103" type="stmt"/>
2032
+ <line num="115" count="265" type="stmt"/>
2033
+ <line num="118" count="103" type="stmt"/>
2034
+ <line num="119" count="135" type="cond" truecount="1" falsecount="1"/>
2035
+ <line num="120" count="135" type="stmt"/>
2036
+ <line num="122" count="0" type="stmt"/>
2037
+ <line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
2038
+ <line num="124" count="0" type="stmt"/>
2039
+ <line num="128" count="103" type="cond" truecount="2" falsecount="0"/>
2040
+ <line num="129" count="101" type="stmt"/>
2041
+ <line num="130" count="33" type="stmt"/>
2042
+ <line num="131" count="33" type="cond" truecount="3" falsecount="1"/>
2043
+ <line num="132" count="33" type="stmt"/>
2044
+ <line num="134" count="0" type="stmt"/>
2045
+ <line num="135" count="0" type="stmt"/>
2046
+ <line num="138" count="0" type="cond" truecount="0" falsecount="2"/>
2047
+ <line num="143" count="0" type="cond" truecount="0" falsecount="2"/>
2048
+ <line num="150" count="103" type="stmt"/>
2049
+ <line num="151" count="178" type="stmt"/>
2050
+ <line num="152" count="135" type="cond" truecount="3" falsecount="1"/>
2051
+ <line num="153" count="0" type="stmt"/>
2052
+ <line num="160" count="101" type="stmt"/>
2053
+ <line num="162" count="260" type="cond" truecount="1" falsecount="3"/>
2054
+ <line num="168" count="101" type="cond" truecount="1" falsecount="1"/>
2055
+ <line num="169" count="0" type="stmt"/>
2056
+ <line num="173" count="37" type="stmt"/>
2057
+ <line num="178" count="103" type="stmt"/>
2058
+ <line num="179" count="103" type="stmt"/>
2059
+ <line num="180" count="103" type="cond" truecount="2" falsecount="0"/>
2060
+ <line num="181" count="101" type="stmt"/>
2061
+ </file>
1925
2062
  <file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/external.js">
1926
2063
  <metrics statements="137" coveredstatements="11" conditionals="76" coveredconditionals="0" methods="14" coveredmethods="0"/>
1927
2064
  <line num="1" count="37" type="stmt"/>
@@ -2063,317 +2200,335 @@
2063
2200
  <line num="306" count="0" type="stmt"/>
2064
2201
  </file>
2065
2202
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/index.js">
2066
- <metrics statements="56" coveredstatements="44" conditionals="23" coveredconditionals="17" methods="10" coveredmethods="7"/>
2203
+ <metrics statements="55" coveredstatements="43" conditionals="23" coveredconditionals="17" methods="9" coveredmethods="6"/>
2067
2204
  <line num="1" count="37" type="stmt"/>
2068
2205
  <line num="2" count="37" type="stmt"/>
2069
2206
  <line num="3" count="37" type="stmt"/>
2070
2207
  <line num="4" count="37" type="stmt"/>
2071
2208
  <line num="5" count="37" type="stmt"/>
2072
- <line num="10" count="37" type="stmt"/>
2073
- <line num="11" count="37" type="stmt"/>
2074
- <line num="14" count="103" type="cond" truecount="4" falsecount="0"/>
2075
- <line num="15" count="101" type="stmt"/>
2076
- <line num="17" count="103" type="cond" truecount="3" falsecount="1"/>
2077
- <line num="18" count="0" type="stmt"/>
2078
- <line num="19" count="103" type="cond" truecount="3" falsecount="1"/>
2079
- <line num="20" count="0" type="stmt"/>
2080
- <line num="22" count="103" type="stmt"/>
2081
- <line num="26" count="37" type="stmt"/>
2209
+ <line num="6" count="37" type="stmt"/>
2210
+ <line num="7" count="37" type="stmt"/>
2211
+ <line num="10" count="103" type="cond" truecount="4" falsecount="0"/>
2212
+ <line num="11" count="101" type="stmt"/>
2213
+ <line num="13" count="103" type="cond" truecount="3" falsecount="1"/>
2214
+ <line num="14" count="0" type="stmt"/>
2215
+ <line num="15" count="103" type="cond" truecount="3" falsecount="1"/>
2216
+ <line num="16" count="0" type="stmt"/>
2217
+ <line num="18" count="103" type="stmt"/>
2218
+ <line num="22" count="37" type="stmt"/>
2219
+ <line num="23" count="1" type="stmt"/>
2220
+ <line num="25" count="1" type="stmt"/>
2082
2221
  <line num="27" count="1" type="stmt"/>
2083
- <line num="29" count="1" type="stmt"/>
2084
- <line num="35" count="2" type="stmt"/>
2085
- <line num="41" count="1" type="stmt"/>
2222
+ <line num="33" count="1" type="stmt"/>
2223
+ <line num="34" count="0" type="stmt"/>
2224
+ <line num="35" count="0" type="cond" truecount="0" falsecount="2"/>
2225
+ <line num="36" count="0" type="stmt"/>
2226
+ <line num="43" count="0" type="stmt"/>
2086
2227
  <line num="47" count="1" type="stmt"/>
2087
- <line num="48" count="0" type="stmt"/>
2088
- <line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
2089
- <line num="50" count="0" type="stmt"/>
2090
- <line num="57" count="0" type="stmt"/>
2091
- <line num="61" count="1" type="stmt"/>
2092
- <line num="64" count="37" type="stmt"/>
2093
- <line num="65" count="19" type="stmt"/>
2094
- <line num="66" count="19" type="stmt"/>
2095
- <line num="69" count="37" type="stmt"/>
2096
- <line num="70" count="101" type="stmt"/>
2097
- <line num="71" count="101" type="stmt"/>
2098
- <line num="72" count="101" type="stmt"/>
2099
- <line num="73" count="101" type="stmt"/>
2100
- <line num="74" count="101" type="stmt"/>
2101
- <line num="75" count="101" type="cond" truecount="2" falsecount="0"/>
2102
- <line num="77" count="101" type="stmt"/>
2103
- <line num="80" count="37" type="stmt"/>
2104
- <line num="81" count="2" type="stmt"/>
2105
- <line num="82" count="2" type="stmt"/>
2106
- <line num="83" count="2" type="stmt"/>
2107
- <line num="84" count="2" type="cond" truecount="2" falsecount="0"/>
2108
- <line num="86" count="2" type="stmt"/>
2109
- <line num="87" count="2" type="stmt"/>
2110
- <line num="90" count="37" type="stmt"/>
2228
+ <line num="50" count="37" type="stmt"/>
2229
+ <line num="51" count="19" type="stmt"/>
2230
+ <line num="52" count="19" type="stmt"/>
2231
+ <line num="55" count="37" type="stmt"/>
2232
+ <line num="56" count="101" type="stmt"/>
2233
+ <line num="57" count="101" type="stmt"/>
2234
+ <line num="58" count="101" type="stmt"/>
2235
+ <line num="59" count="101" type="stmt"/>
2236
+ <line num="60" count="101" type="stmt"/>
2237
+ <line num="61" count="101" type="cond" truecount="2" falsecount="0"/>
2238
+ <line num="63" count="101" type="stmt"/>
2239
+ <line num="66" count="37" type="stmt"/>
2240
+ <line num="67" count="2" type="stmt"/>
2241
+ <line num="68" count="2" type="stmt"/>
2242
+ <line num="69" count="2" type="stmt"/>
2243
+ <line num="70" count="2" type="cond" truecount="2" falsecount="0"/>
2244
+ <line num="72" count="2" type="stmt"/>
2245
+ <line num="73" count="2" type="stmt"/>
2246
+ <line num="76" count="37" type="stmt"/>
2247
+ <line num="77" count="0" type="stmt"/>
2248
+ <line num="78" count="0" type="stmt"/>
2249
+ <line num="82" count="0" type="stmt"/>
2250
+ <line num="83" count="0" type="stmt"/>
2251
+ <line num="86" count="37" type="stmt"/>
2252
+ <line num="88" count="1" type="cond" truecount="1" falsecount="0"/>
2253
+ <line num="90" count="1" type="cond" truecount="1" falsecount="1"/>
2111
2254
  <line num="91" count="0" type="stmt"/>
2112
- <line num="92" count="0" type="stmt"/>
2113
- <line num="96" count="0" type="stmt"/>
2114
- <line num="97" count="0" type="stmt"/>
2115
- <line num="100" count="37" type="stmt"/>
2116
- <line num="102" count="1" type="cond" truecount="1" falsecount="0"/>
2117
- <line num="104" count="1" type="cond" truecount="1" falsecount="1"/>
2118
- <line num="105" count="0" type="stmt"/>
2119
- <line num="107" count="1" type="stmt"/>
2120
- <line num="108" count="1" type="cond" truecount="1" falsecount="1"/>
2121
- <line num="109" count="0" type="stmt"/>
2122
- <line num="111" count="1" type="stmt"/>
2255
+ <line num="93" count="1" type="stmt"/>
2256
+ <line num="94" count="1" type="cond" truecount="1" falsecount="1"/>
2257
+ <line num="95" count="0" type="stmt"/>
2258
+ <line num="97" count="1" type="stmt"/>
2123
2259
  </file>
2124
2260
  <file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/internal.js">
2125
- <metrics statements="62" coveredstatements="49" conditionals="32" coveredconditionals="23" methods="5" coveredmethods="3"/>
2261
+ <metrics statements="67" coveredstatements="54" conditionals="32" coveredconditionals="23" methods="5" coveredmethods="3"/>
2126
2262
  <line num="1" count="37" type="stmt"/>
2127
2263
  <line num="2" count="37" type="stmt"/>
2128
2264
  <line num="3" count="37" type="stmt"/>
2129
2265
  <line num="4" count="37" type="stmt"/>
2130
2266
  <line num="10" count="37" type="stmt"/>
2131
2267
  <line num="11" count="37" type="stmt"/>
2268
+ <line num="12" count="37" type="stmt"/>
2132
2269
  <line num="13" count="37" type="stmt"/>
2133
- <line num="14" count="101" type="stmt"/>
2134
- <line num="15" count="101" type="stmt"/>
2270
+ <line num="15" count="37" type="stmt"/>
2135
2271
  <line num="16" count="101" type="stmt"/>
2136
2272
  <line num="17" count="101" type="stmt"/>
2137
- <line num="26" count="101" type="cond" truecount="4" falsecount="0"/>
2138
- <line num="27" count="4" type="stmt"/>
2139
- <line num="30" count="101" type="cond" truecount="1" falsecount="1"/>
2140
- <line num="31" count="0" type="stmt"/>
2141
- <line num="36" count="101" type="stmt"/>
2142
- <line num="42" count="101" type="stmt"/>
2143
- <line num="46" count="101" type="cond" truecount="4" falsecount="0"/>
2144
- <line num="47" count="4" type="stmt"/>
2145
- <line num="48" count="13" type="stmt"/>
2146
- <line num="49" count="13" type="cond" truecount="3" falsecount="1"/>
2147
- <line num="50" count="0" type="stmt"/>
2148
- <line num="56" count="101" type="stmt"/>
2149
- <line num="69" count="101" type="stmt"/>
2150
- <line num="72" count="101" type="stmt"/>
2151
- <line num="73" count="0" type="stmt"/>
2152
- <line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
2153
- <line num="76" count="0" type="cond" truecount="0" falsecount="4"/>
2154
- <line num="77" count="0" type="stmt"/>
2155
- <line num="81" count="101" type="stmt"/>
2156
- <line num="82" count="101" type="stmt"/>
2157
- <line num="90" count="101" type="cond" truecount="4" falsecount="0"/>
2158
- <line num="91" count="4" type="stmt"/>
2159
- <line num="94" count="0" type="stmt"/>
2160
- <line num="99" count="101" type="stmt"/>
2161
- <line num="100" count="101" type="cond" truecount="4" falsecount="0"/>
2162
- <line num="101" count="1" type="stmt"/>
2163
- <line num="103" count="101" type="stmt"/>
2164
- <line num="104" count="101" type="stmt"/>
2273
+ <line num="18" count="101" type="stmt"/>
2274
+ <line num="19" count="101" type="stmt"/>
2275
+ <line num="28" count="101" type="cond" truecount="4" falsecount="0"/>
2276
+ <line num="29" count="4" type="stmt"/>
2277
+ <line num="32" count="101" type="cond" truecount="1" falsecount="1"/>
2278
+ <line num="33" count="0" type="stmt"/>
2279
+ <line num="38" count="101" type="stmt"/>
2280
+ <line num="44" count="101" type="stmt"/>
2281
+ <line num="48" count="101" type="cond" truecount="4" falsecount="0"/>
2282
+ <line num="49" count="4" type="stmt"/>
2283
+ <line num="50" count="13" type="stmt"/>
2284
+ <line num="51" count="13" type="cond" truecount="3" falsecount="1"/>
2285
+ <line num="52" count="0" type="stmt"/>
2286
+ <line num="58" count="101" type="stmt"/>
2287
+ <line num="71" count="101" type="stmt"/>
2288
+ <line num="74" count="101" type="stmt"/>
2289
+ <line num="75" count="0" type="stmt"/>
2290
+ <line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
2291
+ <line num="78" count="0" type="cond" truecount="0" falsecount="4"/>
2292
+ <line num="79" count="0" type="stmt"/>
2293
+ <line num="83" count="101" type="stmt"/>
2294
+ <line num="84" count="101" type="stmt"/>
2295
+ <line num="92" count="101" type="cond" truecount="4" falsecount="0"/>
2296
+ <line num="93" count="4" type="stmt"/>
2297
+ <line num="96" count="0" type="stmt"/>
2298
+ <line num="101" count="101" type="stmt"/>
2299
+ <line num="102" count="101" type="cond" truecount="4" falsecount="0"/>
2300
+ <line num="103" count="1" type="stmt"/>
2301
+ <line num="105" count="101" type="stmt"/>
2165
2302
  <line num="106" count="101" type="stmt"/>
2166
2303
  <line num="108" count="101" type="stmt"/>
2167
- <line num="111" count="37" type="stmt"/>
2168
- <line num="112" count="2" type="stmt"/>
2169
- <line num="113" count="2" type="stmt"/>
2170
- <line num="114" count="2" type="stmt"/>
2304
+ <line num="110" count="101" type="stmt"/>
2305
+ <line num="111" count="101" type="stmt"/>
2306
+ <line num="114" count="37" type="stmt"/>
2307
+ <line num="115" count="2" type="stmt"/>
2308
+ <line num="116" count="2" type="stmt"/>
2171
2309
  <line num="117" count="2" type="stmt"/>
2172
- <line num="122" count="2" type="stmt"/>
2173
- <line num="123" count="2" type="stmt"/>
2310
+ <line num="120" count="2" type="stmt"/>
2311
+ <line num="125" count="2" type="stmt"/>
2174
2312
  <line num="126" count="2" type="stmt"/>
2175
- <line num="133" count="2" type="stmt"/>
2313
+ <line num="129" count="2" type="stmt"/>
2176
2314
  <line num="136" count="2" type="stmt"/>
2177
- <line num="137" count="2" type="stmt"/>
2178
- <line num="138" count="2" type="stmt"/>
2179
- <line num="140" count="2" type="cond" truecount="1" falsecount="1"/>
2180
- <line num="141" count="0" type="stmt"/>
2181
- <line num="144" count="2" type="stmt"/>
2182
- <line num="147" count="37" type="stmt"/>
2183
- <line num="148" count="0" type="stmt"/>
2184
- <line num="149" count="0" type="stmt"/>
2185
- <line num="150" count="0" type="stmt"/>
2186
- <line num="151" count="0" type="stmt"/>
2187
- <line num="152" count="0" type="stmt"/>
2315
+ <line num="139" count="2" type="stmt"/>
2316
+ <line num="140" count="2" type="stmt"/>
2317
+ <line num="141" count="2" type="stmt"/>
2318
+ <line num="143" count="2" type="cond" truecount="1" falsecount="1"/>
2319
+ <line num="144" count="0" type="stmt"/>
2320
+ <line num="148" count="2" type="stmt"/>
2321
+ <line num="149" count="2" type="stmt"/>
2322
+ <line num="150" count="2" type="stmt"/>
2323
+ <line num="153" count="37" type="stmt"/>
2324
+ <line num="154" count="0" type="stmt"/>
2325
+ <line num="155" count="0" type="stmt"/>
2326
+ <line num="156" count="0" type="stmt"/>
2327
+ <line num="157" count="0" type="stmt"/>
2328
+ <line num="158" count="0" type="stmt"/>
2188
2329
  </file>
2189
2330
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/table/utils.js">
2190
- <metrics statements="186" coveredstatements="120" conditionals="99" coveredconditionals="41" methods="28" coveredmethods="17"/>
2331
+ <metrics statements="200" coveredstatements="129" conditionals="99" coveredconditionals="41" methods="34" coveredmethods="20"/>
2191
2332
  <line num="1" count="37" type="stmt"/>
2192
2333
  <line num="2" count="37" type="stmt"/>
2193
- <line num="7" count="37" type="stmt"/>
2194
- <line num="8" count="37" type="stmt"/>
2195
2334
  <line num="9" count="37" type="stmt"/>
2196
2335
  <line num="10" count="37" type="stmt"/>
2336
+ <line num="11" count="37" type="stmt"/>
2197
2337
  <line num="15" count="37" type="stmt"/>
2198
2338
  <line num="20" count="37" type="stmt"/>
2199
- <line num="21" count="37" type="stmt"/>
2200
- <line num="22" count="37" type="stmt"/>
2201
- <line num="23" count="37" type="stmt"/>
2202
2339
  <line num="25" count="37" type="stmt"/>
2203
- <line num="26" count="101" type="stmt"/>
2204
- <line num="27" count="101" type="stmt"/>
2205
- <line num="28" count="101" type="stmt"/>
2206
- <line num="29" count="101" type="cond" truecount="5" falsecount="0"/>
2207
- <line num="30" count="4" type="stmt"/>
2208
- <line num="31" count="11" type="stmt"/>
2209
- <line num="35" count="101" type="cond" truecount="4" falsecount="0"/>
2210
- <line num="37" count="1" type="stmt"/>
2211
- <line num="42" count="1" type="stmt"/>
2212
- <line num="43" count="1" type="cond" truecount="1" falsecount="1"/>
2213
- <line num="44" count="1" type="stmt"/>
2214
- <line num="45" count="1" type="stmt"/>
2215
- <line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
2216
- <line num="47" count="0" type="stmt"/>
2217
- <line num="49" count="1" type="stmt"/>
2218
- <line num="53" count="1" type="stmt"/>
2219
- <line num="54" count="1" type="stmt"/>
2220
- <line num="56" count="101" type="stmt"/>
2221
- <line num="60" count="37" type="stmt"/>
2222
- <line num="61" count="4" type="cond" truecount="1" falsecount="1"/>
2223
- <line num="62" count="0" type="stmt"/>
2224
- <line num="65" count="4" type="stmt"/>
2225
- <line num="68" count="4" type="stmt"/>
2226
- <line num="69" count="11" type="cond" truecount="1" falsecount="1"/>
2227
- <line num="74" count="0" type="stmt"/>
2228
- <line num="77" count="4" type="stmt"/>
2229
- <line num="80" count="37" type="stmt"/>
2230
- <line num="81" count="102" type="cond" truecount="4" falsecount="0"/>
2231
- <line num="82" count="101" type="stmt"/>
2232
- <line num="85" count="1" type="stmt"/>
2233
- <line num="87" count="1" type="stmt"/>
2234
- <line num="92" count="1" type="stmt"/>
2235
- <line num="93" count="1" type="stmt"/>
2236
- <line num="94" count="1" type="stmt"/>
2237
- <line num="95" count="1" type="stmt"/>
2238
- <line num="96" count="1" type="stmt"/>
2239
- <line num="97" count="1" type="stmt"/>
2240
- <line num="100" count="1" type="stmt"/>
2241
- <line num="101" count="1" type="stmt"/>
2242
- <line num="103" count="1" type="stmt"/>
2243
- <line num="105" count="4" type="cond" truecount="1" falsecount="1"/>
2244
- <line num="110" count="0" type="stmt"/>
2340
+ <line num="26" count="37" type="stmt"/>
2341
+ <line num="27" count="37" type="stmt"/>
2342
+ <line num="28" count="37" type="stmt"/>
2343
+ <line num="29" count="37" type="stmt"/>
2344
+ <line num="31" count="37" type="stmt"/>
2345
+ <line num="32" count="0" type="stmt"/>
2346
+ <line num="33" count="0" type="stmt"/>
2347
+ <line num="38" count="0" type="stmt"/>
2348
+ <line num="40" count="0" type="stmt"/>
2349
+ <line num="41" count="0" type="stmt"/>
2350
+ <line num="46" count="37" type="stmt"/>
2351
+ <line num="47" count="101" type="stmt"/>
2352
+ <line num="48" count="101" type="stmt"/>
2353
+ <line num="49" count="101" type="stmt"/>
2354
+ <line num="50" count="101" type="cond" truecount="5" falsecount="0"/>
2355
+ <line num="51" count="4" type="stmt"/>
2356
+ <line num="52" count="11" type="stmt"/>
2357
+ <line num="56" count="101" type="cond" truecount="4" falsecount="0"/>
2358
+ <line num="58" count="1" type="stmt"/>
2359
+ <line num="63" count="1" type="stmt"/>
2360
+ <line num="64" count="1" type="stmt"/>
2361
+ <line num="65" count="1" type="stmt"/>
2362
+ <line num="66" count="1" type="cond" truecount="1" falsecount="1"/>
2363
+ <line num="67" count="1" type="stmt"/>
2364
+ <line num="68" count="1" type="stmt"/>
2365
+ <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
2366
+ <line num="70" count="0" type="stmt"/>
2367
+ <line num="72" count="1" type="stmt"/>
2368
+ <line num="76" count="1" type="stmt"/>
2369
+ <line num="78" count="1" type="stmt"/>
2370
+ <line num="79" count="1" type="stmt"/>
2371
+ <line num="81" count="101" type="stmt"/>
2372
+ <line num="85" count="37" type="stmt"/>
2373
+ <line num="86" count="4" type="cond" truecount="1" falsecount="1"/>
2374
+ <line num="87" count="0" type="stmt"/>
2375
+ <line num="90" count="4" type="stmt"/>
2376
+ <line num="93" count="4" type="stmt"/>
2377
+ <line num="94" count="11" type="cond" truecount="1" falsecount="1"/>
2378
+ <line num="99" count="0" type="stmt"/>
2379
+ <line num="102" count="4" type="stmt"/>
2380
+ <line num="105" count="37" type="stmt"/>
2381
+ <line num="106" count="102" type="cond" truecount="4" falsecount="0"/>
2382
+ <line num="107" count="101" type="stmt"/>
2383
+ <line num="110" count="1" type="stmt"/>
2384
+ <line num="112" count="1" type="stmt"/>
2245
2385
  <line num="117" count="1" type="stmt"/>
2386
+ <line num="118" count="1" type="stmt"/>
2387
+ <line num="119" count="1" type="stmt"/>
2246
2388
  <line num="120" count="1" type="stmt"/>
2247
- <line num="123" count="1" type="stmt"/>
2248
- <line num="124" count="1" type="stmt"/>
2389
+ <line num="121" count="1" type="stmt"/>
2390
+ <line num="122" count="1" type="stmt"/>
2249
2391
  <line num="125" count="1" type="stmt"/>
2250
2392
  <line num="126" count="1" type="stmt"/>
2251
- <line num="127" count="1" type="stmt"/>
2252
- <line num="130" count="37" type="stmt"/>
2253
- <line num="131" count="101" type="stmt"/>
2254
- <line num="133" count="101" type="cond" truecount="4" falsecount="0"/>
2255
- <line num="134" count="2" type="stmt"/>
2256
- <line num="135" count="2" type="stmt"/>
2257
- <line num="137" count="2" type="stmt"/>
2258
- <line num="138" count="3" type="stmt"/>
2259
- <line num="141" count="2" type="cond" truecount="2" falsecount="0"/>
2393
+ <line num="128" count="1" type="stmt"/>
2394
+ <line num="130" count="4" type="cond" truecount="1" falsecount="1"/>
2395
+ <line num="135" count="0" type="stmt"/>
2260
2396
  <line num="142" count="1" type="stmt"/>
2261
- <line num="143" count="1" type="stmt"/>
2262
- <line num="147" count="1" type="cond" truecount="1" falsecount="1"/>
2397
+ <line num="145" count="1" type="stmt"/>
2263
2398
  <line num="148" count="1" type="stmt"/>
2399
+ <line num="149" count="1" type="stmt"/>
2264
2400
  <line num="150" count="1" type="stmt"/>
2265
- <line num="161" count="1" type="stmt"/>
2266
- <line num="171" count="101" type="stmt"/>
2267
- <line num="174" count="37" type="stmt"/>
2268
- <line num="176" count="101" type="cond" truecount="2" falsecount="0"/>
2269
- <line num="177" count="1" type="stmt"/>
2270
- <line num="179" count="5" type="cond" truecount="1" falsecount="1"/>
2271
- <line num="180" count="5" type="stmt"/>
2272
- <line num="184" count="101" type="stmt"/>
2273
- <line num="189" count="101" type="stmt"/>
2274
- <line num="190" count="101" type="stmt"/>
2275
- <line num="191" count="101" type="cond" truecount="3" falsecount="1"/>
2276
- <line num="192" count="101" type="stmt"/>
2277
- <line num="194" count="101" type="stmt"/>
2278
- <line num="195" count="101" type="stmt"/>
2279
- <line num="197" count="101" type="stmt"/>
2280
- <line num="202" count="101" type="cond" truecount="2" falsecount="0"/>
2281
- <line num="203" count="4" type="stmt"/>
2282
- <line num="205" count="101" type="stmt"/>
2283
- <line num="206" count="101" type="stmt"/>
2284
- <line num="211" count="101" type="stmt"/>
2285
- <line num="216" count="101" type="stmt"/>
2401
+ <line num="151" count="1" type="stmt"/>
2402
+ <line num="152" count="1" type="stmt"/>
2403
+ <line num="155" count="37" type="stmt"/>
2404
+ <line num="156" count="101" type="stmt"/>
2405
+ <line num="158" count="101" type="cond" truecount="4" falsecount="0"/>
2406
+ <line num="159" count="2" type="stmt"/>
2407
+ <line num="160" count="2" type="stmt"/>
2408
+ <line num="162" count="2" type="stmt"/>
2409
+ <line num="163" count="3" type="stmt"/>
2410
+ <line num="166" count="2" type="cond" truecount="2" falsecount="0"/>
2411
+ <line num="167" count="1" type="stmt"/>
2412
+ <line num="168" count="1" type="stmt"/>
2413
+ <line num="172" count="1" type="cond" truecount="1" falsecount="1"/>
2414
+ <line num="173" count="1" type="stmt"/>
2415
+ <line num="175" count="1" type="stmt"/>
2416
+ <line num="186" count="1" type="stmt"/>
2417
+ <line num="196" count="101" type="stmt"/>
2418
+ <line num="199" count="37" type="stmt"/>
2419
+ <line num="201" count="101" type="cond" truecount="2" falsecount="0"/>
2420
+ <line num="202" count="1" type="stmt"/>
2421
+ <line num="204" count="5" type="cond" truecount="1" falsecount="1"/>
2422
+ <line num="205" count="5" type="stmt"/>
2423
+ <line num="209" count="101" type="stmt"/>
2424
+ <line num="214" count="101" type="stmt"/>
2425
+ <line num="215" count="101" type="stmt"/>
2426
+ <line num="216" count="101" type="cond" truecount="3" falsecount="1"/>
2286
2427
  <line num="217" count="101" type="stmt"/>
2428
+ <line num="219" count="101" type="stmt"/>
2429
+ <line num="220" count="101" type="stmt"/>
2287
2430
  <line num="222" count="101" type="stmt"/>
2288
- <line num="223" count="101" type="stmt"/>
2289
- <line num="229" count="101" type="stmt"/>
2290
- <line num="233" count="101" type="stmt"/>
2291
- <line num="237" count="37" type="stmt"/>
2292
- <line num="238" count="0" type="stmt"/>
2293
- <line num="239" count="0" type="stmt"/>
2294
- <line num="240" count="0" type="cond" truecount="0" falsecount="4"/>
2295
- <line num="241" count="0" type="stmt"/>
2296
- <line num="243" count="0" type="stmt"/>
2297
- <line num="246" count="37" type="stmt"/>
2298
- <line num="247" count="0" type="stmt"/>
2299
- <line num="248" count="0" type="stmt"/>
2300
- <line num="251" count="37" type="stmt"/>
2301
- <line num="252" count="30" type="stmt"/>
2302
- <line num="253" count="30" type="cond" truecount="1" falsecount="1"/>
2303
- <line num="254" count="0" type="stmt"/>
2304
- <line num="255" count="0" type="stmt"/>
2305
- <line num="256" count="0" type="stmt"/>
2306
- <line num="257" count="0" type="stmt"/>
2307
- <line num="259" count="30" type="stmt"/>
2431
+ <line num="227" count="101" type="cond" truecount="2" falsecount="0"/>
2432
+ <line num="228" count="4" type="stmt"/>
2433
+ <line num="230" count="101" type="stmt"/>
2434
+ <line num="231" count="101" type="stmt"/>
2435
+ <line num="236" count="101" type="stmt"/>
2436
+ <line num="242" count="101" type="stmt"/>
2437
+ <line num="243" count="101" type="stmt"/>
2438
+ <line num="248" count="101" type="stmt"/>
2439
+ <line num="249" count="101" type="stmt"/>
2440
+ <line num="255" count="101" type="stmt"/>
2441
+ <line num="259" count="101" type="stmt"/>
2308
2442
  <line num="263" count="37" type="stmt"/>
2309
- <line num="264" count="1" type="stmt"/>
2310
- <line num="265" count="1" type="stmt"/>
2311
- <line num="268" count="1" type="stmt"/>
2312
- <line num="269" count="0" type="stmt"/>
2313
- <line num="272" count="0" type="cond" truecount="0" falsecount="2"/>
2314
- <line num="274" count="0" type="cond" truecount="0" falsecount="2"/>
2315
- <line num="275" count="0" type="stmt"/>
2316
- <line num="276" count="0" type="stmt"/>
2317
- <line num="280" count="0" type="cond" truecount="0" falsecount="2"/>
2443
+ <line num="264" count="207" type="stmt"/>
2444
+ <line num="265" count="207" type="stmt"/>
2445
+ <line num="270" count="474" type="stmt"/>
2446
+ <line num="277" count="37" type="stmt"/>
2447
+ <line num="278" count="0" type="stmt"/>
2448
+ <line num="279" count="0" type="stmt"/>
2449
+ <line num="280" count="0" type="cond" truecount="0" falsecount="4"/>
2318
2450
  <line num="281" count="0" type="stmt"/>
2319
- <line num="282" count="0" type="stmt"/>
2320
- <line num="286" count="0" type="cond" truecount="0" falsecount="2"/>
2451
+ <line num="283" count="0" type="stmt"/>
2452
+ <line num="286" count="37" type="stmt"/>
2321
2453
  <line num="287" count="0" type="stmt"/>
2322
- <line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
2323
- <line num="289" count="0" type="stmt"/>
2324
- <line num="290" count="0" type="stmt"/>
2325
- <line num="294" count="0" type="cond" truecount="0" falsecount="2"/>
2454
+ <line num="288" count="0" type="stmt"/>
2455
+ <line num="291" count="37" type="stmt"/>
2456
+ <line num="292" count="30" type="stmt"/>
2457
+ <line num="293" count="30" type="cond" truecount="1" falsecount="1"/>
2458
+ <line num="294" count="0" type="stmt"/>
2326
2459
  <line num="295" count="0" type="stmt"/>
2327
- <line num="297" count="0" type="cond" truecount="0" falsecount="2"/>
2328
- <line num="298" count="0" type="stmt"/>
2329
- <line num="299" count="0" type="stmt"/>
2330
- <line num="300" count="0" type="stmt"/>
2331
- <line num="301" count="0" type="stmt"/>
2332
- <line num="305" count="0" type="cond" truecount="0" falsecount="2"/>
2333
- <line num="306" count="0" type="stmt"/>
2334
- <line num="307" count="0" type="stmt"/>
2335
- <line num="311" count="0" type="cond" truecount="0" falsecount="4"/>
2336
- <line num="312" count="0" type="stmt"/>
2337
- <line num="313" count="0" type="stmt"/>
2338
- <line num="314" count="0" type="stmt"/>
2339
- <line num="316" count="0" type="cond" truecount="0" falsecount="2"/>
2340
- <line num="317" count="0" type="stmt"/>
2341
- <line num="324" count="0" type="cond" truecount="0" falsecount="2"/>
2342
- <line num="325" count="0" type="stmt"/>
2343
- <line num="326" count="0" type="stmt"/>
2344
- <line num="327" count="0" type="cond" truecount="0" falsecount="2"/>
2345
- <line num="328" count="0" type="stmt"/>
2460
+ <line num="296" count="0" type="stmt"/>
2461
+ <line num="297" count="0" type="stmt"/>
2462
+ <line num="299" count="30" type="stmt"/>
2463
+ <line num="303" count="37" type="stmt"/>
2464
+ <line num="304" count="1" type="stmt"/>
2465
+ <line num="305" count="1" type="stmt"/>
2466
+ <line num="308" count="1" type="stmt"/>
2467
+ <line num="309" count="0" type="stmt"/>
2468
+ <line num="312" count="0" type="cond" truecount="0" falsecount="2"/>
2469
+ <line num="314" count="0" type="cond" truecount="0" falsecount="2"/>
2470
+ <line num="315" count="0" type="stmt"/>
2471
+ <line num="316" count="0" type="stmt"/>
2472
+ <line num="320" count="0" type="cond" truecount="0" falsecount="2"/>
2473
+ <line num="321" count="0" type="stmt"/>
2474
+ <line num="322" count="0" type="stmt"/>
2475
+ <line num="326" count="0" type="cond" truecount="0" falsecount="2"/>
2476
+ <line num="327" count="0" type="stmt"/>
2477
+ <line num="328" count="0" type="cond" truecount="0" falsecount="2"/>
2478
+ <line num="329" count="0" type="stmt"/>
2346
2479
  <line num="330" count="0" type="stmt"/>
2347
- <line num="335" count="37" type="stmt"/>
2348
- <line num="336" count="0" type="stmt"/>
2349
- <line num="339" count="37" type="stmt"/>
2480
+ <line num="334" count="0" type="cond" truecount="0" falsecount="2"/>
2481
+ <line num="335" count="0" type="stmt"/>
2482
+ <line num="337" count="0" type="cond" truecount="0" falsecount="2"/>
2483
+ <line num="338" count="0" type="stmt"/>
2484
+ <line num="339" count="0" type="stmt"/>
2350
2485
  <line num="340" count="0" type="stmt"/>
2351
- <line num="343" count="37" type="cond" truecount="0" falsecount="1"/>
2352
- <line num="344" count="0" type="stmt"/>
2353
- <line num="349" count="0" type="cond" truecount="0" falsecount="2"/>
2354
- <line num="350" count="0" type="stmt"/>
2486
+ <line num="341" count="0" type="stmt"/>
2487
+ <line num="345" count="0" type="cond" truecount="0" falsecount="2"/>
2488
+ <line num="346" count="0" type="stmt"/>
2489
+ <line num="347" count="0" type="stmt"/>
2490
+ <line num="351" count="0" type="cond" truecount="0" falsecount="4"/>
2355
2491
  <line num="352" count="0" type="stmt"/>
2356
- <line num="355" count="37" type="stmt"/>
2492
+ <line num="353" count="0" type="stmt"/>
2493
+ <line num="354" count="0" type="stmt"/>
2357
2494
  <line num="356" count="0" type="cond" truecount="0" falsecount="2"/>
2358
- <line num="360" count="0" type="stmt"/>
2359
- <line num="362" count="0" type="stmt"/>
2360
- <line num="363" count="0" type="stmt"/>
2361
- <line num="364" count="0" type="stmt"/>
2362
- <line num="365" count="0" type="cond" truecount="0" falsecount="5"/>
2495
+ <line num="357" count="0" type="stmt"/>
2496
+ <line num="364" count="0" type="cond" truecount="0" falsecount="2"/>
2497
+ <line num="365" count="0" type="stmt"/>
2363
2498
  <line num="366" count="0" type="stmt"/>
2364
- <line num="369" count="0" type="stmt"/>
2365
- <line num="372" count="37" type="stmt"/>
2366
- <line num="373" count="101" type="cond" truecount="2" falsecount="0"/>
2367
- <line num="374" count="97" type="stmt"/>
2368
- <line num="376" count="4" type="stmt"/>
2369
- <line num="377" count="11" type="stmt"/>
2370
- <line num="378" count="11" type="cond" truecount="2" falsecount="0"/>
2371
- <line num="379" count="7" type="stmt"/>
2372
- <line num="381" count="4" type="stmt"/>
2373
- <line num="382" count="4" type="cond" truecount="2" falsecount="2"/>
2374
- <line num="383" count="0" type="stmt"/>
2375
- <line num="386" count="4" type="stmt"/>
2376
- <line num="389" count="37" type="stmt"/>
2499
+ <line num="367" count="0" type="cond" truecount="0" falsecount="2"/>
2500
+ <line num="368" count="0" type="stmt"/>
2501
+ <line num="370" count="0" type="stmt"/>
2502
+ <line num="375" count="37" type="stmt"/>
2503
+ <line num="376" count="0" type="stmt"/>
2504
+ <line num="379" count="37" type="stmt"/>
2505
+ <line num="380" count="0" type="stmt"/>
2506
+ <line num="383" count="37" type="cond" truecount="0" falsecount="1"/>
2507
+ <line num="384" count="0" type="stmt"/>
2508
+ <line num="389" count="0" type="cond" truecount="0" falsecount="2"/>
2509
+ <line num="390" count="0" type="stmt"/>
2510
+ <line num="392" count="0" type="stmt"/>
2511
+ <line num="395" count="37" type="stmt"/>
2512
+ <line num="396" count="0" type="cond" truecount="0" falsecount="2"/>
2513
+ <line num="400" count="0" type="stmt"/>
2514
+ <line num="402" count="0" type="stmt"/>
2515
+ <line num="403" count="0" type="stmt"/>
2516
+ <line num="404" count="0" type="stmt"/>
2517
+ <line num="405" count="0" type="cond" truecount="0" falsecount="5"/>
2518
+ <line num="406" count="0" type="stmt"/>
2519
+ <line num="409" count="0" type="stmt"/>
2520
+ <line num="412" count="37" type="stmt"/>
2521
+ <line num="413" count="101" type="cond" truecount="2" falsecount="0"/>
2522
+ <line num="414" count="97" type="stmt"/>
2523
+ <line num="416" count="4" type="stmt"/>
2524
+ <line num="417" count="11" type="stmt"/>
2525
+ <line num="418" count="11" type="cond" truecount="2" falsecount="0"/>
2526
+ <line num="419" count="7" type="stmt"/>
2527
+ <line num="421" count="4" type="stmt"/>
2528
+ <line num="422" count="4" type="cond" truecount="2" falsecount="2"/>
2529
+ <line num="423" count="0" type="stmt"/>
2530
+ <line num="426" count="4" type="stmt"/>
2531
+ <line num="429" count="37" type="stmt"/>
2377
2532
  </file>
2378
2533
  </package>
2379
2534
  <package name="api.controllers.view">
@@ -3489,9 +3644,9 @@
3489
3644
  </file>
3490
3645
  </package>
3491
3646
  <package name="constants">
3492
- <metrics statements="31" coveredstatements="31" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
3647
+ <metrics statements="32" coveredstatements="32" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
3493
3648
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
3494
- <metrics statements="24" coveredstatements="24" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
3649
+ <metrics statements="25" coveredstatements="25" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
3495
3650
  <line num="1" count="45" type="stmt"/>
3496
3651
  <line num="2" count="45" type="stmt"/>
3497
3652
  <line num="3" count="45" type="stmt"/>
@@ -3505,17 +3660,18 @@
3505
3660
  <line num="55" count="90" type="cond" truecount="1" falsecount="1"/>
3506
3661
  <line num="58" count="45" type="stmt"/>
3507
3662
  <line num="64" count="45" type="stmt"/>
3508
- <line num="70" count="45" type="stmt"/>
3509
- <line num="81" count="45" type="stmt"/>
3510
- <line num="85" count="45" type="stmt"/>
3663
+ <line num="69" count="45" type="stmt"/>
3664
+ <line num="75" count="45" type="stmt"/>
3665
+ <line num="86" count="45" type="stmt"/>
3511
3666
  <line num="90" count="45" type="stmt"/>
3512
- <line num="152" count="45" type="stmt"/>
3513
- <line num="160" count="45" type="stmt"/>
3514
- <line num="161" count="45" type="stmt"/>
3515
- <line num="168" count="45" type="stmt"/>
3667
+ <line num="95" count="45" type="stmt"/>
3668
+ <line num="157" count="45" type="stmt"/>
3669
+ <line num="165" count="45" type="stmt"/>
3670
+ <line num="166" count="45" type="stmt"/>
3516
3671
  <line num="173" count="45" type="stmt"/>
3517
- <line num="179" count="45" type="stmt"/>
3518
- <line num="185" count="45" type="stmt"/>
3672
+ <line num="178" count="45" type="stmt"/>
3673
+ <line num="184" count="45" type="stmt"/>
3674
+ <line num="190" count="45" type="stmt"/>
3519
3675
  </file>
3520
3676
  <file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
3521
3677
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -3620,12 +3776,12 @@
3620
3776
  <line num="85" count="52" type="stmt"/>
3621
3777
  <line num="87" count="52" type="stmt"/>
3622
3778
  <line num="88" count="74" type="stmt"/>
3623
- <line num="104" count="649" type="cond" truecount="2" falsecount="0"/>
3624
- <line num="105" count="636" type="stmt"/>
3625
- <line num="107" count="649" type="stmt"/>
3779
+ <line num="104" count="855" type="cond" truecount="2" falsecount="0"/>
3780
+ <line num="105" count="842" type="stmt"/>
3781
+ <line num="107" count="855" type="stmt"/>
3626
3782
  <line num="114" count="52" type="stmt"/>
3627
3783
  <line num="119" count="52" type="cond" truecount="0" falsecount="2"/>
3628
- <line num="120" count="3" type="stmt"/>
3784
+ <line num="120" count="209" type="stmt"/>
3629
3785
  <line num="127" count="52" type="stmt"/>
3630
3786
  <line num="128" count="101" type="stmt"/>
3631
3787
  <line num="139" count="52" type="cond" truecount="0" falsecount="3"/>
@@ -3705,7 +3861,7 @@
3705
3861
  </file>
3706
3862
  </package>
3707
3863
  <package name="db.linkedRows">
3708
- <metrics statements="300" coveredstatements="290" conditionals="136" coveredconditionals="117" methods="60" coveredmethods="57"/>
3864
+ <metrics statements="299" coveredstatements="289" conditionals="136" coveredconditionals="117" methods="60" coveredmethods="57"/>
3709
3865
  <file name="LinkController.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/LinkController.js">
3710
3866
  <metrics statements="151" coveredstatements="146" conditionals="68" coveredconditionals="60" methods="27" coveredmethods="24"/>
3711
3867
  <line num="1" count="37" type="stmt"/>
@@ -3861,7 +4017,7 @@
3861
4017
  <line num="468" count="37" type="stmt"/>
3862
4018
  </file>
3863
4019
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/index.js">
3864
- <metrics statements="96" coveredstatements="92" conditionals="42" coveredconditionals="34" methods="20" coveredmethods="20"/>
4020
+ <metrics statements="95" coveredstatements="91" conditionals="42" coveredconditionals="34" methods="20" coveredmethods="20"/>
3865
4021
  <line num="1" count="37" type="stmt"/>
3866
4022
  <line num="10" count="37" type="stmt"/>
3867
4023
  <line num="11" count="37" type="stmt"/>
@@ -3920,44 +4076,43 @@
3920
4076
  <line num="142" count="0" type="stmt"/>
3921
4077
  <line num="154" count="37" type="stmt"/>
3922
4078
  <line num="155" count="103" type="stmt"/>
3923
- <line num="156" count="103" type="stmt"/>
3924
- <line num="157" count="103" type="cond" truecount="2" falsecount="0"/>
3925
- <line num="158" count="73" type="stmt"/>
3926
- <line num="161" count="30" type="stmt"/>
3927
- <line num="163" count="30" type="stmt"/>
3928
- <line num="164" count="25" type="stmt"/>
3929
- <line num="167" count="30" type="stmt"/>
4079
+ <line num="156" count="103" type="cond" truecount="2" falsecount="0"/>
4080
+ <line num="157" count="73" type="stmt"/>
4081
+ <line num="160" count="30" type="stmt"/>
4082
+ <line num="162" count="30" type="stmt"/>
4083
+ <line num="163" count="25" type="stmt"/>
4084
+ <line num="166" count="30" type="stmt"/>
4085
+ <line num="168" count="30" type="stmt"/>
3930
4086
  <line num="169" count="30" type="stmt"/>
3931
4087
  <line num="170" count="30" type="stmt"/>
3932
4088
  <line num="171" count="30" type="stmt"/>
3933
- <line num="172" count="30" type="stmt"/>
3934
- <line num="173" count="18" type="cond" truecount="1" falsecount="1"/>
3935
- <line num="174" count="18" type="stmt"/>
3936
- <line num="176" count="18" type="stmt"/>
3937
- <line num="177" count="18" type="cond" truecount="1" falsecount="1"/>
3938
- <line num="179" count="18" type="cond" truecount="1" falsecount="1"/>
3939
- <line num="180" count="18" type="stmt"/>
3940
- <line num="185" count="18" type="cond" truecount="1" falsecount="1"/>
3941
- <line num="186" count="18" type="stmt"/>
3942
- <line num="191" count="30" type="stmt"/>
3943
- <line num="201" count="37" type="stmt"/>
3944
- <line num="202" count="26" type="stmt"/>
4089
+ <line num="172" count="18" type="cond" truecount="1" falsecount="1"/>
4090
+ <line num="173" count="18" type="stmt"/>
4091
+ <line num="175" count="18" type="stmt"/>
4092
+ <line num="176" count="18" type="cond" truecount="1" falsecount="1"/>
4093
+ <line num="178" count="18" type="cond" truecount="1" falsecount="1"/>
4094
+ <line num="179" count="18" type="stmt"/>
4095
+ <line num="184" count="18" type="cond" truecount="1" falsecount="1"/>
4096
+ <line num="185" count="18" type="stmt"/>
4097
+ <line num="190" count="30" type="stmt"/>
4098
+ <line num="200" count="37" type="stmt"/>
4099
+ <line num="201" count="26" type="stmt"/>
4100
+ <line num="203" count="26" type="stmt"/>
3945
4101
  <line num="204" count="26" type="stmt"/>
3946
- <line num="205" count="26" type="stmt"/>
4102
+ <line num="206" count="32" type="stmt"/>
3947
4103
  <line num="207" count="32" type="stmt"/>
3948
- <line num="208" count="32" type="stmt"/>
3949
- <line num="209" count="103" type="cond" truecount="4" falsecount="0"/>
3950
- <line num="210" count="94" type="stmt"/>
4104
+ <line num="208" count="103" type="cond" truecount="4" falsecount="0"/>
4105
+ <line num="209" count="94" type="stmt"/>
4106
+ <line num="211" count="9" type="stmt"/>
3951
4107
  <line num="212" count="9" type="stmt"/>
3952
- <line num="213" count="9" type="stmt"/>
3953
- <line num="214" count="9" type="cond" truecount="1" falsecount="1"/>
4108
+ <line num="213" count="9" type="cond" truecount="1" falsecount="1"/>
4109
+ <line num="214" count="9" type="stmt"/>
3954
4110
  <line num="215" count="9" type="stmt"/>
3955
- <line num="216" count="9" type="stmt"/>
3956
- <line num="217" count="9" type="cond" truecount="2" falsecount="0"/>
3957
- <line num="218" count="8" type="stmt"/>
3958
- <line num="220" count="9" type="stmt"/>
3959
- <line num="222" count="9" type="stmt"/>
3960
- <line num="225" count="26" type="stmt"/>
4111
+ <line num="216" count="9" type="cond" truecount="2" falsecount="0"/>
4112
+ <line num="217" count="8" type="stmt"/>
4113
+ <line num="219" count="9" type="stmt"/>
4114
+ <line num="221" count="9" type="stmt"/>
4115
+ <line num="224" count="26" type="stmt"/>
3961
4116
  </file>
3962
4117
  <file name="linkUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/linkUtils.js">
3963
4118
  <metrics statements="53" coveredstatements="52" conditionals="26" coveredconditionals="23" methods="13" coveredmethods="13"/>
@@ -5089,9 +5244,9 @@
5089
5244
  </file>
5090
5245
  </package>
5091
5246
  <package name="utilities.rowProcessor">
5092
- <metrics statements="131" coveredstatements="84" conditionals="100" coveredconditionals="48" methods="21" coveredmethods="11"/>
5247
+ <metrics statements="140" coveredstatements="86" conditionals="118" coveredconditionals="52" methods="21" coveredmethods="11"/>
5093
5248
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
5094
- <metrics statements="120" coveredstatements="74" conditionals="94" coveredconditionals="43" methods="19" coveredmethods="10"/>
5249
+ <metrics statements="123" coveredstatements="74" conditionals="100" coveredconditionals="43" methods="20" coveredmethods="10"/>
5095
5250
  <line num="1" count="37" type="stmt"/>
5096
5251
  <line num="2" count="37" type="stmt"/>
5097
5252
  <line num="3" count="37" type="stmt"/>
@@ -5149,83 +5304,92 @@
5149
5304
  <line num="176" count="0" type="stmt"/>
5150
5305
  <line num="179" count="76" type="stmt"/>
5151
5306
  <line num="181" count="37" type="stmt"/>
5152
- <line num="189" count="37" type="stmt"/>
5153
- <line num="191" count="180" type="cond" truecount="1" falsecount="1"/>
5154
- <line num="192" count="0" type="stmt"/>
5155
- <line num="195" count="180" type="cond" truecount="2" falsecount="0"/>
5156
- <line num="196" count="16" type="stmt"/>
5157
- <line num="197" count="164" type="cond" truecount="2" falsecount="0"/>
5158
- <line num="198" count="22" type="stmt"/>
5159
- <line num="201" count="142" type="stmt"/>
5160
- <line num="213" count="37" type="stmt"/>
5161
- <line num="219" count="76" type="stmt"/>
5307
+ <line num="183" count="37" type="stmt"/>
5308
+ <line num="191" count="37" type="stmt"/>
5309
+ <line num="193" count="180" type="cond" truecount="1" falsecount="1"/>
5310
+ <line num="194" count="0" type="stmt"/>
5311
+ <line num="197" count="180" type="cond" truecount="2" falsecount="0"/>
5312
+ <line num="198" count="16" type="stmt"/>
5313
+ <line num="199" count="164" type="cond" truecount="2" falsecount="0"/>
5314
+ <line num="200" count="22" type="stmt"/>
5315
+ <line num="203" count="142" type="stmt"/>
5316
+ <line num="215" count="37" type="stmt"/>
5162
5317
  <line num="221" count="76" type="stmt"/>
5163
- <line num="222" count="76" type="stmt"/>
5164
5318
  <line num="223" count="76" type="stmt"/>
5165
- <line num="224" count="344" type="stmt"/>
5166
- <line num="226" count="344" type="cond" truecount="2" falsecount="0"/>
5167
- <line num="227" count="165" type="cond" truecount="2" falsecount="0"/>
5168
- <line num="228" count="3" type="stmt"/>
5169
- <line num="230" count="165" type="stmt"/>
5170
- <line num="234" count="179" type="cond" truecount="1" falsecount="1"/>
5171
- <line num="235" count="0" type="stmt"/>
5172
- <line num="237" count="179" type="stmt"/>
5173
- <line num="241" count="76" type="cond" truecount="4" falsecount="0"/>
5174
- <line num="242" count="71" type="stmt"/>
5175
- <line num="243" count="71" type="stmt"/>
5176
- <line num="247" count="76" type="stmt"/>
5177
- <line num="260" count="37" type="stmt"/>
5178
- <line num="266" count="103" type="stmt"/>
5179
- <line num="267" count="103" type="stmt"/>
5180
- <line num="268" count="103" type="cond" truecount="2" falsecount="0"/>
5181
- <line num="269" count="90" type="stmt"/>
5182
- <line num="270" count="90" type="stmt"/>
5183
- <line num="273" count="103" type="stmt"/>
5184
- <line num="276" count="103" type="stmt"/>
5185
- <line num="279" count="103" type="stmt"/>
5186
- <line num="280" count="302" type="cond" truecount="2" falsecount="0"/>
5187
- <line num="281" count="8" type="stmt"/>
5188
- <line num="282" count="8" type="cond" truecount="4" falsecount="0"/>
5189
- <line num="283" count="6" type="stmt"/>
5190
- <line num="285" count="2" type="stmt"/>
5191
- <line num="286" count="2" type="stmt"/>
5192
- <line num="291" count="103" type="cond" truecount="2" falsecount="0"/>
5193
- <line num="292" count="26" type="stmt"/>
5194
- <line num="298" count="103" type="cond" truecount="2" falsecount="0"/>
5195
- <line num="310" count="37" type="stmt"/>
5196
- <line num="311" count="8" type="cond" truecount="1" falsecount="1"/>
5197
- <line num="312" count="8" type="stmt"/>
5198
- <line num="314" count="8" type="stmt"/>
5199
- <line num="315" count="8" type="cond" truecount="1" falsecount="1"/>
5200
- <line num="316" count="8" type="stmt"/>
5201
- <line num="319" count="0" type="stmt"/>
5202
- <line num="321" count="0" type="cond" truecount="0" falsecount="2"/>
5203
- <line num="322" count="0" type="stmt"/>
5204
- <line num="325" count="0" type="stmt"/>
5205
- <line num="326" count="0" type="cond" truecount="0" falsecount="2"/>
5319
+ <line num="224" count="76" type="stmt"/>
5320
+ <line num="225" count="76" type="stmt"/>
5321
+ <line num="226" count="344" type="stmt"/>
5322
+ <line num="228" count="344" type="cond" truecount="2" falsecount="0"/>
5323
+ <line num="229" count="165" type="cond" truecount="2" falsecount="0"/>
5324
+ <line num="230" count="3" type="stmt"/>
5325
+ <line num="232" count="165" type="stmt"/>
5326
+ <line num="235" count="179" type="cond" truecount="1" falsecount="1"/>
5327
+ <line num="236" count="0" type="stmt"/>
5328
+ <line num="240" count="179" type="stmt"/>
5329
+ <line num="244" count="76" type="cond" truecount="4" falsecount="0"/>
5330
+ <line num="245" count="71" type="stmt"/>
5331
+ <line num="246" count="71" type="stmt"/>
5332
+ <line num="250" count="76" type="stmt"/>
5333
+ <line num="263" count="37" type="stmt"/>
5334
+ <line num="269" count="103" type="stmt"/>
5335
+ <line num="270" count="103" type="cond" truecount="2" falsecount="0"/>
5336
+ <line num="271" count="90" type="stmt"/>
5337
+ <line num="272" count="90" type="stmt"/>
5338
+ <line num="275" count="103" type="stmt"/>
5339
+ <line num="278" count="103" type="stmt"/>
5340
+ <line num="281" count="103" type="stmt"/>
5341
+ <line num="282" count="302" type="cond" truecount="2" falsecount="0"/>
5342
+ <line num="283" count="8" type="stmt"/>
5343
+ <line num="284" count="8" type="cond" truecount="4" falsecount="0"/>
5344
+ <line num="285" count="6" type="stmt"/>
5345
+ <line num="287" count="2" type="stmt"/>
5346
+ <line num="288" count="2" type="stmt"/>
5347
+ <line num="293" count="103" type="cond" truecount="2" falsecount="0"/>
5348
+ <line num="294" count="26" type="stmt"/>
5349
+ <line num="300" count="103" type="cond" truecount="2" falsecount="0"/>
5350
+ <line num="314" count="37" type="stmt"/>
5351
+ <line num="319" count="11" type="cond" truecount="1" falsecount="1"/>
5352
+ <line num="320" count="11" type="stmt"/>
5353
+ <line num="322" count="11" type="stmt"/>
5354
+ <line num="323" count="11" type="cond" truecount="1" falsecount="1"/>
5355
+ <line num="324" count="11" type="stmt"/>
5206
5356
  <line num="327" count="0" type="stmt"/>
5207
- <line num="330" count="0" type="cond" truecount="0" falsecount="4"/>
5208
- <line num="331" count="0" type="stmt"/>
5209
- <line num="332" count="0" type="cond" truecount="0" falsecount="2"/>
5210
- <line num="333" count="0" type="stmt"/>
5211
- <line num="334" count="0" type="cond" truecount="0" falsecount="2"/>
5212
- <line num="335" count="0" type="stmt"/>
5213
- <line num="338" count="0" type="cond" truecount="0" falsecount="2"/>
5214
- <line num="339" count="0" type="stmt"/>
5357
+ <line num="329" count="0" type="cond" truecount="0" falsecount="2"/>
5358
+ <line num="330" count="0" type="stmt"/>
5359
+ <line num="333" count="0" type="cond" truecount="0" falsecount="2"/>
5360
+ <line num="334" count="0" type="stmt"/>
5361
+ <line num="335" count="0" type="cond" truecount="0" falsecount="2"/>
5362
+ <line num="336" count="0" type="stmt"/>
5363
+ <line num="339" count="0" type="cond" truecount="0" falsecount="4"/>
5364
+ <line num="340" count="0" type="stmt"/>
5365
+ <line num="341" count="0" type="cond" truecount="0" falsecount="4"/>
5366
+ <line num="343" count="0" type="stmt"/>
5367
+ <line num="344" count="0" type="cond" truecount="0" falsecount="2"/>
5368
+ <line num="345" count="0" type="stmt"/>
5369
+ <line num="346" count="0" type="cond" truecount="0" falsecount="2"/>
5370
+ <line num="347" count="0" type="stmt"/>
5371
+ <line num="350" count="0" type="cond" truecount="0" falsecount="2"/>
5372
+ <line num="351" count="0" type="stmt"/>
5215
5373
  </file>
5216
5374
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
5217
- <metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="5" methods="2" coveredmethods="1"/>
5375
+ <metrics statements="17" coveredstatements="12" conditionals="18" coveredconditionals="9" methods="1" coveredmethods="1"/>
5218
5376
  <line num="1" count="37" type="stmt"/>
5219
5377
  <line num="2" count="37" type="stmt"/>
5220
5378
  <line num="7" count="37" type="stmt"/>
5221
- <line num="8" count="121" type="stmt"/>
5222
- <line num="9" count="121" type="cond" truecount="2" falsecount="0"/>
5223
- <line num="10" count="18" type="stmt"/>
5224
- <line num="12" count="121" type="stmt"/>
5225
- <line num="13" count="370" type="cond" truecount="1" falsecount="1"/>
5226
- <line num="14" count="370" type="stmt"/>
5227
- <line num="17" count="0" type="stmt"/>
5228
- <line num="22" count="121" type="cond" truecount="2" falsecount="0"/>
5379
+ <line num="12" count="267" type="stmt"/>
5380
+ <line num="13" count="267" type="cond" truecount="2" falsecount="0"/>
5381
+ <line num="14" count="164" type="stmt"/>
5382
+ <line num="15" count="164" type="cond" truecount="2" falsecount="0"/>
5383
+ <line num="17" count="267" type="stmt"/>
5384
+ <line num="18" count="776" type="stmt"/>
5385
+ <line num="19" count="776" type="cond" truecount="1" falsecount="1"/>
5386
+ <line num="24" count="776" type="stmt"/>
5387
+ <line num="27" count="0" type="stmt"/>
5388
+ <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
5389
+ <line num="29" count="0" type="stmt"/>
5390
+ <line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
5391
+ <line num="31" count="0" type="stmt"/>
5392
+ <line num="38" count="267" type="cond" truecount="2" falsecount="0"/>
5229
5393
  </file>
5230
5394
  </package>
5231
5395
  <package name="utilities.usageQuota">