@budibase/server 1.0.152 → 1.0.155-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/builder/assets/{index.4f24612c.js → index.e842b667.js} +154 -154
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +155 -134
  4. package/coverage/coverage-final.json +5 -5
  5. package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
  6. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/index.html +1 -1
  15. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  35. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/exporters.js.html +3 -3
  39. package/coverage/lcov-report/api/controllers/view/index.html +4 -4
  40. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  44. package/coverage/lcov-report/api/index.html +1 -1
  45. package/coverage/lcov-report/api/index.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/index.html +1 -1
  57. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  71. package/coverage/lcov-report/api/routes/utils/validators.js.html +2 -5
  72. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  74. package/coverage/lcov-report/automations/actions.js.html +1 -1
  75. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  76. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  77. package/coverage/lcov-report/automations/index.html +1 -1
  78. package/coverage/lcov-report/automations/index.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/index.html +1 -1
  86. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/queryRows.js.html +5 -2
  90. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  105. package/coverage/lcov-report/constants/index.html +5 -5
  106. package/coverage/lcov-report/constants/index.js.html +19 -4
  107. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  108. package/coverage/lcov-report/constants/screens.js.html +1 -1
  109. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  110. package/coverage/lcov-report/db/index.html +1 -1
  111. package/coverage/lcov-report/db/index.js.html +1 -1
  112. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  113. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  114. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  115. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  116. package/coverage/lcov-report/db/newid.js.html +1 -1
  117. package/coverage/lcov-report/db/utils.js.html +1 -1
  118. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  119. package/coverage/lcov-report/events/index.html +1 -1
  120. package/coverage/lcov-report/events/index.js.html +1 -1
  121. package/coverage/lcov-report/events/utils.js.html +1 -1
  122. package/coverage/lcov-report/index.html +23 -23
  123. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  124. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  125. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  126. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  127. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  128. package/coverage/lcov-report/middleware/index.html +1 -1
  129. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  130. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  131. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  132. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  133. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  134. package/coverage/lcov-report/threads/automation.js.html +117 -63
  135. package/coverage/lcov-report/threads/index.html +19 -19
  136. package/coverage/lcov-report/threads/query.js.html +1 -1
  137. package/coverage/lcov-report/threads/utils.js.html +1 -1
  138. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  139. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  140. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  141. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  142. package/coverage/lcov-report/utilities/global.js.html +1 -1
  143. package/coverage/lcov-report/utilities/index.html +1 -1
  144. package/coverage/lcov-report/utilities/index.js.html +1 -1
  145. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  146. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  147. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  148. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  149. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  150. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  151. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  152. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  153. package/coverage/lcov-report/utilities/security.js.html +1 -1
  154. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  155. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  156. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  157. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  158. package/coverage/lcov-report/utilities/users.js.html +1 -1
  159. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  160. package/coverage/lcov.info +267 -230
  161. package/dist/api/controllers/view/exporters.js +1 -1
  162. package/dist/api/routes/utils/validators.js +0 -1
  163. package/dist/automations/steps/queryRows.js +1 -0
  164. package/dist/constants/index.js +4 -0
  165. package/dist/package.json +5 -5
  166. package/dist/threads/automation.js +46 -21
  167. package/dist/tsconfig.build.tsbuildinfo +1 -1
  168. package/package.json +6 -6
  169. package/src/api/controllers/view/exporters.js +1 -1
  170. package/src/api/routes/utils/validators.js +0 -1
  171. package/src/automations/steps/queryRows.js +1 -0
  172. package/src/constants/index.js +5 -0
  173. package/src/threads/automation.js +49 -31
@@ -10,7 +10,7 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.4f24612c.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.e842b667.js"></script>
14
14
  <link rel="modulepreload" href="/builder/assets/vendor.5240f480.js">
15
15
  <link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
16
16
  <link rel="stylesheet" href="/builder/assets/index.bb5e3dfd.css">
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1652267676663" clover="3.2.0">
3
- <project timestamp="1652267676663" name="All files">
4
- <metrics statements="4130" coveredstatements="2972" conditionals="1694" coveredconditionals="873" methods="609" coveredmethods="427" elements="6433" coveredelements="4272" complexity="0" loc="4130" ncloc="4130" packages="23" files="131" classes="131"/>
2
+ <coverage generated="1652295365948" clover="3.2.0">
3
+ <project timestamp="1652295365949" name="All files">
4
+ <metrics statements="4151" coveredstatements="2973" conditionals="1706" coveredconditionals="873" methods="611" coveredmethods="427" elements="6468" coveredelements="4273" complexity="0" loc="4151" ncloc="4151" packages="23" files="131" classes="131"/>
5
5
  <package name="api">
6
6
  <metrics statements="33" coveredstatements="31" conditionals="5" coveredconditionals="2" methods="4" coveredmethods="4"/>
7
7
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
@@ -1917,9 +1917,9 @@
1917
1917
  </file>
1918
1918
  </package>
1919
1919
  <package name="api.controllers.view">
1920
- <metrics statements="193" coveredstatements="143" conditionals="83" coveredconditionals="53" methods="25" coveredmethods="18"/>
1920
+ <metrics statements="193" coveredstatements="143" conditionals="85" coveredconditionals="54" methods="25" coveredmethods="18"/>
1921
1921
  <file name="exporters.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.js">
1922
- <metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="4"/>
1922
+ <metrics statements="11" coveredstatements="11" conditionals="4" coveredconditionals="2" methods="4" coveredmethods="4"/>
1923
1923
  <line num="1" count="41" type="stmt"/>
1924
1924
  <line num="2" count="2" type="stmt"/>
1925
1925
  <line num="4" count="1" type="stmt"/>
@@ -2426,11 +2426,11 @@
2426
2426
  <line num="151" count="48" type="stmt"/>
2427
2427
  <line num="158" count="24" type="stmt"/>
2428
2428
  <line num="160" count="24" type="stmt"/>
2429
- <line num="181" count="96" type="stmt"/>
2430
- <line num="194" count="24" type="cond" truecount="0" falsecount="1"/>
2431
- <line num="196" count="48" type="stmt"/>
2432
- <line num="208" count="24" type="stmt"/>
2433
- <line num="210" count="48" type="stmt"/>
2429
+ <line num="180" count="96" type="stmt"/>
2430
+ <line num="193" count="24" type="cond" truecount="0" falsecount="1"/>
2431
+ <line num="195" count="48" type="stmt"/>
2432
+ <line num="207" count="24" type="stmt"/>
2433
+ <line num="209" count="48" type="stmt"/>
2434
2434
  </file>
2435
2435
  </package>
2436
2436
  <package name="automations">
@@ -2764,21 +2764,21 @@
2764
2764
  <line num="7" count="41" type="stmt"/>
2765
2765
  <line num="12" count="41" type="stmt"/>
2766
2766
  <line num="17" count="41" type="stmt"/>
2767
- <line num="75" count="1" type="stmt"/>
2768
- <line num="80" count="1" type="stmt"/>
2767
+ <line num="76" count="1" type="stmt"/>
2769
2768
  <line num="81" count="1" type="stmt"/>
2770
- <line num="84" count="41" type="stmt"/>
2771
- <line num="85" count="1" type="stmt"/>
2769
+ <line num="82" count="1" type="stmt"/>
2770
+ <line num="85" count="41" type="stmt"/>
2772
2771
  <line num="86" count="1" type="stmt"/>
2773
2772
  <line num="87" count="1" type="stmt"/>
2774
- <line num="88" count="1" type="cond" truecount="5" falsecount="1"/>
2775
- <line num="89" count="1" type="stmt"/>
2773
+ <line num="88" count="1" type="stmt"/>
2774
+ <line num="89" count="1" type="cond" truecount="5" falsecount="1"/>
2776
2775
  <line num="90" count="1" type="stmt"/>
2777
- <line num="93" count="1" type="stmt"/>
2778
- <line num="105" count="1" type="stmt"/>
2776
+ <line num="91" count="1" type="stmt"/>
2777
+ <line num="94" count="1" type="stmt"/>
2779
2778
  <line num="106" count="1" type="stmt"/>
2780
2779
  <line num="107" count="1" type="stmt"/>
2781
- <line num="112" count="0" type="stmt"/>
2780
+ <line num="108" count="1" type="stmt"/>
2781
+ <line num="113" count="0" type="stmt"/>
2782
2782
  </file>
2783
2783
  <file name="sendSmtpEmail.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/sendSmtpEmail.js">
2784
2784
  <metrics statements="11" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
@@ -2903,9 +2903,9 @@
2903
2903
  </file>
2904
2904
  </package>
2905
2905
  <package name="constants">
2906
- <metrics statements="35" coveredstatements="35" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
2906
+ <metrics statements="36" coveredstatements="36" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="2"/>
2907
2907
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/index.js">
2908
- <metrics statements="28" coveredstatements="28" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
2908
+ <metrics statements="29" coveredstatements="29" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
2909
2909
  <line num="1" count="48" type="stmt"/>
2910
2910
  <line num="2" count="48" type="stmt"/>
2911
2911
  <line num="3" count="48" type="stmt"/>
@@ -2933,7 +2933,8 @@
2933
2933
  <line num="196" count="48" type="stmt"/>
2934
2934
  <line num="201" count="48" type="stmt"/>
2935
2935
  <line num="205" count="48" type="stmt"/>
2936
- <line num="212" count="48" type="stmt"/>
2936
+ <line num="211" count="48" type="stmt"/>
2937
+ <line num="217" count="48" type="stmt"/>
2937
2938
  </file>
2938
2939
  <file name="layouts.js" path="/home/runner/work/budibase/budibase/packages/server/src/constants/layouts.js">
2939
2940
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -3670,9 +3671,9 @@
3670
3671
  </file>
3671
3672
  </package>
3672
3673
  <package name="threads">
3673
- <metrics statements="279" coveredstatements="204" conditionals="123" coveredconditionals="65" methods="31" coveredmethods="27"/>
3674
+ <metrics statements="299" coveredstatements="204" conditionals="133" coveredconditionals="64" methods="33" coveredmethods="27"/>
3674
3675
  <file name="automation.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/automation.js">
3675
- <metrics statements="143" coveredstatements="82" conditionals="65" coveredconditionals="21" methods="11" coveredmethods="9"/>
3676
+ <metrics statements="163" coveredstatements="82" conditionals="75" coveredconditionals="20" methods="13" coveredmethods="9"/>
3676
3677
  <line num="1" count="3" type="stmt"/>
3677
3678
  <line num="2" count="3" type="stmt"/>
3678
3679
  <line num="3" count="3" type="stmt"/>
@@ -3690,132 +3691,152 @@
3690
3691
  <line num="16" count="3" type="stmt"/>
3691
3692
  <line num="17" count="3" type="stmt"/>
3692
3693
  <line num="18" count="3" type="stmt"/>
3693
- <line num="27" count="6" type="stmt"/>
3694
- <line num="28" count="6" type="cond" truecount="2" falsecount="0"/>
3695
- <line num="29" count="6" type="stmt"/>
3696
- <line num="30" count="6" type="stmt"/>
3697
- <line num="31" count="6" type="stmt"/>
3698
- <line num="32" count="6" type="stmt"/>
3699
- <line num="34" count="6" type="stmt"/>
3700
- <line num="35" count="6" type="stmt"/>
3701
- <line num="37" count="6" type="stmt"/>
3702
- <line num="38" count="6" type="stmt"/>
3703
- <line num="41" count="6" type="stmt"/>
3704
- <line num="42" count="6" type="stmt"/>
3705
- <line num="44" count="6" type="stmt"/>
3706
- <line num="45" count="6" type="stmt"/>
3707
- <line num="49" count="6" type="cond" truecount="1" falsecount="1"/>
3708
- <line num="50" count="0" type="stmt"/>
3709
- <line num="52" count="6" type="stmt"/>
3710
- <line num="56" count="5" type="stmt"/>
3711
- <line num="57" count="5" type="cond" truecount="1" falsecount="1"/>
3712
- <line num="58" count="0" type="stmt"/>
3713
- <line num="60" count="5" type="stmt"/>
3714
- <line num="64" count="6" type="cond" truecount="1" falsecount="1"/>
3715
- <line num="65" count="0" type="stmt"/>
3694
+ <line num="21" count="0" type="cond" truecount="0" falsecount="4"/>
3695
+ <line num="22" count="0" type="stmt"/>
3696
+ <line num="24" count="0" type="stmt"/>
3697
+ <line num="25" count="0" type="stmt"/>
3698
+ <line num="26" count="0" type="stmt"/>
3699
+ <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
3700
+ <line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
3701
+ <line num="30" count="0" type="stmt"/>
3702
+ <line num="32" count="0" type="stmt"/>
3703
+ <line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
3704
+ <line num="35" count="0" type="stmt"/>
3705
+ <line num="37" count="0" type="stmt"/>
3706
+ <line num="40" count="0" type="stmt"/>
3707
+ <line num="42" count="0" type="stmt"/>
3708
+ <line num="46" count="0" type="stmt"/>
3709
+ <line num="47" count="0" type="cond" truecount="0" falsecount="4"/>
3710
+ <line num="48" count="0" type="stmt"/>
3711
+ <line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
3712
+ <line num="62" count="6" type="stmt"/>
3713
+ <line num="63" count="6" type="cond" truecount="2" falsecount="0"/>
3714
+ <line num="64" count="6" type="stmt"/>
3715
+ <line num="65" count="6" type="stmt"/>
3716
+ <line num="66" count="6" type="stmt"/>
3716
3717
  <line num="67" count="6" type="stmt"/>
3717
- <line num="68" count="6" type="stmt"/>
3718
3718
  <line num="69" count="6" type="stmt"/>
3719
- <line num="73" count="11" type="stmt"/>
3720
- <line num="75" count="11" type="cond" truecount="2" falsecount="0"/>
3719
+ <line num="70" count="6" type="stmt"/>
3720
+ <line num="72" count="6" type="stmt"/>
3721
+ <line num="73" count="6" type="stmt"/>
3721
3722
  <line num="76" count="6" type="stmt"/>
3722
- <line num="78" count="11" type="stmt"/>
3723
- <line num="82" count="0" type="stmt"/>
3724
- <line num="92" count="0" type="stmt"/>
3725
- <line num="100" count="6" type="stmt"/>
3726
- <line num="101" count="6" type="stmt"/>
3723
+ <line num="77" count="6" type="stmt"/>
3724
+ <line num="79" count="6" type="stmt"/>
3725
+ <line num="80" count="6" type="stmt"/>
3726
+ <line num="84" count="6" type="cond" truecount="1" falsecount="1"/>
3727
+ <line num="85" count="0" type="stmt"/>
3728
+ <line num="87" count="6" type="stmt"/>
3729
+ <line num="91" count="5" type="stmt"/>
3730
+ <line num="92" count="5" type="cond" truecount="1" falsecount="1"/>
3731
+ <line num="93" count="0" type="stmt"/>
3732
+ <line num="95" count="5" type="stmt"/>
3733
+ <line num="99" count="6" type="cond" truecount="1" falsecount="1"/>
3734
+ <line num="100" count="0" type="stmt"/>
3727
3735
  <line num="102" count="6" type="stmt"/>
3728
3736
  <line num="103" count="6" type="stmt"/>
3729
- <line num="105" count="6" type="stmt"/>
3730
- <line num="106" count="6" type="stmt"/>
3731
- <line num="107" count="6" type="stmt"/>
3732
- <line num="108" count="6" type="stmt"/>
3733
- <line num="109" count="5" type="stmt"/>
3734
- <line num="111" count="5" type="cond" truecount="1" falsecount="1"/>
3735
- <line num="112" count="0" type="stmt"/>
3736
- <line num="113" count="0" type="stmt"/>
3737
- <line num="114" count="0" type="stmt"/>
3738
- <line num="117" count="5" type="cond" truecount="1" falsecount="1"/>
3739
- <line num="118" count="0" type="stmt"/>
3740
- <line num="120" count="5" type="cond" truecount="1" falsecount="1"/>
3741
- <line num="125" count="5" type="stmt"/>
3742
- <line num="126" count="5" type="stmt"/>
3743
- <line num="127" count="5" type="stmt"/>
3744
- <line num="130" count="5" type="cond" truecount="1" falsecount="1"/>
3745
- <line num="131" count="0" type="stmt"/>
3746
- <line num="135" count="0" type="stmt"/>
3747
- <line num="140" count="0" type="stmt"/>
3748
- <line num="141" count="0" type="cond" truecount="0" falsecount="2"/>
3749
- <line num="147" count="0" type="stmt"/>
3737
+ <line num="104" count="6" type="stmt"/>
3738
+ <line num="108" count="11" type="stmt"/>
3739
+ <line num="110" count="11" type="cond" truecount="2" falsecount="0"/>
3740
+ <line num="111" count="6" type="stmt"/>
3741
+ <line num="113" count="11" type="stmt"/>
3742
+ <line num="117" count="0" type="stmt"/>
3743
+ <line num="127" count="0" type="stmt"/>
3744
+ <line num="135" count="6" type="stmt"/>
3745
+ <line num="136" count="6" type="stmt"/>
3746
+ <line num="137" count="6" type="stmt"/>
3747
+ <line num="138" count="6" type="stmt"/>
3748
+ <line num="140" count="6" type="stmt"/>
3749
+ <line num="141" count="6" type="stmt"/>
3750
+ <line num="142" count="6" type="stmt"/>
3751
+ <line num="143" count="6" type="stmt"/>
3752
+ <line num="144" count="5" type="stmt"/>
3753
+ <line num="146" count="5" type="stmt"/>
3754
+ <line num="147" count="5" type="stmt"/>
3755
+ <line num="148" count="5" type="cond" truecount="1" falsecount="1"/>
3756
+ <line num="149" count="0" type="stmt"/>
3757
+ <line num="150" count="0" type="stmt"/>
3750
3758
  <line num="151" count="0" type="stmt"/>
3751
- <line num="152" count="0" type="stmt"/>
3752
- <line num="153" count="0" type="stmt"/>
3753
- <line num="157" count="0" type="cond" truecount="0" falsecount="2"/>
3754
- <line num="161" count="0" type="stmt"/>
3755
- <line num="163" count="0" type="stmt"/>
3756
- <line num="166" count="0" type="stmt"/>
3757
- <line num="172" count="0" type="stmt"/>
3758
- <line num="173" count="0" type="cond" truecount="0" falsecount="2"/>
3759
- <line num="174" count="0" type="stmt"/>
3760
- <line num="177" count="0" type="cond" truecount="0" falsecount="2"/>
3759
+ <line num="154" count="5" type="cond" truecount="1" falsecount="1"/>
3760
+ <line num="155" count="0" type="stmt"/>
3761
+ <line num="156" count="0" type="stmt"/>
3762
+ <line num="159" count="5" type="stmt"/>
3763
+ <line num="160" count="5" type="stmt"/>
3764
+ <line num="163" count="5" type="cond" truecount="1" falsecount="1"/>
3765
+ <line num="164" count="0" type="stmt"/>
3766
+ <line num="169" count="0" type="stmt"/>
3767
+ <line num="170" count="0" type="stmt"/>
3768
+ <line num="171" count="0" type="stmt"/>
3769
+ <line num="173" count="0" type="stmt"/>
3770
+ <line num="177" count="0" type="stmt"/>
3761
3771
  <line num="178" count="0" type="stmt"/>
3762
- <line num="186" count="0" type="cond" truecount="0" falsecount="2"/>
3772
+ <line num="179" count="0" type="stmt"/>
3773
+ <line num="183" count="0" type="cond" truecount="0" falsecount="2"/>
3763
3774
  <line num="187" count="0" type="stmt"/>
3764
- <line num="194" count="0" type="cond" truecount="0" falsecount="2"/>
3775
+ <line num="189" count="0" type="stmt"/>
3776
+ <line num="192" count="0" type="stmt"/>
3765
3777
  <line num="198" count="0" type="stmt"/>
3766
- <line num="202" count="0" type="stmt"/>
3767
- <line num="203" count="0" type="stmt"/>
3778
+ <line num="199" count="0" type="cond" truecount="0" falsecount="2"/>
3779
+ <line num="200" count="0" type="stmt"/>
3780
+ <line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
3768
3781
  <line num="204" count="0" type="stmt"/>
3769
- <line num="207" count="0" type="stmt"/>
3770
- <line num="208" count="0" type="cond" truecount="0" falsecount="2"/>
3771
- <line num="211" count="0" type="stmt"/>
3772
- <line num="214" count="0" type="stmt"/>
3773
- <line num="220" count="0" type="stmt"/>
3774
- <line num="225" count="0" type="cond" truecount="0" falsecount="2"/>
3775
- <line num="226" count="0" type="stmt"/>
3782
+ <line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
3783
+ <line num="213" count="0" type="stmt"/>
3784
+ <line num="220" count="0" type="cond" truecount="0" falsecount="2"/>
3785
+ <line num="224" count="0" type="stmt"/>
3786
+ <line num="228" count="0" type="stmt"/>
3787
+ <line num="229" count="0" type="stmt"/>
3776
3788
  <line num="230" count="0" type="stmt"/>
3777
- <line num="231" count="0" type="stmt"/>
3778
- <line num="232" count="0" type="stmt"/>
3779
- <line num="237" count="5" type="cond" truecount="1" falsecount="1"/>
3780
- <line num="238" count="0" type="stmt"/>
3781
- <line num="239" count="0" type="stmt"/>
3782
- <line num="243" count="5" type="stmt"/>
3783
- <line num="244" count="5" type="stmt"/>
3784
- <line num="245" count="5" type="stmt"/>
3785
- <line num="246" count="5" type="stmt"/>
3786
- <line num="248" count="5" type="cond" truecount="1" falsecount="1"/>
3787
- <line num="249" count="5" type="stmt"/>
3788
- <line num="250" count="5" type="stmt"/>
3789
- <line num="257" count="5" type="stmt"/>
3790
- <line num="260" count="5" type="cond" truecount="2" falsecount="2"/>
3791
- <line num="261" count="0" type="stmt"/>
3792
- <line num="262" count="0" type="stmt"/>
3793
- <line num="266" count="0" type="stmt"/>
3794
- <line num="268" count="5" type="cond" truecount="2" falsecount="2"/>
3795
- <line num="269" count="0" type="stmt"/>
3796
- <line num="271" count="5" type="stmt"/>
3789
+ <line num="233" count="0" type="stmt"/>
3790
+ <line num="234" count="0" type="stmt"/>
3791
+ <line num="235" count="0" type="cond" truecount="0" falsecount="4"/>
3792
+ <line num="236" count="0" type="stmt"/>
3793
+ <line num="237" count="0" type="stmt"/>
3794
+ <line num="240" count="0" type="cond" truecount="0" falsecount="2"/>
3795
+ <line num="243" count="0" type="cond" truecount="0" falsecount="2"/>
3796
+ <line num="244" count="0" type="stmt"/>
3797
+ <line num="248" count="0" type="stmt"/>
3798
+ <line num="249" count="0" type="stmt"/>
3799
+ <line num="250" count="0" type="stmt"/>
3800
+ <line num="255" count="5" type="cond" truecount="1" falsecount="1"/>
3801
+ <line num="256" count="0" type="stmt"/>
3802
+ <line num="257" count="0" type="stmt"/>
3803
+ <line num="261" count="5" type="stmt"/>
3804
+ <line num="262" count="5" type="stmt"/>
3805
+ <line num="263" count="5" type="stmt"/>
3806
+ <line num="264" count="5" type="stmt"/>
3807
+ <line num="266" count="5" type="cond" truecount="1" falsecount="1"/>
3808
+ <line num="267" count="5" type="stmt"/>
3809
+ <line num="268" count="5" type="stmt"/>
3810
+ <line num="275" count="5" type="stmt"/>
3811
+ <line num="278" count="5" type="cond" truecount="2" falsecount="2"/>
3797
3812
  <line num="279" count="0" type="stmt"/>
3798
3813
  <line num="280" count="0" type="stmt"/>
3799
- <line num="282" count="5" type="cond" truecount="1" falsecount="1"/>
3800
- <line num="283" count="0" type="stmt"/>
3801
- <line num="284" count="0" type="cond" truecount="0" falsecount="2"/>
3802
- <line num="285" count="0" type="stmt"/>
3803
- <line num="286" count="0" type="stmt"/>
3814
+ <line num="284" count="0" type="stmt"/>
3815
+ <line num="286" count="5" type="cond" truecount="2" falsecount="2"/>
3804
3816
  <line num="287" count="0" type="stmt"/>
3805
- <line num="292" count="5" type="cond" truecount="3" falsecount="1"/>
3806
- <line num="293" count="0" type="stmt"/>
3817
+ <line num="289" count="5" type="stmt"/>
3818
+ <line num="297" count="0" type="stmt"/>
3807
3819
  <line num="298" count="0" type="stmt"/>
3820
+ <line num="300" count="5" type="cond" truecount="1" falsecount="1"/>
3821
+ <line num="301" count="0" type="stmt"/>
3822
+ <line num="302" count="0" type="cond" truecount="0" falsecount="2"/>
3823
+ <line num="303" count="0" type="stmt"/>
3824
+ <line num="304" count="0" type="stmt"/>
3808
3825
  <line num="305" count="0" type="stmt"/>
3809
- <line num="306" count="0" type="stmt"/>
3810
- <line num="310" count="6" type="stmt"/>
3811
- <line num="314" count="3" type="stmt"/>
3812
- <line num="315" count="6" type="stmt"/>
3813
- <line num="316" count="6" type="stmt"/>
3814
- <line num="317" count="6" type="stmt"/>
3815
- <line num="321" count="6" type="stmt"/>
3816
- <line num="322" count="6" type="stmt"/>
3817
- <line num="323" count="6" type="stmt"/>
3818
- <line num="325" count="0" type="stmt"/>
3826
+ <line num="310" count="5" type="cond" truecount="3" falsecount="1"/>
3827
+ <line num="311" count="0" type="stmt"/>
3828
+ <line num="316" count="0" type="stmt"/>
3829
+ <line num="323" count="0" type="stmt"/>
3830
+ <line num="324" count="0" type="stmt"/>
3831
+ <line num="328" count="6" type="stmt"/>
3832
+ <line num="332" count="3" type="stmt"/>
3833
+ <line num="333" count="6" type="stmt"/>
3834
+ <line num="334" count="6" type="stmt"/>
3835
+ <line num="335" count="6" type="stmt"/>
3836
+ <line num="339" count="6" type="stmt"/>
3837
+ <line num="340" count="6" type="stmt"/>
3838
+ <line num="341" count="6" type="stmt"/>
3839
+ <line num="343" count="0" type="stmt"/>
3819
3840
  </file>
3820
3841
  <file name="query.js" path="/home/runner/work/budibase/budibase/packages/server/src/threads/query.js">
3821
3842
  <metrics statements="100" coveredstatements="92" conditionals="43" coveredconditionals="34" methods="11" coveredmethods="10"/>