@budibase/server 0.9.140-alpha.1 → 0.9.140-alpha.5

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.e8745f5e.js → index.80d850d1.js} +35 -35
  2. package/builder/assets/{vendor.d39b3c1e.js → vendor.820de34b.js} +10 -2
  3. package/builder/index.html +2 -2
  4. package/coverage/clover.xml +798 -530
  5. package/coverage/coverage-final.json +19 -16
  6. package/coverage/lcov-report/api/controllers/analytics.js.html +4 -4
  7. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/application.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/datasource.js.html +3 -3
  14. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/index.html +5 -5
  17. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query.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 +34 -19
  26. package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/internal.js.html +242 -47
  28. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1244 -0
  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/index.html +1 -1
  33. package/coverage/lcov-report/api/controllers/table/index.js.html +2 -2
  34. package/coverage/lcov-report/api/controllers/table/utils.js.html +31 -19
  35. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/index.html +32 -17
  39. package/coverage/lcov-report/api/controllers/view/index.js.html +84 -186
  40. package/coverage/lcov-report/api/controllers/view/utils.js.html +407 -0
  41. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  43. package/coverage/lcov-report/api/index.html +1 -1
  44. package/coverage/lcov-report/api/index.js.html +1 -1
  45. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/application.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/component.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/index.html +1 -1
  57. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/metadata.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/row.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  74. package/coverage/lcov-report/automations/actions.js.html +1 -1
  75. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  76. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  77. package/coverage/lcov-report/automations/index.html +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/createRow.js.html +10 -19
  81. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/deleteRow.js.html +14 -20
  83. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/index.html +31 -31
  88. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/queryRows.js.html +18 -27
  91. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/updateRow.js.html +12 -21
  95. package/coverage/lcov-report/automations/steps/utils.js.html +23 -23
  96. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  97. package/coverage/lcov-report/automations/thread.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  105. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  106. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  107. package/coverage/lcov-report/automations/utils.js.html +1 -1
  108. package/coverage/lcov-report/constants/index.html +1 -1
  109. package/coverage/lcov-report/constants/index.js.html +1 -1
  110. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  111. package/coverage/lcov-report/constants/screens.js.html +1 -1
  112. package/coverage/lcov-report/db/client.js.html +1 -1
  113. package/coverage/lcov-report/db/inMemoryView.js.html +224 -0
  114. package/coverage/lcov-report/db/index.html +34 -19
  115. package/coverage/lcov-report/db/index.js.html +1 -1
  116. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +4 -4
  117. package/coverage/lcov-report/db/linkedRows/index.html +14 -14
  118. package/coverage/lcov-report/db/linkedRows/index.js.html +18 -9
  119. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  120. package/coverage/lcov-report/db/newid.js.html +1 -1
  121. package/coverage/lcov-report/db/utils.js.html +37 -10
  122. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  123. package/coverage/lcov-report/events/index.html +1 -1
  124. package/coverage/lcov-report/events/index.js.html +1 -1
  125. package/coverage/lcov-report/events/utils.js.html +1 -1
  126. package/coverage/lcov-report/index.html +68 -68
  127. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  128. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  129. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  130. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  131. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  132. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  133. package/coverage/lcov-report/middleware/index.html +1 -1
  134. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  135. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  136. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  137. package/coverage/lcov-report/middleware/usageQuota.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 +15 -15
  150. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +58 -13
  151. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  152. package/coverage/lcov-report/utilities/security.js.html +2 -2
  153. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  154. package/coverage/lcov-report/utilities/users.js.html +1 -1
  155. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  156. package/coverage/lcov.info +1405 -886
  157. package/dist/api/controllers/analytics.js +1 -1
  158. package/dist/api/controllers/datasource.js +2 -2
  159. package/dist/api/controllers/row/ExternalRequest.js +4 -0
  160. package/dist/api/controllers/row/internal.js +97 -23
  161. package/dist/api/controllers/table/index.js +1 -1
  162. package/dist/api/controllers/table/utils.js +13 -11
  163. package/dist/api/controllers/view/index.js +74 -96
  164. package/dist/api/controllers/view/utils.js +102 -0
  165. package/dist/automations/steps/createRow.js +5 -8
  166. package/dist/automations/steps/deleteRow.js +7 -10
  167. package/dist/automations/steps/queryRows.js +11 -14
  168. package/dist/automations/steps/updateRow.js +4 -7
  169. package/dist/db/inMemoryView.js +51 -0
  170. package/dist/db/linkedRows/index.js +5 -2
  171. package/dist/db/utils.js +7 -0
  172. package/dist/environment.js +7 -1
  173. package/dist/integrations/mysql.js +2 -13
  174. package/dist/integrations/postgres.js +8 -14
  175. package/dist/integrations/utils.js +19 -1
  176. package/dist/package.json +10 -12
  177. package/dist/tsconfig.tsbuildinfo +1 -1
  178. package/dist/utilities/rowProcessor/index.js +10 -5
  179. package/package.json +11 -13
  180. package/scripts/integrations/service-vehicles/docker-compose.yml +28 -0
  181. package/scripts/integrations/service-vehicles/init.sql +52 -0
  182. package/scripts/integrations/service-vehicles/reset.sh +3 -0
  183. package/src/api/controllers/analytics.js +1 -1
  184. package/src/api/controllers/datasource.js +2 -2
  185. package/src/api/controllers/row/ExternalRequest.ts +5 -1
  186. package/src/api/controllers/row/internal.js +88 -23
  187. package/src/api/controllers/table/index.js +1 -1
  188. package/src/api/controllers/table/utils.js +16 -12
  189. package/src/api/controllers/view/index.js +82 -116
  190. package/src/api/controllers/view/utils.js +109 -0
  191. package/src/api/routes/tests/view.spec.js +1 -1
  192. package/src/automations/steps/createRow.js +5 -8
  193. package/src/automations/steps/deleteRow.js +8 -10
  194. package/src/automations/steps/queryRows.js +11 -14
  195. package/src/automations/steps/updateRow.js +7 -10
  196. package/src/db/inMemoryView.js +48 -0
  197. package/src/db/linkedRows/index.js +5 -2
  198. package/src/db/utils.js +9 -0
  199. package/src/environment.js +8 -1
  200. package/src/integrations/mysql.ts +2 -13
  201. package/src/integrations/postgres.ts +9 -16
  202. package/src/integrations/utils.ts +18 -0
  203. package/src/utilities/rowProcessor/index.js +20 -5
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1632300890720" clover="3.2.0">
3
- <project timestamp="1632300890720" name="All files">
4
- <metrics statements="3398" coveredstatements="2862" conditionals="1206" coveredconditionals="807" methods="480" coveredmethods="394" elements="5084" coveredelements="4063" complexity="0" loc="3398" ncloc="3398" packages="19" files="127" classes="127"/>
2
+ <coverage generated="1632331743394" clover="3.2.0">
3
+ <project timestamp="1632331743394" name="All files">
4
+ <metrics statements="3657" coveredstatements="2922" conditionals="1339" coveredconditionals="818" methods="530" coveredmethods="404" elements="5526" coveredelements="4144" complexity="0" loc="3657" ncloc="3657" packages="19" files="130" classes="130"/>
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">
@@ -38,9 +38,9 @@
38
38
  </file>
39
39
  </package>
40
40
  <package name="api.controllers">
41
- <metrics statements="897" coveredstatements="750" conditionals="244" coveredconditionals="153" methods="130" coveredmethods="108"/>
41
+ <metrics statements="897" coveredstatements="750" conditionals="246" coveredconditionals="154" methods="130" coveredmethods="108"/>
42
42
  <file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
43
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
43
+ <metrics statements="3" coveredstatements="3" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
44
44
  <line num="1" count="23" type="stmt"/>
45
45
  <line num="3" count="23" type="stmt"/>
46
46
  <line num="4" count="1" type="stmt"/>
@@ -1004,7 +1004,7 @@
1004
1004
  </file>
1005
1005
  </package>
1006
1006
  <package name="api.controllers.row">
1007
- <metrics statements="387" coveredstatements="275" conditionals="130" coveredconditionals="74" methods="53" coveredmethods="36"/>
1007
+ <metrics statements="567" coveredstatements="296" conditionals="227" coveredconditionals="77" methods="89" coveredmethods="39"/>
1008
1008
  <file name="external.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/external.js">
1009
1009
  <metrics statements="90" coveredstatements="14" conditionals="30" coveredconditionals="0" methods="13" coveredmethods="0"/>
1010
1010
  <line num="5" count="34" type="stmt"/>
@@ -1187,175 +1187,358 @@
1187
1187
  <line num="137" count="0" type="stmt"/>
1188
1188
  </file>
1189
1189
  <file name="internal.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internal.js">
1190
- <metrics statements="168" coveredstatements="148" conditionals="46" coveredconditionals="32" methods="23" coveredmethods="21"/>
1190
+ <metrics statements="201" coveredstatements="162" conditionals="58" coveredconditionals="35" methods="26" coveredmethods="24"/>
1191
1191
  <line num="1" count="34" type="stmt"/>
1192
1192
  <line num="2" count="34" type="stmt"/>
1193
- <line num="8" count="34" type="stmt"/>
1194
1193
  <line num="9" count="34" type="stmt"/>
1195
- <line num="13" count="34" type="stmt"/>
1196
- <line num="14" count="34" type="stmt"/>
1194
+ <line num="10" count="34" type="stmt"/>
1197
1195
  <line num="15" count="34" type="stmt"/>
1198
1196
  <line num="16" count="34" type="stmt"/>
1199
1197
  <line num="17" count="34" type="stmt"/>
1200
1198
  <line num="18" count="34" type="stmt"/>
1199
+ <line num="19" count="34" type="stmt"/>
1201
1200
  <line num="20" count="34" type="stmt"/>
1202
- <line num="27" count="70" type="stmt"/>
1203
- <line num="28" count="70" type="stmt"/>
1204
- <line num="30" count="70" type="cond" truecount="1" falsecount="1"/>
1205
- <line num="31" count="0" type="stmt"/>
1206
- <line num="33" count="70" type="stmt"/>
1207
- <line num="35" count="70" type="stmt"/>
1208
- <line num="36" count="70" type="stmt"/>
1209
- <line num="39" count="34" type="stmt"/>
1210
- <line num="40" count="5" type="stmt"/>
1211
- <line num="41" count="5" type="stmt"/>
1212
- <line num="42" count="5" type="stmt"/>
1213
- <line num="43" count="5" type="stmt"/>
1214
- <line num="44" count="5" type="stmt"/>
1215
- <line num="46" count="5" type="stmt"/>
1216
- <line num="47" count="5" type="stmt"/>
1217
- <line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
1218
- <line num="52" count="0" type="stmt"/>
1219
- <line num="56" count="0" type="stmt"/>
1220
- <line num="59" count="5" type="stmt"/>
1221
- <line num="61" count="5" type="stmt"/>
1222
- <line num="62" count="21" type="cond" truecount="2" falsecount="0"/>
1223
- <line num="63" count="6" type="stmt"/>
1224
- <line num="67" count="5" type="stmt"/>
1225
- <line num="68" count="5" type="stmt"/>
1226
- <line num="73" count="5" type="cond" truecount="2" falsecount="0"/>
1227
- <line num="74" count="1" type="stmt"/>
1228
- <line num="78" count="4" type="stmt"/>
1229
- <line num="86" count="4" type="cond" truecount="1" falsecount="1"/>
1201
+ <line num="21" count="34" type="stmt"/>
1202
+ <line num="22" count="34" type="stmt"/>
1203
+ <line num="23" count="34" type="stmt"/>
1204
+ <line num="25" count="34" type="stmt"/>
1205
+ <line num="32" count="70" type="stmt"/>
1206
+ <line num="36" count="70" type="cond" truecount="1" falsecount="1"/>
1207
+ <line num="37" count="0" type="stmt"/>
1208
+ <line num="38" count="0" type="stmt"/>
1209
+ <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
1210
+ <line num="41" count="0" type="stmt"/>
1211
+ <line num="42" count="0" type="stmt"/>
1212
+ <line num="45" count="0" type="stmt"/>
1213
+ <line num="46" count="0" type="stmt"/>
1214
+ <line num="48" count="0" type="stmt"/>
1215
+ <line num="52" count="70" type="stmt"/>
1216
+ <line num="53" count="70" type="stmt"/>
1217
+ <line num="55" count="70" type="stmt"/>
1218
+ <line num="56" count="70" type="stmt"/>
1219
+ <line num="62" count="5" type="cond" truecount="1" falsecount="1"/>
1220
+ <line num="63" count="0" type="stmt"/>
1221
+ <line num="64" count="0" type="stmt"/>
1222
+ <line num="66" count="5" type="stmt"/>
1223
+ <line num="71" count="10" type="stmt"/>
1224
+ <line num="73" count="5" type="stmt"/>
1225
+ <line num="79" count="6" type="stmt"/>
1226
+ <line num="80" count="6" type="stmt"/>
1227
+ <line num="81" count="6" type="stmt"/>
1228
+ <line num="83" count="6" type="stmt"/>
1229
+ <line num="84" count="6" type="cond" truecount="1" falsecount="1"/>
1230
+ <line num="85" count="6" type="stmt"/>
1231
+ <line num="87" count="0" type="stmt"/>
1230
1232
  <line num="88" count="0" type="stmt"/>
1231
- <line num="89" count="0" type="stmt"/>
1233
+ <line num="89" count="0" type="cond" truecount="0" falsecount="2"/>
1232
1234
  <line num="90" count="0" type="stmt"/>
1233
- <line num="93" count="4" type="stmt"/>
1234
- <line num="96" count="34" type="stmt"/>
1235
- <line num="97" count="67" type="stmt"/>
1236
- <line num="98" count="67" type="stmt"/>
1237
- <line num="99" count="67" type="stmt"/>
1238
- <line num="100" count="67" type="stmt"/>
1239
- <line num="102" count="67" type="cond" truecount="3" falsecount="1"/>
1240
- <line num="103" count="67" type="stmt"/>
1241
- <line num="107" count="67" type="stmt"/>
1242
- <line num="108" count="67" type="stmt"/>
1243
- <line num="109" count="67" type="stmt"/>
1244
- <line num="114" count="67" type="cond" truecount="1" falsecount="1"/>
1245
- <line num="115" count="0" type="stmt"/>
1246
- <line num="119" count="67" type="stmt"/>
1247
- <line num="127" count="66" type="stmt"/>
1248
- <line num="130" count="34" type="stmt"/>
1249
- <line num="131" count="7" type="stmt"/>
1250
- <line num="132" count="7" type="stmt"/>
1251
- <line num="135" count="7" type="cond" truecount="2" falsecount="0"/>
1252
- <line num="136" count="1" type="stmt"/>
1253
- <line num="137" count="1" type="stmt"/>
1254
- <line num="140" count="6" type="stmt"/>
1255
- <line num="141" count="6" type="stmt"/>
1256
- <line num="142" count="6" type="stmt"/>
1257
- <line num="143" count="6" type="stmt"/>
1258
- <line num="144" count="6" type="cond" truecount="2" falsecount="0"/>
1259
- <line num="145" count="1" type="stmt"/>
1260
- <line num="147" count="5" type="stmt"/>
1261
- <line num="153" count="5" type="cond" truecount="2" falsecount="0"/>
1262
- <line num="154" count="3" type="stmt"/>
1263
- <line num="156" count="3" type="stmt"/>
1264
- <line num="157" count="3" type="stmt"/>
1265
- <line num="164" count="3" type="stmt"/>
1266
- <line num="167" count="5" type="cond" truecount="2" falsecount="0"/>
1267
- <line num="168" count="3" type="stmt"/>
1268
- <line num="174" count="2" type="stmt"/>
1269
- <line num="177" count="5" type="cond" truecount="1" falsecount="1"/>
1270
- <line num="181" count="0" type="stmt"/>
1271
- <line num="187" count="5" type="stmt"/>
1272
- <line num="190" count="34" type="stmt"/>
1273
- <line num="191" count="5" type="stmt"/>
1274
- <line num="192" count="5" type="stmt"/>
1275
- <line num="195" count="5" type="stmt"/>
1276
- <line num="196" count="5" type="cond" truecount="1" falsecount="1"/>
1277
- <line num="197" count="0" type="stmt"/>
1278
- <line num="198" count="0" type="stmt"/>
1279
- <line num="200" count="5" type="stmt"/>
1280
- <line num="205" count="10" type="stmt"/>
1281
- <line num="207" count="5" type="stmt"/>
1282
- <line num="210" count="34" type="stmt"/>
1283
- <line num="211" count="18" type="stmt"/>
1284
- <line num="212" count="18" type="stmt"/>
1285
- <line num="213" count="18" type="stmt"/>
1286
- <line num="214" count="18" type="stmt"/>
1287
- <line num="215" count="15" type="stmt"/>
1288
- <line num="216" count="15" type="stmt"/>
1289
- <line num="219" count="34" type="stmt"/>
1290
- <line num="220" count="3" type="stmt"/>
1291
- <line num="221" count="3" type="stmt"/>
1292
- <line num="222" count="3" type="stmt"/>
1293
- <line num="223" count="3" type="stmt"/>
1294
- <line num="225" count="2" type="cond" truecount="1" falsecount="1"/>
1295
- <line num="226" count="0" type="stmt"/>
1296
- <line num="228" count="2" type="stmt"/>
1297
- <line num="230" count="2" type="stmt"/>
1298
- <line num="232" count="2" type="stmt"/>
1299
- <line num="240" count="2" type="cond" truecount="1" falsecount="1"/>
1300
- <line num="241" count="0" type="stmt"/>
1301
- <line num="244" count="0" type="stmt"/>
1302
- <line num="245" count="0" type="stmt"/>
1303
- <line num="247" count="2" type="stmt"/>
1235
+ <line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
1236
+ <line num="95" count="0" type="stmt"/>
1237
+ <line num="97" count="0" type="stmt"/>
1238
+ <line num="98" count="0" type="stmt"/>
1239
+ <line num="102" count="6" type="cond" truecount="1" falsecount="1"/>
1240
+ <line num="103" count="0" type="stmt"/>
1241
+ <line num="105" count="6" type="cond" truecount="2" falsecount="0"/>
1242
+ <line num="106" count="1" type="stmt"/>
1243
+ <line num="108" count="5" type="stmt"/>
1244
+ <line num="111" count="34" type="stmt"/>
1245
+ <line num="112" count="5" type="stmt"/>
1246
+ <line num="113" count="5" type="stmt"/>
1247
+ <line num="114" count="5" type="stmt"/>
1248
+ <line num="115" count="5" type="stmt"/>
1249
+ <line num="116" count="5" type="stmt"/>
1250
+ <line num="118" count="5" type="stmt"/>
1251
+ <line num="119" count="5" type="stmt"/>
1252
+ <line num="121" count="0" type="cond" truecount="0" falsecount="2"/>
1253
+ <line num="124" count="0" type="stmt"/>
1254
+ <line num="128" count="0" type="stmt"/>
1255
+ <line num="131" count="5" type="stmt"/>
1256
+ <line num="133" count="5" type="stmt"/>
1257
+ <line num="134" count="21" type="cond" truecount="2" falsecount="0"/>
1258
+ <line num="135" count="6" type="stmt"/>
1259
+ <line num="139" count="5" type="stmt"/>
1260
+ <line num="140" count="5" type="stmt"/>
1261
+ <line num="145" count="5" type="cond" truecount="2" falsecount="0"/>
1262
+ <line num="146" count="1" type="stmt"/>
1263
+ <line num="150" count="4" type="stmt"/>
1264
+ <line num="158" count="4" type="cond" truecount="1" falsecount="1"/>
1265
+ <line num="160" count="0" type="stmt"/>
1266
+ <line num="161" count="0" type="stmt"/>
1267
+ <line num="162" count="0" type="stmt"/>
1268
+ <line num="165" count="4" type="stmt"/>
1269
+ <line num="168" count="34" type="stmt"/>
1270
+ <line num="169" count="67" type="stmt"/>
1271
+ <line num="170" count="67" type="stmt"/>
1272
+ <line num="171" count="67" type="stmt"/>
1273
+ <line num="172" count="67" type="stmt"/>
1274
+ <line num="174" count="67" type="cond" truecount="3" falsecount="1"/>
1275
+ <line num="175" count="67" type="stmt"/>
1276
+ <line num="179" count="67" type="stmt"/>
1277
+ <line num="180" count="67" type="stmt"/>
1278
+ <line num="181" count="67" type="stmt"/>
1279
+ <line num="186" count="67" type="cond" truecount="1" falsecount="1"/>
1280
+ <line num="187" count="0" type="stmt"/>
1281
+ <line num="191" count="67" type="stmt"/>
1282
+ <line num="199" count="66" type="stmt"/>
1283
+ <line num="202" count="34" type="stmt"/>
1284
+ <line num="203" count="7" type="stmt"/>
1285
+ <line num="204" count="7" type="stmt"/>
1286
+ <line num="207" count="7" type="cond" truecount="2" falsecount="0"/>
1287
+ <line num="208" count="1" type="stmt"/>
1288
+ <line num="209" count="1" type="stmt"/>
1289
+ <line num="212" count="6" type="stmt"/>
1290
+ <line num="213" count="6" type="stmt"/>
1291
+ <line num="214" count="6" type="stmt"/>
1292
+ <line num="216" count="5" type="cond" truecount="1" falsecount="1"/>
1293
+ <line num="217" count="5" type="stmt"/>
1294
+ <line num="222" count="0" type="stmt"/>
1295
+ <line num="223" count="0" type="stmt"/>
1296
+ <line num="224" count="0" type="stmt"/>
1297
+ <line num="228" count="5" type="cond" truecount="2" falsecount="0"/>
1298
+ <line num="229" count="3" type="stmt"/>
1299
+ <line num="231" count="3" type="stmt"/>
1300
+ <line num="232" count="3" type="stmt"/>
1301
+ <line num="239" count="3" type="stmt"/>
1302
+ <line num="242" count="5" type="cond" truecount="2" falsecount="0"/>
1303
+ <line num="243" count="3" type="stmt"/>
1304
1304
  <line num="249" count="2" type="stmt"/>
1305
- <line num="252" count="34" type="stmt"/>
1306
- <line num="253" count="2" type="stmt"/>
1307
- <line num="254" count="2" type="stmt"/>
1308
- <line num="255" count="2" type="stmt"/>
1309
- <line num="256" count="2" type="stmt"/>
1310
- <line num="257" count="2" type="stmt"/>
1311
- <line num="261" count="2" type="stmt"/>
1312
- <line num="264" count="2" type="stmt"/>
1313
- <line num="265" count="3" type="stmt"/>
1314
- <line num="272" count="2" type="cond" truecount="1" falsecount="1"/>
1315
- <line num="273" count="0" type="stmt"/>
1316
- <line num="275" count="0" type="stmt"/>
1317
- <line num="278" count="0" type="stmt"/>
1318
- <line num="282" count="3" type="stmt"/>
1319
- <line num="284" count="2" type="stmt"/>
1320
- <line num="285" count="2" type="stmt"/>
1321
- <line num="288" count="34" type="stmt"/>
1322
- <line num="289" count="1" type="stmt"/>
1323
- <line num="290" count="1" type="stmt"/>
1324
- <line num="291" count="1" type="stmt"/>
1325
- <line num="292" count="1" type="stmt"/>
1326
- <line num="293" count="1" type="stmt"/>
1327
- <line num="294" count="1" type="stmt"/>
1328
- <line num="297" count="1" type="cond" truecount="1" falsecount="1"/>
1329
- <line num="298" count="0" type="stmt"/>
1330
- <line num="300" count="1" type="stmt"/>
1331
- <line num="304" count="1" type="cond" truecount="3" falsecount="1"/>
1332
- <line num="306" count="1" type="cond" truecount="1" falsecount="1"/>
1333
- <line num="307" count="0" type="stmt"/>
1334
- <line num="309" count="1" type="stmt"/>
1335
- <line num="310" count="1" type="stmt"/>
1336
- <line num="313" count="1" type="stmt"/>
1337
- <line num="316" count="34" type="stmt"/>
1338
- <line num="317" count="2" type="stmt"/>
1339
- <line num="324" count="34" type="stmt"/>
1340
- <line num="325" count="1" type="stmt"/>
1341
- <line num="326" count="1" type="stmt"/>
1342
- <line num="327" count="1" type="stmt"/>
1343
- <line num="328" count="1" type="stmt"/>
1344
- <line num="330" count="1" type="stmt"/>
1345
- <line num="335" count="1" type="stmt"/>
1346
- <line num="341" count="1" type="stmt"/>
1347
- <line num="343" count="1" type="stmt"/>
1348
- <line num="346" count="1" type="stmt"/>
1349
- <line num="349" count="1" type="stmt"/>
1350
- <line num="352" count="1" type="stmt"/>
1351
- <line num="353" count="3" type="stmt"/>
1352
- <line num="354" count="3" type="cond" truecount="2" falsecount="0"/>
1305
+ <line num="252" count="5" type="cond" truecount="1" falsecount="1"/>
1306
+ <line num="256" count="0" type="stmt"/>
1307
+ <line num="262" count="5" type="stmt"/>
1308
+ <line num="265" count="34" type="stmt"/>
1309
+ <line num="266" count="5" type="stmt"/>
1310
+ <line num="267" count="5" type="stmt"/>
1311
+ <line num="269" count="5" type="stmt"/>
1312
+ <line num="270" count="5" type="stmt"/>
1313
+ <line num="271" count="5" type="stmt"/>
1314
+ <line num="272" count="5" type="stmt"/>
1315
+ <line num="275" count="34" type="stmt"/>
1316
+ <line num="276" count="18" type="stmt"/>
1317
+ <line num="277" count="18" type="stmt"/>
1318
+ <line num="278" count="18" type="stmt"/>
1319
+ <line num="279" count="18" type="stmt"/>
1320
+ <line num="280" count="15" type="stmt"/>
1321
+ <line num="281" count="15" type="stmt"/>
1322
+ <line num="284" count="34" type="stmt"/>
1323
+ <line num="285" count="3" type="stmt"/>
1324
+ <line num="286" count="3" type="stmt"/>
1325
+ <line num="287" count="3" type="stmt"/>
1326
+ <line num="288" count="3" type="stmt"/>
1327
+ <line num="290" count="2" type="cond" truecount="1" falsecount="1"/>
1328
+ <line num="291" count="0" type="stmt"/>
1329
+ <line num="293" count="2" type="stmt"/>
1330
+ <line num="295" count="2" type="stmt"/>
1331
+ <line num="297" count="2" type="stmt"/>
1332
+ <line num="305" count="2" type="cond" truecount="1" falsecount="1"/>
1333
+ <line num="306" count="0" type="stmt"/>
1334
+ <line num="309" count="0" type="stmt"/>
1335
+ <line num="310" count="0" type="stmt"/>
1336
+ <line num="312" count="2" type="stmt"/>
1337
+ <line num="314" count="2" type="stmt"/>
1338
+ <line num="317" count="34" type="stmt"/>
1339
+ <line num="318" count="2" type="stmt"/>
1340
+ <line num="319" count="2" type="stmt"/>
1341
+ <line num="320" count="2" type="stmt"/>
1342
+ <line num="321" count="2" type="stmt"/>
1343
+ <line num="322" count="2" type="stmt"/>
1344
+ <line num="326" count="2" type="stmt"/>
1345
+ <line num="329" count="2" type="stmt"/>
1346
+ <line num="330" count="3" type="stmt"/>
1347
+ <line num="337" count="2" type="cond" truecount="1" falsecount="1"/>
1348
+ <line num="338" count="0" type="stmt"/>
1349
+ <line num="340" count="0" type="stmt"/>
1350
+ <line num="343" count="0" type="stmt"/>
1351
+ <line num="347" count="3" type="stmt"/>
1352
+ <line num="349" count="2" type="stmt"/>
1353
+ <line num="350" count="2" type="stmt"/>
1354
+ <line num="353" count="34" type="stmt"/>
1355
+ <line num="354" count="1" type="stmt"/>
1356
+ <line num="355" count="1" type="stmt"/>
1353
1357
  <line num="356" count="1" type="stmt"/>
1354
1358
  <line num="357" count="1" type="stmt"/>
1355
1359
  <line num="358" count="1" type="stmt"/>
1356
- <line num="360" count="1" type="stmt"/>
1357
- <line num="361" count="1" type="stmt"/>
1360
+ <line num="359" count="1" type="stmt"/>
1361
+ <line num="362" count="1" type="cond" truecount="1" falsecount="1"/>
1362
+ <line num="363" count="0" type="stmt"/>
1358
1363
  <line num="365" count="1" type="stmt"/>
1364
+ <line num="369" count="1" type="cond" truecount="3" falsecount="1"/>
1365
+ <line num="371" count="1" type="cond" truecount="1" falsecount="1"/>
1366
+ <line num="372" count="0" type="stmt"/>
1367
+ <line num="374" count="1" type="stmt"/>
1368
+ <line num="375" count="1" type="stmt"/>
1369
+ <line num="378" count="1" type="stmt"/>
1370
+ <line num="381" count="34" type="stmt"/>
1371
+ <line num="382" count="2" type="stmt"/>
1372
+ <line num="389" count="34" type="stmt"/>
1373
+ <line num="390" count="1" type="stmt"/>
1374
+ <line num="391" count="1" type="stmt"/>
1375
+ <line num="392" count="1" type="stmt"/>
1376
+ <line num="393" count="1" type="stmt"/>
1377
+ <line num="395" count="1" type="stmt"/>
1378
+ <line num="400" count="1" type="stmt"/>
1379
+ <line num="406" count="1" type="stmt"/>
1380
+ <line num="408" count="1" type="stmt"/>
1381
+ <line num="411" count="1" type="stmt"/>
1382
+ <line num="414" count="1" type="stmt"/>
1383
+ <line num="417" count="1" type="stmt"/>
1384
+ <line num="418" count="3" type="stmt"/>
1385
+ <line num="419" count="3" type="cond" truecount="2" falsecount="0"/>
1386
+ <line num="421" count="1" type="stmt"/>
1387
+ <line num="422" count="1" type="stmt"/>
1388
+ <line num="423" count="1" type="stmt"/>
1389
+ <line num="425" count="1" type="stmt"/>
1390
+ <line num="426" count="1" type="stmt"/>
1391
+ <line num="430" count="1" type="stmt"/>
1392
+ </file>
1393
+ <file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
1394
+ <metrics statements="147" coveredstatements="7" conditionals="85" coveredconditionals="0" methods="33" coveredmethods="0"/>
1395
+ <line num="1" count="33" type="stmt"/>
1396
+ <line num="2" count="33" type="stmt"/>
1397
+ <line num="3" count="33" type="stmt"/>
1398
+ <line num="11" count="0" type="stmt"/>
1399
+ <line num="12" count="0" type="stmt"/>
1400
+ <line num="22" count="0" type="stmt"/>
1401
+ <line num="23" count="0" type="stmt"/>
1402
+ <line num="24" count="0" type="stmt"/>
1403
+ <line num="25" count="0" type="stmt"/>
1404
+ <line num="26" count="0" type="stmt"/>
1405
+ <line num="30" count="0" type="stmt"/>
1406
+ <line num="31" count="0" type="stmt"/>
1407
+ <line num="35" count="0" type="stmt"/>
1408
+ <line num="36" count="0" type="stmt"/>
1409
+ <line num="40" count="0" type="stmt"/>
1410
+ <line num="41" count="0" type="stmt"/>
1411
+ <line num="45" count="0" type="stmt"/>
1412
+ <line num="46" count="0" type="stmt"/>
1413
+ <line num="50" count="0" type="stmt"/>
1414
+ <line num="51" count="0" type="stmt"/>
1415
+ <line num="55" count="0" type="stmt"/>
1416
+ <line num="56" count="0" type="stmt"/>
1417
+ <line num="60" count="0" type="stmt"/>
1418
+ <line num="61" count="0" type="stmt"/>
1419
+ <line num="65" count="0" type="stmt"/>
1420
+ <line num="66" count="0" type="stmt"/>
1421
+ <line num="70" count="0" type="stmt"/>
1422
+ <line num="71" count="0" type="stmt"/>
1423
+ <line num="75" count="0" type="stmt"/>
1424
+ <line num="76" count="0" type="stmt"/>
1425
+ <line num="80" count="0" type="stmt"/>
1426
+ <line num="84" count="0" type="stmt"/>
1427
+ <line num="88" count="0" type="stmt"/>
1428
+ <line num="89" count="0" type="stmt"/>
1429
+ <line num="93" count="0" type="stmt"/>
1430
+ <line num="94" count="0" type="stmt"/>
1431
+ <line num="98" count="0" type="stmt"/>
1432
+ <line num="99" count="0" type="stmt"/>
1433
+ <line num="103" count="0" type="stmt"/>
1434
+ <line num="104" count="0" type="stmt"/>
1435
+ <line num="115" count="0" type="stmt"/>
1436
+ <line num="117" count="0" type="stmt"/>
1437
+ <line num="119" count="0" type="cond" truecount="0" falsecount="4"/>
1438
+ <line num="120" count="0" type="cond" truecount="0" falsecount="2"/>
1439
+ <line num="123" count="0" type="cond" truecount="0" falsecount="4"/>
1440
+ <line num="124" count="0" type="stmt"/>
1441
+ <line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
1442
+ <line num="128" count="0" type="cond" truecount="0" falsecount="2"/>
1443
+ <line num="130" count="0" type="stmt"/>
1444
+ <line num="134" count="0" type="stmt"/>
1445
+ <line num="135" count="0" type="stmt"/>
1446
+ <line num="136" count="0" type="stmt"/>
1447
+ <line num="139" count="0" type="stmt"/>
1448
+ <line num="140" count="0" type="stmt"/>
1449
+ <line num="143" count="0" type="stmt"/>
1450
+ <line num="144" count="0" type="cond" truecount="0" falsecount="2"/>
1451
+ <line num="145" count="0" type="stmt"/>
1452
+ <line num="147" count="0" type="stmt"/>
1453
+ <line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
1454
+ <line num="153" count="0" type="stmt"/>
1455
+ <line num="154" count="0" type="cond" truecount="0" falsecount="2"/>
1456
+ <line num="155" count="0" type="stmt"/>
1457
+ <line num="157" count="0" type="stmt"/>
1458
+ <line num="161" count="0" type="stmt"/>
1459
+ <line num="164" count="0" type="cond" truecount="0" falsecount="2"/>
1460
+ <line num="165" count="0" type="stmt"/>
1461
+ <line num="166" count="0" type="cond" truecount="0" falsecount="2"/>
1462
+ <line num="167" count="0" type="stmt"/>
1463
+ <line num="169" count="0" type="cond" truecount="0" falsecount="4"/>
1464
+ <line num="170" count="0" type="stmt"/>
1465
+ <line num="172" count="0" type="cond" truecount="0" falsecount="4"/>
1466
+ <line num="173" count="0" type="stmt"/>
1467
+ <line num="175" count="0" type="stmt"/>
1468
+ <line num="176" count="0" type="stmt"/>
1469
+ <line num="177" count="0" type="stmt"/>
1470
+ <line num="180" count="0" type="cond" truecount="0" falsecount="2"/>
1471
+ <line num="181" count="0" type="stmt"/>
1472
+ <line num="182" count="0" type="cond" truecount="0" falsecount="2"/>
1473
+ <line num="183" count="0" type="stmt"/>
1474
+ <line num="185" count="0" type="stmt"/>
1475
+ <line num="189" count="0" type="stmt"/>
1476
+ <line num="192" count="0" type="cond" truecount="0" falsecount="2"/>
1477
+ <line num="193" count="0" type="stmt"/>
1478
+ <line num="194" count="0" type="cond" truecount="0" falsecount="2"/>
1479
+ <line num="195" count="0" type="stmt"/>
1480
+ <line num="197" count="0" type="stmt"/>
1481
+ <line num="200" count="0" type="cond" truecount="0" falsecount="2"/>
1482
+ <line num="201" count="0" type="stmt"/>
1483
+ <line num="202" count="0" type="cond" truecount="0" falsecount="2"/>
1484
+ <line num="203" count="0" type="stmt"/>
1485
+ <line num="205" count="0" type="stmt"/>
1486
+ <line num="208" count="0" type="cond" truecount="0" falsecount="2"/>
1487
+ <line num="209" count="0" type="stmt"/>
1488
+ <line num="211" count="0" type="cond" truecount="0" falsecount="2"/>
1489
+ <line num="212" count="0" type="stmt"/>
1490
+ <line num="214" count="0" type="stmt"/>
1491
+ <line num="218" count="0" type="stmt"/>
1492
+ <line num="223" count="0" type="cond" truecount="0" falsecount="2"/>
1493
+ <line num="224" count="0" type="stmt"/>
1494
+ <line num="226" count="0" type="cond" truecount="0" falsecount="2"/>
1495
+ <line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
1496
+ <line num="228" count="0" type="stmt"/>
1497
+ <line num="229" count="0" type="stmt"/>
1498
+ <line num="231" count="0" type="stmt"/>
1499
+ <line num="235" count="0" type="stmt"/>
1500
+ <line num="238" count="0" type="stmt"/>
1501
+ <line num="239" count="0" type="stmt"/>
1502
+ <line num="249" count="33" type="stmt"/>
1503
+ <line num="250" count="0" type="stmt"/>
1504
+ <line num="254" count="0" type="stmt"/>
1505
+ <line num="256" count="0" type="stmt"/>
1506
+ <line num="259" count="0" type="cond" truecount="0" falsecount="4"/>
1507
+ <line num="260" count="0" type="stmt"/>
1508
+ <line num="262" count="0" type="cond" truecount="0" falsecount="2"/>
1509
+ <line num="263" count="0" type="stmt"/>
1510
+ <line num="265" count="0" type="stmt"/>
1511
+ <line num="285" count="33" type="stmt"/>
1512
+ <line num="286" count="0" type="stmt"/>
1513
+ <line num="287" count="0" type="cond" truecount="0" falsecount="2"/>
1514
+ <line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
1515
+ <line num="289" count="0" type="stmt"/>
1516
+ <line num="291" count="0" type="stmt"/>
1517
+ <line num="292" count="0" type="cond" truecount="0" falsecount="2"/>
1518
+ <line num="293" count="0" type="stmt"/>
1519
+ <line num="295" count="0" type="stmt"/>
1520
+ <line num="304" count="0" type="cond" truecount="0" falsecount="2"/>
1521
+ <line num="305" count="0" type="stmt"/>
1522
+ <line num="307" count="0" type="cond" truecount="0" falsecount="2"/>
1523
+ <line num="308" count="0" type="stmt"/>
1524
+ <line num="310" count="0" type="stmt"/>
1525
+ <line num="315" count="0" type="stmt"/>
1526
+ <line num="334" count="33" type="stmt"/>
1527
+ <line num="335" count="0" type="stmt"/>
1528
+ <line num="336" count="0" type="cond" truecount="0" falsecount="5"/>
1529
+ <line num="337" count="0" type="stmt"/>
1530
+ <line num="339" count="0" type="stmt"/>
1531
+ <line num="340" count="0" type="stmt"/>
1532
+ <line num="346" count="0" type="stmt"/>
1533
+ <line num="353" count="0" type="stmt"/>
1534
+ <line num="358" count="0" type="stmt"/>
1535
+ <line num="380" count="33" type="stmt"/>
1536
+ <line num="381" count="0" type="stmt"/>
1537
+ <line num="382" count="0" type="cond" truecount="0" falsecount="5"/>
1538
+ <line num="383" count="0" type="stmt"/>
1539
+ <line num="385" count="0" type="stmt"/>
1540
+ <line num="386" count="0" type="stmt"/>
1541
+ <line num="387" count="0" type="stmt"/>
1359
1542
  </file>
1360
1543
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/utils.js">
1361
1544
  <metrics statements="44" coveredstatements="34" conditionals="20" coveredconditionals="11" methods="6" coveredmethods="4"/>
@@ -1535,69 +1718,69 @@
1535
1718
  <line num="74" count="1" type="stmt"/>
1536
1719
  <line num="75" count="1" type="stmt"/>
1537
1720
  <line num="76" count="1" type="stmt"/>
1538
- <line num="77" count="1" type="stmt"/>
1721
+ <line num="79" count="1" type="stmt"/>
1539
1722
  <line num="80" count="1" type="stmt"/>
1540
- <line num="88" count="1" type="stmt"/>
1541
- <line num="90" count="4" type="cond" truecount="1" falsecount="1"/>
1542
- <line num="95" count="0" type="stmt"/>
1543
- <line num="101" count="1" type="stmt"/>
1544
- <line num="104" count="1" type="stmt"/>
1545
- <line num="105" count="1" type="stmt"/>
1546
- <line num="106" count="1" type="stmt"/>
1547
- <line num="108" count="100" type="stmt"/>
1548
- <line num="111" count="34" type="stmt"/>
1549
- <line num="112" count="99" type="stmt"/>
1550
- <line num="114" count="99" type="cond" truecount="4" falsecount="0"/>
1551
- <line num="115" count="2" type="stmt"/>
1552
- <line num="116" count="2" type="stmt"/>
1553
- <line num="118" count="2" type="stmt"/>
1554
- <line num="119" count="3" type="stmt"/>
1555
- <line num="122" count="2" type="cond" truecount="2" falsecount="0"/>
1556
- <line num="123" count="1" type="stmt"/>
1557
- <line num="124" count="1" type="stmt"/>
1558
- <line num="128" count="1" type="cond" truecount="1" falsecount="1"/>
1559
- <line num="129" count="1" type="stmt"/>
1560
- <line num="131" count="1" type="stmt"/>
1561
- <line num="142" count="1" type="stmt"/>
1562
- <line num="152" count="99" type="stmt"/>
1563
- <line num="155" count="34" type="stmt"/>
1564
- <line num="157" count="99" type="cond" truecount="2" falsecount="0"/>
1565
- <line num="158" count="1" type="stmt"/>
1566
- <line num="160" count="5" type="cond" truecount="1" falsecount="1"/>
1567
- <line num="161" count="5" type="stmt"/>
1568
- <line num="165" count="99" type="stmt"/>
1569
- <line num="170" count="99" type="stmt"/>
1570
- <line num="171" count="99" type="stmt"/>
1571
- <line num="172" count="99" type="cond" truecount="3" falsecount="1"/>
1572
- <line num="173" count="99" type="stmt"/>
1723
+ <line num="82" count="1" type="stmt"/>
1724
+ <line num="84" count="4" type="cond" truecount="1" falsecount="1"/>
1725
+ <line num="89" count="0" type="stmt"/>
1726
+ <line num="97" count="1" type="stmt"/>
1727
+ <line num="108" count="1" type="stmt"/>
1728
+ <line num="109" count="1" type="stmt"/>
1729
+ <line num="110" count="1" type="stmt"/>
1730
+ <line num="112" count="100" type="stmt"/>
1731
+ <line num="115" count="34" type="stmt"/>
1732
+ <line num="116" count="99" type="stmt"/>
1733
+ <line num="118" count="99" type="cond" truecount="4" falsecount="0"/>
1734
+ <line num="119" count="2" type="stmt"/>
1735
+ <line num="120" count="2" type="stmt"/>
1736
+ <line num="122" count="2" type="stmt"/>
1737
+ <line num="123" count="3" type="stmt"/>
1738
+ <line num="126" count="2" type="cond" truecount="2" falsecount="0"/>
1739
+ <line num="127" count="1" type="stmt"/>
1740
+ <line num="128" count="1" type="stmt"/>
1741
+ <line num="132" count="1" type="cond" truecount="1" falsecount="1"/>
1742
+ <line num="133" count="1" type="stmt"/>
1743
+ <line num="135" count="1" type="stmt"/>
1744
+ <line num="146" count="1" type="stmt"/>
1745
+ <line num="156" count="99" type="stmt"/>
1746
+ <line num="159" count="34" type="stmt"/>
1747
+ <line num="161" count="99" type="cond" truecount="2" falsecount="0"/>
1748
+ <line num="162" count="1" type="stmt"/>
1749
+ <line num="164" count="5" type="cond" truecount="1" falsecount="1"/>
1750
+ <line num="165" count="5" type="stmt"/>
1751
+ <line num="169" count="99" type="stmt"/>
1752
+ <line num="174" count="99" type="stmt"/>
1573
1753
  <line num="175" count="99" type="stmt"/>
1574
- <line num="176" count="99" type="stmt"/>
1575
- <line num="178" count="99" type="stmt"/>
1576
- <line num="183" count="99" type="cond" truecount="2" falsecount="0"/>
1577
- <line num="184" count="4" type="stmt"/>
1578
- <line num="186" count="99" type="stmt"/>
1579
- <line num="187" count="99" type="stmt"/>
1580
- <line num="192" count="99" type="stmt"/>
1581
- <line num="197" count="99" type="stmt"/>
1582
- <line num="198" count="99" type="stmt"/>
1583
- <line num="203" count="99" type="stmt"/>
1584
- <line num="204" count="99" type="stmt"/>
1585
- <line num="210" count="99" type="stmt"/>
1754
+ <line num="176" count="99" type="cond" truecount="3" falsecount="1"/>
1755
+ <line num="177" count="99" type="stmt"/>
1756
+ <line num="179" count="99" type="stmt"/>
1757
+ <line num="180" count="99" type="stmt"/>
1758
+ <line num="182" count="99" type="stmt"/>
1759
+ <line num="187" count="99" type="cond" truecount="2" falsecount="0"/>
1760
+ <line num="188" count="4" type="stmt"/>
1761
+ <line num="190" count="99" type="stmt"/>
1762
+ <line num="191" count="99" type="stmt"/>
1763
+ <line num="196" count="99" type="stmt"/>
1764
+ <line num="201" count="99" type="stmt"/>
1765
+ <line num="202" count="99" type="stmt"/>
1766
+ <line num="207" count="99" type="stmt"/>
1767
+ <line num="208" count="99" type="stmt"/>
1586
1768
  <line num="214" count="99" type="stmt"/>
1587
- <line num="218" count="34" type="stmt"/>
1588
- <line num="219" count="0" type="stmt"/>
1589
- <line num="220" count="0" type="stmt"/>
1590
- <line num="221" count="0" type="cond" truecount="0" falsecount="4"/>
1591
- <line num="222" count="0" type="stmt"/>
1769
+ <line num="218" count="99" type="stmt"/>
1770
+ <line num="222" count="34" type="stmt"/>
1771
+ <line num="223" count="0" type="stmt"/>
1592
1772
  <line num="224" count="0" type="stmt"/>
1593
- <line num="227" count="34" type="stmt"/>
1773
+ <line num="225" count="0" type="cond" truecount="0" falsecount="4"/>
1774
+ <line num="226" count="0" type="stmt"/>
1594
1775
  <line num="228" count="0" type="stmt"/>
1595
- <line num="229" count="0" type="stmt"/>
1596
- <line num="232" count="34" type="stmt"/>
1776
+ <line num="231" count="34" type="stmt"/>
1777
+ <line num="232" count="0" type="stmt"/>
1778
+ <line num="233" count="0" type="stmt"/>
1779
+ <line num="236" count="34" type="stmt"/>
1597
1780
  </file>
1598
1781
  </package>
1599
1782
  <package name="api.controllers.view">
1600
- <metrics statements="103" coveredstatements="97" conditionals="51" coveredconditionals="40" methods="11" coveredmethods="11"/>
1783
+ <metrics statements="147" coveredstatements="115" conditionals="67" coveredconditionals="44" methods="17" coveredmethods="15"/>
1601
1784
  <file name="exporters.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.js">
1602
1785
  <metrics statements="10" coveredstatements="10" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="4"/>
1603
1786
  <line num="1" count="33" type="stmt"/>
@@ -1612,7 +1795,7 @@
1612
1795
  <line num="17" count="1" type="stmt"/>
1613
1796
  </file>
1614
1797
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/index.js">
1615
- <metrics statements="66" coveredstatements="62" conditionals="23" coveredconditionals="16" methods="4" coveredmethods="4"/>
1798
+ <metrics statements="54" coveredstatements="51" conditionals="19" coveredconditionals="13" methods="4" coveredmethods="4"/>
1616
1799
  <line num="1" count="33" type="stmt"/>
1617
1800
  <line num="2" count="33" type="stmt"/>
1618
1801
  <line num="3" count="33" type="stmt"/>
@@ -1620,65 +1803,112 @@
1620
1803
  <line num="5" count="33" type="stmt"/>
1621
1804
  <line num="6" count="33" type="stmt"/>
1622
1805
  <line num="8" count="33" type="stmt"/>
1806
+ <line num="9" count="1" type="stmt"/>
1623
1807
  <line num="10" count="1" type="stmt"/>
1624
- <line num="11" count="1" type="stmt"/>
1625
- <line num="12" count="1" type="stmt"/>
1626
- <line num="14" count="1" type="stmt"/>
1627
- <line num="16" count="3" type="cond" truecount="2" falsecount="0"/>
1628
- <line num="17" count="2" type="stmt"/>
1629
- <line num="19" count="1" type="stmt"/>
1630
- <line num="25" count="1" type="stmt"/>
1631
- <line num="28" count="8" type="stmt"/>
1632
- <line num="29" count="8" type="stmt"/>
1808
+ <line num="13" count="33" type="stmt"/>
1809
+ <line num="14" count="8" type="stmt"/>
1810
+ <line num="15" count="8" type="stmt"/>
1811
+ <line num="16" count="8" type="stmt"/>
1812
+ <line num="18" count="8" type="cond" truecount="1" falsecount="1"/>
1813
+ <line num="19" count="0" type="stmt"/>
1814
+ <line num="22" count="8" type="stmt"/>
1815
+ <line num="25" count="8" type="stmt"/>
1816
+ <line num="26" count="8" type="cond" truecount="1" falsecount="1"/>
1817
+ <line num="27" count="8" type="cond" truecount="2" falsecount="0"/>
1818
+ <line num="28" count="3" type="stmt"/>
1633
1819
  <line num="30" count="8" type="stmt"/>
1634
- <line num="31" count="8" type="stmt"/>
1635
- <line num="33" count="8" type="cond" truecount="1" falsecount="1"/>
1636
- <line num="34" count="0" type="stmt"/>
1637
- <line num="37" count="8" type="stmt"/>
1638
- <line num="43" count="8" type="cond" truecount="1" falsecount="1"/>
1639
- <line num="44" count="0" type="stmt"/>
1640
- <line num="47" count="8" type="stmt"/>
1641
- <line num="50" count="8" type="stmt"/>
1642
- <line num="51" count="8" type="cond" truecount="1" falsecount="1"/>
1643
- <line num="52" count="8" type="cond" truecount="2" falsecount="0"/>
1644
- <line num="53" count="3" type="stmt"/>
1645
- <line num="55" count="8" type="stmt"/>
1646
- <line num="57" count="8" type="cond" truecount="1" falsecount="1"/>
1647
- <line num="58" count="0" type="stmt"/>
1648
- <line num="61" count="8" type="stmt"/>
1649
- <line num="63" count="8" type="stmt"/>
1650
- <line num="69" count="1" type="stmt"/>
1651
- <line num="70" count="1" type="stmt"/>
1652
- <line num="71" count="1" type="stmt"/>
1653
- <line num="72" count="1" type="stmt"/>
1654
- <line num="73" count="1" type="stmt"/>
1655
- <line num="75" count="1" type="stmt"/>
1656
- <line num="77" count="1" type="stmt"/>
1657
- <line num="78" count="1" type="stmt"/>
1658
- <line num="79" count="1" type="stmt"/>
1659
- <line num="81" count="1" type="stmt"/>
1820
+ <line num="31" count="8" type="cond" truecount="1" falsecount="1"/>
1821
+ <line num="32" count="0" type="stmt"/>
1822
+ <line num="34" count="8" type="stmt"/>
1823
+ <line num="36" count="8" type="stmt"/>
1824
+ <line num="42" count="33" type="stmt"/>
1825
+ <line num="43" count="1" type="stmt"/>
1826
+ <line num="44" count="1" type="stmt"/>
1827
+ <line num="45" count="1" type="stmt"/>
1828
+ <line num="46" count="1" type="stmt"/>
1829
+ <line num="47" count="1" type="stmt"/>
1830
+ <line num="48" count="1" type="stmt"/>
1831
+ <line num="50" count="1" type="stmt"/>
1832
+ <line num="53" count="33" type="stmt"/>
1833
+ <line num="54" count="2" type="stmt"/>
1834
+ <line num="55" count="2" type="stmt"/>
1835
+ <line num="56" count="2" type="stmt"/>
1836
+ <line num="58" count="2" type="stmt"/>
1837
+ <line num="59" count="2" type="cond" truecount="1" falsecount="1"/>
1838
+ <line num="60" count="0" type="stmt"/>
1839
+ <line num="63" count="2" type="cond" truecount="1" falsecount="1"/>
1840
+ <line num="64" count="2" type="stmt"/>
1841
+ <line num="66" count="2" type="stmt"/>
1842
+ <line num="78" count="2" type="stmt"/>
1843
+ <line num="80" count="2" type="cond" truecount="3" falsecount="0"/>
1844
+ <line num="81" count="2" type="cond" truecount="1" falsecount="1"/>
1845
+ <line num="82" count="2" type="cond" truecount="2" falsecount="0"/>
1846
+ <line num="83" count="2" type="stmt"/>
1660
1847
  <line num="84" count="2" type="stmt"/>
1661
- <line num="85" count="2" type="stmt"/>
1662
- <line num="86" count="2" type="stmt"/>
1663
1848
  <line num="88" count="2" type="stmt"/>
1664
1849
  <line num="89" count="2" type="stmt"/>
1665
- <line num="90" count="2" type="cond" truecount="1" falsecount="1"/>
1666
- <line num="91" count="0" type="stmt"/>
1667
- <line num="94" count="2" type="cond" truecount="1" falsecount="1"/>
1668
- <line num="95" count="2" type="stmt"/>
1669
- <line num="97" count="2" type="stmt"/>
1670
- <line num="109" count="2" type="stmt"/>
1671
- <line num="111" count="2" type="cond" truecount="3" falsecount="0"/>
1672
- <line num="112" count="2" type="cond" truecount="1" falsecount="1"/>
1673
- <line num="113" count="2" type="cond" truecount="2" falsecount="0"/>
1674
- <line num="114" count="2" type="stmt"/>
1675
- <line num="115" count="2" type="stmt"/>
1676
- <line num="119" count="2" type="stmt"/>
1677
- <line num="120" count="2" type="stmt"/>
1678
- <line num="121" count="2" type="stmt"/>
1679
- <line num="123" count="2" type="stmt"/>
1680
- <line num="124" count="2" type="stmt"/>
1681
- <line num="128" count="33" type="stmt"/>
1850
+ <line num="90" count="2" type="stmt"/>
1851
+ <line num="92" count="2" type="stmt"/>
1852
+ <line num="93" count="2" type="stmt"/>
1853
+ </file>
1854
+ <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/utils.js">
1855
+ <metrics statements="56" coveredstatements="29" conditionals="20" coveredconditionals="7" methods="6" coveredmethods="4"/>
1856
+ <line num="5" count="34" type="stmt"/>
1857
+ <line num="6" count="34" type="stmt"/>
1858
+ <line num="8" count="34" type="stmt"/>
1859
+ <line num="9" count="2" type="cond" truecount="1" falsecount="1"/>
1860
+ <line num="10" count="2" type="stmt"/>
1861
+ <line num="11" count="2" type="stmt"/>
1862
+ <line num="13" count="0" type="stmt"/>
1863
+ <line num="14" count="0" type="stmt"/>
1864
+ <line num="18" count="34" type="stmt"/>
1865
+ <line num="19" count="1" type="stmt"/>
1866
+ <line num="20" count="1" type="cond" truecount="1" falsecount="1"/>
1867
+ <line num="21" count="1" type="stmt"/>
1868
+ <line num="22" count="1" type="stmt"/>
1869
+ <line num="24" count="3" type="cond" truecount="2" falsecount="0"/>
1870
+ <line num="25" count="2" type="stmt"/>
1871
+ <line num="27" count="1" type="stmt"/>
1872
+ <line num="33" count="0" type="stmt"/>
1873
+ <line num="39" count="0" type="stmt"/>
1874
+ <line num="40" count="0" type="stmt"/>
1875
+ <line num="41" count="0" type="stmt"/>
1876
+ <line num="47" count="1" type="stmt"/>
1877
+ <line num="50" count="34" type="stmt"/>
1878
+ <line num="51" count="8" type="cond" truecount="1" falsecount="1"/>
1879
+ <line num="52" count="8" type="stmt"/>
1880
+ <line num="53" count="8" type="stmt"/>
1881
+ <line num="58" count="8" type="cond" truecount="1" falsecount="1"/>
1882
+ <line num="59" count="0" type="stmt"/>
1883
+ <line num="61" count="8" type="stmt"/>
1884
+ <line num="63" count="0" type="stmt"/>
1885
+ <line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
1886
+ <line num="65" count="0" type="stmt"/>
1887
+ <line num="71" count="0" type="stmt"/>
1888
+ <line num="72" count="0" type="stmt"/>
1889
+ <line num="73" count="0" type="cond" truecount="0" falsecount="2"/>
1890
+ <line num="74" count="0" type="stmt"/>
1891
+ <line num="75" count="0" type="stmt"/>
1892
+ <line num="77" count="0" type="cond" truecount="0" falsecount="4"/>
1893
+ <line num="78" count="0" type="stmt"/>
1894
+ <line num="83" count="0" type="stmt"/>
1895
+ <line num="87" count="34" type="stmt"/>
1896
+ <line num="88" count="1" type="cond" truecount="1" falsecount="1"/>
1897
+ <line num="89" count="1" type="stmt"/>
1898
+ <line num="90" count="1" type="stmt"/>
1899
+ <line num="91" count="1" type="stmt"/>
1900
+ <line num="92" count="1" type="stmt"/>
1901
+ <line num="93" count="1" type="stmt"/>
1902
+ <line num="95" count="0" type="stmt"/>
1903
+ <line num="96" count="0" type="stmt"/>
1904
+ <line num="97" count="0" type="stmt"/>
1905
+ <line num="98" count="0" type="stmt"/>
1906
+ <line num="102" count="34" type="stmt"/>
1907
+ <line num="104" count="0" type="stmt"/>
1908
+ <line num="105" count="0" type="stmt"/>
1909
+ <line num="106" count="0" type="stmt"/>
1910
+ <line num="107" count="0" type="stmt"/>
1911
+ <line num="108" count="0" type="stmt"/>
1682
1912
  </file>
1683
1913
  <file name="viewBuilder.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/viewBuilder.js">
1684
1914
  <metrics statements="27" coveredstatements="25" conditionals="26" coveredconditionals="23" methods="3" coveredmethods="3"/>
@@ -2331,7 +2561,7 @@
2331
2561
  </file>
2332
2562
  </package>
2333
2563
  <package name="automations.steps">
2334
- <metrics statements="228" coveredstatements="159" conditionals="83" coveredconditionals="56" methods="20" coveredmethods="9"/>
2564
+ <metrics statements="232" coveredstatements="169" conditionals="83" coveredconditionals="59" methods="20" coveredmethods="10"/>
2335
2565
  <file name="bash.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/bash.js">
2336
2566
  <metrics statements="15" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
2337
2567
  <line num="1" count="34" type="stmt"/>
@@ -2351,23 +2581,24 @@
2351
2581
  <line num="64" count="0" type="stmt"/>
2352
2582
  </file>
2353
2583
  <file name="createRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/createRow.js">
2354
- <metrics statements="16" coveredstatements="16" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
2584
+ <metrics statements="17" coveredstatements="17" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
2355
2585
  <line num="1" count="34" type="stmt"/>
2356
2586
  <line num="2" count="34" type="stmt"/>
2357
2587
  <line num="3" count="34" type="stmt"/>
2358
2588
  <line num="4" count="34" type="stmt"/>
2359
- <line num="6" count="34" type="stmt"/>
2360
- <line num="62" count="34" type="stmt"/>
2361
- <line num="63" count="9" type="cond" truecount="4" falsecount="0"/>
2362
- <line num="64" count="1" type="stmt"/>
2363
- <line num="72" count="8" type="stmt"/>
2364
- <line num="83" count="8" type="stmt"/>
2365
- <line num="84" count="8" type="stmt"/>
2366
- <line num="89" count="7" type="cond" truecount="2" falsecount="0"/>
2367
- <line num="90" count="1" type="stmt"/>
2368
- <line num="92" count="7" type="stmt"/>
2369
- <line num="93" count="7" type="stmt"/>
2370
- <line num="101" count="1" type="stmt"/>
2589
+ <line num="5" count="34" type="stmt"/>
2590
+ <line num="7" count="34" type="stmt"/>
2591
+ <line num="63" count="34" type="stmt"/>
2592
+ <line num="64" count="9" type="cond" truecount="4" falsecount="0"/>
2593
+ <line num="65" count="1" type="stmt"/>
2594
+ <line num="73" count="8" type="stmt"/>
2595
+ <line num="80" count="8" type="stmt"/>
2596
+ <line num="81" count="8" type="stmt"/>
2597
+ <line num="86" count="7" type="cond" truecount="2" falsecount="0"/>
2598
+ <line num="87" count="1" type="stmt"/>
2599
+ <line num="89" count="7" type="stmt"/>
2600
+ <line num="90" count="7" type="stmt"/>
2601
+ <line num="98" count="1" type="stmt"/>
2371
2602
  </file>
2372
2603
  <file name="delay.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/delay.js">
2373
2604
  <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
@@ -2378,21 +2609,22 @@
2378
2609
  <line num="36" count="1" type="stmt"/>
2379
2610
  </file>
2380
2611
  <file name="deleteRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/deleteRow.js">
2381
- <metrics statements="14" coveredstatements="14" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
2612
+ <metrics statements="15" coveredstatements="15" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
2382
2613
  <line num="1" count="34" type="stmt"/>
2383
2614
  <line num="2" count="34" type="stmt"/>
2384
2615
  <line num="3" count="34" type="stmt"/>
2385
- <line num="5" count="34" type="stmt"/>
2386
- <line num="54" count="34" type="stmt"/>
2387
- <line num="55" count="4" type="cond" truecount="4" falsecount="0"/>
2388
- <line num="56" count="1" type="stmt"/>
2389
- <line num="63" count="3" type="stmt"/>
2390
- <line num="77" count="3" type="stmt"/>
2391
- <line num="78" count="3" type="cond" truecount="2" falsecount="0"/>
2392
- <line num="79" count="1" type="stmt"/>
2393
- <line num="81" count="3" type="stmt"/>
2394
- <line num="82" count="2" type="stmt"/>
2395
- <line num="88" count="1" type="stmt"/>
2616
+ <line num="4" count="34" type="stmt"/>
2617
+ <line num="6" count="34" type="stmt"/>
2618
+ <line num="55" count="34" type="stmt"/>
2619
+ <line num="56" count="4" type="cond" truecount="4" falsecount="0"/>
2620
+ <line num="57" count="1" type="stmt"/>
2621
+ <line num="65" count="3" type="stmt"/>
2622
+ <line num="75" count="3" type="stmt"/>
2623
+ <line num="76" count="3" type="cond" truecount="2" falsecount="0"/>
2624
+ <line num="77" count="1" type="stmt"/>
2625
+ <line num="79" count="3" type="stmt"/>
2626
+ <line num="80" count="2" type="stmt"/>
2627
+ <line num="86" count="1" type="stmt"/>
2396
2628
  </file>
2397
2629
  <file name="discord.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/discord.js">
2398
2630
  <metrics statements="14" coveredstatements="6" conditionals="4" coveredconditionals="0" methods="1" coveredmethods="0"/>
@@ -2508,14 +2740,15 @@
2508
2740
  <line num="121" count="2" type="stmt"/>
2509
2741
  </file>
2510
2742
  <file name="queryRows.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/queryRows.js">
2511
- <metrics statements="21" coveredstatements="20" conditionals="11" coveredconditionals="7" methods="2" coveredmethods="2"/>
2743
+ <metrics statements="22" coveredstatements="21" conditionals="11" coveredconditionals="7" methods="2" coveredmethods="2"/>
2512
2744
  <line num="1" count="34" type="stmt"/>
2513
2745
  <line num="2" count="34" type="stmt"/>
2514
2746
  <line num="3" count="34" type="stmt"/>
2515
- <line num="5" count="34" type="stmt"/>
2516
- <line num="10" count="34" type="stmt"/>
2517
- <line num="15" count="34" type="stmt"/>
2518
- <line num="73" count="1" type="stmt"/>
2747
+ <line num="4" count="34" type="stmt"/>
2748
+ <line num="6" count="34" type="stmt"/>
2749
+ <line num="11" count="34" type="stmt"/>
2750
+ <line num="16" count="34" type="stmt"/>
2751
+ <line num="74" count="1" type="stmt"/>
2519
2752
  <line num="79" count="1" type="stmt"/>
2520
2753
  <line num="80" count="1" type="stmt"/>
2521
2754
  <line num="83" count="34" type="stmt"/>
@@ -2526,10 +2759,10 @@
2526
2759
  <line num="88" count="1" type="stmt"/>
2527
2760
  <line num="89" count="1" type="stmt"/>
2528
2761
  <line num="92" count="1" type="stmt"/>
2529
- <line num="107" count="1" type="stmt"/>
2530
- <line num="108" count="1" type="stmt"/>
2531
- <line num="109" count="1" type="stmt"/>
2532
- <line num="114" count="0" type="stmt"/>
2762
+ <line num="104" count="1" type="stmt"/>
2763
+ <line num="105" count="1" type="stmt"/>
2764
+ <line num="106" count="1" type="stmt"/>
2765
+ <line num="111" count="0" type="stmt"/>
2533
2766
  </file>
2534
2767
  <file name="sendSmtpEmail.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/sendSmtpEmail.js">
2535
2768
  <metrics statements="10" coveredstatements="3" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
@@ -2563,25 +2796,26 @@
2563
2796
  <line num="59" count="0" type="stmt"/>
2564
2797
  </file>
2565
2798
  <file name="updateRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/updateRow.js">
2566
- <metrics statements="15" coveredstatements="15" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
2799
+ <metrics statements="16" coveredstatements="16" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
2567
2800
  <line num="1" count="34" type="stmt"/>
2568
2801
  <line num="2" count="34" type="stmt"/>
2569
- <line num="4" count="34" type="stmt"/>
2570
- <line num="57" count="34" type="stmt"/>
2571
- <line num="58" count="3" type="cond" truecount="4" falsecount="0"/>
2572
- <line num="59" count="1" type="stmt"/>
2573
- <line num="68" count="2" type="stmt"/>
2574
- <line num="69" count="7" type="cond" truecount="4" falsecount="0"/>
2575
- <line num="70" count="1" type="stmt"/>
2576
- <line num="75" count="2" type="stmt"/>
2577
- <line num="89" count="2" type="stmt"/>
2578
- <line num="90" count="2" type="stmt"/>
2579
- <line num="95" count="1" type="stmt"/>
2580
- <line num="96" count="1" type="stmt"/>
2581
- <line num="104" count="1" type="stmt"/>
2802
+ <line num="3" count="34" type="stmt"/>
2803
+ <line num="5" count="34" type="stmt"/>
2804
+ <line num="58" count="34" type="stmt"/>
2805
+ <line num="59" count="3" type="cond" truecount="4" falsecount="0"/>
2806
+ <line num="60" count="1" type="stmt"/>
2807
+ <line num="69" count="2" type="stmt"/>
2808
+ <line num="70" count="7" type="cond" truecount="4" falsecount="0"/>
2809
+ <line num="71" count="1" type="stmt"/>
2810
+ <line num="76" count="2" type="stmt"/>
2811
+ <line num="86" count="2" type="stmt"/>
2812
+ <line num="87" count="2" type="stmt"/>
2813
+ <line num="92" count="1" type="stmt"/>
2814
+ <line num="93" count="1" type="stmt"/>
2815
+ <line num="101" count="1" type="stmt"/>
2582
2816
  </file>
2583
2817
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/utils.js">
2584
- <metrics statements="17" coveredstatements="8" conditionals="9" coveredconditionals="3" methods="3" coveredmethods="1"/>
2818
+ <metrics statements="17" coveredstatements="14" conditionals="9" coveredconditionals="6" methods="3" coveredmethods="2"/>
2585
2819
  <line num="1" count="34" type="stmt"/>
2586
2820
  <line num="2" count="2" type="stmt"/>
2587
2821
  <line num="4" count="2" type="stmt"/>
@@ -2592,13 +2826,13 @@
2592
2826
  <line num="12" count="0" type="stmt"/>
2593
2827
  <line num="14" count="2" type="stmt"/>
2594
2828
  <line num="20" count="34" type="cond" truecount="0" falsecount="1"/>
2595
- <line num="21" count="0" type="stmt"/>
2829
+ <line num="21" count="15" type="stmt"/>
2596
2830
  <line num="26" count="0" type="stmt"/>
2597
- <line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
2598
- <line num="30" count="0" type="stmt"/>
2599
- <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
2600
- <line num="33" count="0" type="stmt"/>
2601
- <line num="35" count="0" type="stmt"/>
2831
+ <line num="29" count="15" type="cond" truecount="2" falsecount="0"/>
2832
+ <line num="30" count="14" type="stmt"/>
2833
+ <line num="32" count="15" type="cond" truecount="1" falsecount="1"/>
2834
+ <line num="33" count="15" type="stmt"/>
2835
+ <line num="35" count="15" type="stmt"/>
2602
2836
  </file>
2603
2837
  <file name="zapier.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/zapier.js">
2604
2838
  <metrics statements="8" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
@@ -2684,7 +2918,7 @@
2684
2918
  </file>
2685
2919
  </package>
2686
2920
  <package name="db">
2687
- <metrics statements="125" coveredstatements="118" conditionals="54" coveredconditionals="21" methods="29" coveredmethods="27"/>
2921
+ <metrics statements="152" coveredstatements="126" conditionals="63" coveredconditionals="21" methods="35" coveredmethods="27"/>
2688
2922
  <file name="client.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/client.js">
2689
2923
  <metrics statements="17" coveredstatements="17" conditionals="4" coveredconditionals="3" methods="0" coveredmethods="0"/>
2690
2924
  <line num="1" count="42" type="stmt"/>
@@ -2705,6 +2939,32 @@
2705
2939
  <line num="29" count="42" type="stmt"/>
2706
2940
  <line num="31" count="42" type="stmt"/>
2707
2941
  </file>
2942
+ <file name="inMemoryView.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/inMemoryView.js">
2943
+ <metrics statements="23" coveredstatements="6" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
2944
+ <line num="1" count="34" type="stmt"/>
2945
+ <line num="2" count="34" type="stmt"/>
2946
+ <line num="3" count="34" type="stmt"/>
2947
+ <line num="5" count="34" type="stmt"/>
2948
+ <line num="6" count="34" type="stmt"/>
2949
+ <line num="11" count="34" type="stmt"/>
2950
+ <line num="15" count="0" type="stmt"/>
2951
+ <line num="17" count="0" type="stmt"/>
2952
+ <line num="18" count="0" type="stmt"/>
2953
+ <line num="23" count="0" type="stmt"/>
2954
+ <line num="24" count="0" type="stmt"/>
2955
+ <line num="25" count="0" type="stmt"/>
2956
+ <line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
2957
+ <line num="30" count="0" type="stmt"/>
2958
+ <line num="32" count="0" type="stmt"/>
2959
+ <line num="37" count="0" type="stmt"/>
2960
+ <line num="38" count="0" type="cond" truecount="0" falsecount="4"/>
2961
+ <line num="39" count="0" type="stmt"/>
2962
+ <line num="41" count="0" type="stmt"/>
2963
+ <line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
2964
+ <line num="43" count="0" type="stmt"/>
2965
+ <line num="46" count="0" type="stmt"/>
2966
+ <line num="47" count="0" type="stmt"/>
2967
+ </file>
2708
2968
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/index.js">
2709
2969
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2710
2970
  <line num="1" count="42" type="stmt"/>
@@ -2717,18 +2977,17 @@
2717
2977
  <line num="4" count="610" type="stmt"/>
2718
2978
  </file>
2719
2979
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
2720
- <metrics statements="103" coveredstatements="96" conditionals="50" coveredconditionals="18" methods="28" coveredmethods="26"/>
2980
+ <metrics statements="107" coveredstatements="98" conditionals="51" coveredconditionals="18" methods="30" coveredmethods="26"/>
2721
2981
  <line num="1" count="45" type="stmt"/>
2722
2982
  <line num="12" count="45" type="stmt"/>
2723
2983
  <line num="14" count="45" type="stmt"/>
2724
2984
  <line num="16" count="45" type="stmt"/>
2725
2985
  <line num="22" count="45" type="stmt"/>
2726
- <line num="44" count="45" type="stmt"/>
2727
- <line num="49" count="45" type="stmt"/>
2728
- <line num="53" count="45" type="stmt"/>
2729
- <line num="57" count="45" type="stmt"/>
2730
- <line num="59" count="45" type="stmt"/>
2731
- <line num="67" count="45" type="stmt"/>
2986
+ <line num="45" count="45" type="stmt"/>
2987
+ <line num="50" count="45" type="stmt"/>
2988
+ <line num="54" count="45" type="stmt"/>
2989
+ <line num="58" count="45" type="stmt"/>
2990
+ <line num="60" count="45" type="stmt"/>
2732
2991
  <line num="68" count="45" type="stmt"/>
2733
2992
  <line num="69" count="45" type="stmt"/>
2734
2993
  <line num="70" count="45" type="stmt"/>
@@ -2742,89 +3001,94 @@
2742
3001
  <line num="78" count="45" type="stmt"/>
2743
3002
  <line num="79" count="45" type="stmt"/>
2744
3003
  <line num="80" count="45" type="stmt"/>
2745
- <line num="82" count="45" type="stmt"/>
3004
+ <line num="81" count="45" type="stmt"/>
2746
3005
  <line num="83" count="45" type="stmt"/>
2747
- <line num="85" count="45" type="stmt"/>
2748
- <line num="86" count="74" type="stmt"/>
2749
- <line num="102" count="48" type="cond" truecount="2" falsecount="0"/>
2750
- <line num="103" count="35" type="stmt"/>
2751
- <line num="105" count="48" type="stmt"/>
2752
- <line num="115" count="45" type="cond" truecount="0" falsecount="2"/>
2753
- <line num="116" count="3" type="stmt"/>
2754
- <line num="123" count="45" type="stmt"/>
2755
- <line num="124" count="99" type="stmt"/>
2756
- <line num="135" count="45" type="cond" truecount="0" falsecount="3"/>
2757
- <line num="136" count="11" type="cond" truecount="1" falsecount="1"/>
2758
- <line num="137" count="0" type="stmt"/>
2759
- <line num="140" count="11" type="cond" truecount="1" falsecount="1"/>
2760
- <line num="142" count="11" type="stmt"/>
2761
- <line num="151" count="45" type="cond" truecount="1" falsecount="0"/>
2762
- <line num="152" count="229" type="cond" truecount="2" falsecount="0"/>
2763
- <line num="153" count="229" type="stmt"/>
2764
- <line num="159" count="45" type="cond" truecount="0" falsecount="2"/>
2765
- <line num="160" count="3" type="stmt"/>
2766
- <line num="168" count="45" type="stmt"/>
2767
- <line num="169" count="161" type="stmt"/>
2768
- <line num="175" count="45" type="stmt"/>
2769
- <line num="176" count="2" type="stmt"/>
2770
- <line num="177" count="2" type="cond" truecount="4" falsecount="0"/>
2771
- <line num="178" count="1" type="stmt"/>
2772
- <line num="180" count="1" type="stmt"/>
2773
- <line num="186" count="45" type="cond" truecount="0" falsecount="2"/>
2774
- <line num="187" count="18" type="stmt"/>
2775
- <line num="194" count="45" type="stmt"/>
2776
- <line num="195" count="20" type="stmt"/>
2777
- <line num="209" count="45" type="stmt"/>
2778
- <line num="217" count="9" type="stmt"/>
3006
+ <line num="84" count="45" type="stmt"/>
3007
+ <line num="86" count="45" type="stmt"/>
3008
+ <line num="87" count="74" type="stmt"/>
3009
+ <line num="103" count="48" type="cond" truecount="2" falsecount="0"/>
3010
+ <line num="104" count="35" type="stmt"/>
3011
+ <line num="106" count="48" type="stmt"/>
3012
+ <line num="116" count="45" type="cond" truecount="0" falsecount="2"/>
3013
+ <line num="117" count="3" type="stmt"/>
3014
+ <line num="124" count="45" type="stmt"/>
3015
+ <line num="125" count="99" type="stmt"/>
3016
+ <line num="136" count="45" type="cond" truecount="0" falsecount="3"/>
3017
+ <line num="137" count="11" type="cond" truecount="1" falsecount="1"/>
3018
+ <line num="138" count="0" type="stmt"/>
3019
+ <line num="141" count="11" type="cond" truecount="1" falsecount="1"/>
3020
+ <line num="143" count="11" type="stmt"/>
3021
+ <line num="152" count="45" type="cond" truecount="1" falsecount="0"/>
3022
+ <line num="153" count="229" type="cond" truecount="2" falsecount="0"/>
3023
+ <line num="154" count="229" type="stmt"/>
3024
+ <line num="160" count="45" type="cond" truecount="0" falsecount="2"/>
3025
+ <line num="161" count="3" type="stmt"/>
3026
+ <line num="169" count="45" type="stmt"/>
3027
+ <line num="170" count="161" type="stmt"/>
3028
+ <line num="176" count="45" type="stmt"/>
3029
+ <line num="177" count="2" type="stmt"/>
3030
+ <line num="178" count="2" type="cond" truecount="4" falsecount="0"/>
3031
+ <line num="179" count="1" type="stmt"/>
3032
+ <line num="181" count="1" type="stmt"/>
3033
+ <line num="187" count="45" type="cond" truecount="0" falsecount="2"/>
3034
+ <line num="188" count="18" type="stmt"/>
3035
+ <line num="195" count="45" type="stmt"/>
3036
+ <line num="196" count="20" type="stmt"/>
3037
+ <line num="210" count="45" type="stmt"/>
2779
3038
  <line num="218" count="9" type="stmt"/>
2780
3039
  <line num="219" count="9" type="stmt"/>
2781
3040
  <line num="220" count="9" type="stmt"/>
2782
- <line num="226" count="45" type="cond" truecount="0" falsecount="1"/>
2783
- <line num="227" count="0" type="stmt"/>
2784
- <line num="234" count="45" type="cond" truecount="0" falsecount="1"/>
2785
- <line num="235" count="176" type="stmt"/>
2786
- <line num="236" count="176" type="cond" truecount="1" falsecount="1"/>
2787
- <line num="237" count="0" type="stmt"/>
2788
- <line num="239" count="176" type="stmt"/>
2789
- <line num="246" count="45" type="stmt"/>
2790
- <line num="247" count="176" type="stmt"/>
3041
+ <line num="221" count="9" type="stmt"/>
3042
+ <line num="227" count="45" type="cond" truecount="0" falsecount="1"/>
3043
+ <line num="228" count="0" type="stmt"/>
3044
+ <line num="235" count="45" type="cond" truecount="0" falsecount="1"/>
3045
+ <line num="236" count="176" type="stmt"/>
3046
+ <line num="237" count="176" type="cond" truecount="1" falsecount="1"/>
3047
+ <line num="238" count="0" type="stmt"/>
3048
+ <line num="240" count="176" type="stmt"/>
3049
+ <line num="247" count="45" type="stmt"/>
2791
3050
  <line num="248" count="176" type="stmt"/>
2792
3051
  <line num="249" count="176" type="stmt"/>
2793
- <line num="256" count="45" type="stmt"/>
2794
- <line num="257" count="5" type="cond" truecount="2" falsecount="0"/>
2795
- <line num="263" count="45" type="cond" truecount="0" falsecount="2"/>
2796
- <line num="264" count="3" type="stmt"/>
2797
- <line num="271" count="45" type="stmt"/>
2798
- <line num="272" count="191" type="stmt"/>
2799
- <line num="278" count="45" type="cond" truecount="0" falsecount="2"/>
2800
- <line num="279" count="5" type="stmt"/>
2801
- <line num="286" count="45" type="stmt"/>
2802
- <line num="287" count="10" type="stmt"/>
2803
- <line num="293" count="45" type="cond" truecount="0" falsecount="2"/>
2804
- <line num="294" count="2" type="stmt"/>
2805
- <line num="301" count="45" type="cond" truecount="1" falsecount="1"/>
2806
- <line num="302" count="23" type="stmt"/>
2807
- <line num="310" count="45" type="cond" truecount="0" falsecount="2"/>
2808
- <line num="311" count="3" type="stmt"/>
2809
- <line num="318" count="45" type="stmt"/>
2810
- <line num="319" count="18" type="stmt"/>
2811
- <line num="327" count="45" type="cond" truecount="0" falsecount="2"/>
2812
- <line num="328" count="3" type="cond" truecount="2" falsecount="0"/>
2813
- <line num="329" count="2" type="stmt"/>
2814
- <line num="332" count="1" type="stmt"/>
2815
- <line num="339" count="45" type="stmt"/>
2816
- <line num="340" count="10" type="stmt"/>
2817
- <line num="343" count="45" type="cond" truecount="0" falsecount="2"/>
2818
- <line num="344" count="0" type="stmt"/>
2819
- <line num="345" count="0" type="cond" truecount="0" falsecount="2"/>
2820
- <line num="346" count="0" type="stmt"/>
2821
- <line num="348" count="0" type="stmt"/>
2822
- <line num="354" count="45" type="stmt"/>
2823
- <line num="355" count="60" type="stmt"/>
3052
+ <line num="250" count="176" type="stmt"/>
3053
+ <line num="257" count="45" type="stmt"/>
3054
+ <line num="258" count="5" type="cond" truecount="2" falsecount="0"/>
3055
+ <line num="264" count="45" type="cond" truecount="0" falsecount="2"/>
3056
+ <line num="265" count="3" type="stmt"/>
3057
+ <line num="272" count="45" type="stmt"/>
3058
+ <line num="273" count="191" type="stmt"/>
3059
+ <line num="279" count="45" type="cond" truecount="0" falsecount="2"/>
3060
+ <line num="280" count="5" type="stmt"/>
3061
+ <line num="287" count="45" type="stmt"/>
3062
+ <line num="288" count="10" type="stmt"/>
3063
+ <line num="294" count="45" type="cond" truecount="0" falsecount="2"/>
3064
+ <line num="295" count="2" type="stmt"/>
3065
+ <line num="302" count="45" type="cond" truecount="1" falsecount="1"/>
3066
+ <line num="303" count="23" type="stmt"/>
3067
+ <line num="311" count="45" type="cond" truecount="0" falsecount="2"/>
3068
+ <line num="312" count="3" type="stmt"/>
3069
+ <line num="319" count="45" type="stmt"/>
3070
+ <line num="320" count="18" type="stmt"/>
3071
+ <line num="328" count="45" type="cond" truecount="0" falsecount="2"/>
3072
+ <line num="329" count="3" type="cond" truecount="2" falsecount="0"/>
3073
+ <line num="330" count="2" type="stmt"/>
3074
+ <line num="333" count="1" type="stmt"/>
3075
+ <line num="340" count="45" type="stmt"/>
3076
+ <line num="341" count="10" type="stmt"/>
3077
+ <line num="344" count="45" type="cond" truecount="0" falsecount="2"/>
3078
+ <line num="345" count="0" type="stmt"/>
3079
+ <line num="346" count="0" type="cond" truecount="0" falsecount="2"/>
3080
+ <line num="347" count="0" type="stmt"/>
3081
+ <line num="349" count="0" type="stmt"/>
3082
+ <line num="352" count="45" type="stmt"/>
3083
+ <line num="353" count="0" type="stmt"/>
3084
+ <line num="356" count="45" type="cond" truecount="0" falsecount="1"/>
3085
+ <line num="357" count="0" type="stmt"/>
3086
+ <line num="363" count="45" type="stmt"/>
3087
+ <line num="364" count="60" type="stmt"/>
2824
3088
  </file>
2825
3089
  </package>
2826
3090
  <package name="db.linkedRows">
2827
- <metrics statements="296" coveredstatements="285" conditionals="134" coveredconditionals="116" methods="57" coveredmethods="54"/>
3091
+ <metrics statements="298" coveredstatements="287" conditionals="134" coveredconditionals="116" methods="59" coveredmethods="56"/>
2828
3092
  <file name="LinkController.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/LinkController.js">
2829
3093
  <metrics statements="151" coveredstatements="146" conditionals="68" coveredconditionals="60" methods="27" coveredmethods="24"/>
2830
3094
  <line num="1" count="34" type="stmt"/>
@@ -2842,11 +3106,11 @@
2842
3106
  <line num="59" count="188" type="stmt"/>
2843
3107
  <line num="60" count="188" type="stmt"/>
2844
3108
  <line num="61" count="188" type="stmt"/>
2845
- <line num="70" count="225" type="cond" truecount="2" falsecount="0"/>
3109
+ <line num="70" count="52" type="cond" truecount="2" falsecount="0"/>
2846
3110
  <line num="71" count="5" type="stmt"/>
2847
- <line num="74" count="225" type="stmt"/>
3111
+ <line num="74" count="52" type="stmt"/>
2848
3112
  <line num="85" count="181" type="cond" truecount="2" falsecount="0"/>
2849
- <line num="86" count="178" type="stmt"/>
3113
+ <line num="86" count="5" type="stmt"/>
2850
3114
  <line num="88" count="181" type="stmt"/>
2851
3115
  <line num="89" count="454" type="stmt"/>
2852
3116
  <line num="90" count="454" type="cond" truecount="2" falsecount="0"/>
@@ -2980,7 +3244,7 @@
2980
3244
  <line num="468" count="34" type="stmt"/>
2981
3245
  </file>
2982
3246
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/index.js">
2983
- <metrics statements="92" coveredstatements="87" conditionals="40" coveredconditionals="33" methods="17" coveredmethods="17"/>
3247
+ <metrics statements="94" coveredstatements="89" conditionals="40" coveredconditionals="33" methods="19" coveredmethods="19"/>
2984
3248
  <line num="1" count="34" type="stmt"/>
2985
3249
  <line num="10" count="34" type="stmt"/>
2986
3250
  <line num="11" count="34" type="stmt"/>
@@ -3009,70 +3273,72 @@
3009
3273
  <line num="77" count="30" type="stmt"/>
3010
3274
  <line num="78" count="30" type="stmt"/>
3011
3275
  <line num="79" count="30" type="stmt"/>
3012
- <line num="80" count="18" type="stmt"/>
3013
- <line num="83" count="30" type="stmt"/>
3014
- <line num="84" count="18" type="stmt"/>
3276
+ <line num="80" count="30" type="stmt"/>
3277
+ <line num="81" count="18" type="stmt"/>
3278
+ <line num="84" count="30" type="stmt"/>
3015
3279
  <line num="86" count="30" type="stmt"/>
3016
- <line num="87" count="30" type="stmt"/>
3017
- <line num="102" count="34" type="stmt"/>
3018
- <line num="103" count="178" type="stmt"/>
3019
- <line num="104" count="178" type="cond" truecount="2" falsecount="0"/>
3020
- <line num="105" count="178" type="cond" truecount="1" falsecount="1"/>
3021
- <line num="106" count="0" type="stmt"/>
3022
- <line num="109" count="178" type="cond" truecount="4" falsecount="0"/>
3023
- <line num="110" count="101" type="stmt"/>
3024
- <line num="112" count="178" type="stmt"/>
3025
- <line num="113" count="178" type="stmt"/>
3026
- <line num="114" count="178" type="cond" truecount="2" falsecount="0"/>
3027
- <line num="119" count="137" type="stmt"/>
3028
- <line num="122" count="0" type="stmt"/>
3029
- <line num="124" count="41" type="cond" truecount="5" falsecount="2"/>
3030
- <line num="127" count="21" type="stmt"/>
3031
- <line num="129" count="0" type="stmt"/>
3032
- <line num="131" count="18" type="stmt"/>
3033
- <line num="133" count="1" type="stmt"/>
3034
- <line num="135" count="1" type="stmt"/>
3035
- <line num="137" count="0" type="stmt"/>
3036
- <line num="149" count="34" type="stmt"/>
3037
- <line num="150" count="100" type="stmt"/>
3038
- <line num="151" count="100" type="stmt"/>
3039
- <line num="152" count="100" type="cond" truecount="2" falsecount="0"/>
3040
- <line num="153" count="70" type="stmt"/>
3041
- <line num="156" count="30" type="stmt"/>
3042
- <line num="158" count="30" type="stmt"/>
3043
- <line num="159" count="25" type="stmt"/>
3044
- <line num="162" count="30" type="stmt"/>
3045
- <line num="164" count="30" type="stmt"/>
3280
+ <line num="87" count="18" type="stmt"/>
3281
+ <line num="89" count="30" type="stmt"/>
3282
+ <line num="90" count="30" type="stmt"/>
3283
+ <line num="105" count="34" type="stmt"/>
3284
+ <line num="106" count="178" type="stmt"/>
3285
+ <line num="107" count="178" type="cond" truecount="2" falsecount="0"/>
3286
+ <line num="108" count="178" type="cond" truecount="1" falsecount="1"/>
3287
+ <line num="109" count="0" type="stmt"/>
3288
+ <line num="112" count="178" type="cond" truecount="4" falsecount="0"/>
3289
+ <line num="113" count="101" type="stmt"/>
3290
+ <line num="115" count="178" type="stmt"/>
3291
+ <line num="116" count="178" type="stmt"/>
3292
+ <line num="117" count="178" type="cond" truecount="2" falsecount="0"/>
3293
+ <line num="122" count="137" type="stmt"/>
3294
+ <line num="125" count="0" type="stmt"/>
3295
+ <line num="127" count="41" type="cond" truecount="5" falsecount="2"/>
3296
+ <line num="130" count="21" type="stmt"/>
3297
+ <line num="132" count="0" type="stmt"/>
3298
+ <line num="134" count="18" type="stmt"/>
3299
+ <line num="136" count="1" type="stmt"/>
3300
+ <line num="138" count="1" type="stmt"/>
3301
+ <line num="140" count="0" type="stmt"/>
3302
+ <line num="152" count="34" type="stmt"/>
3303
+ <line num="153" count="100" type="stmt"/>
3304
+ <line num="154" count="100" type="stmt"/>
3305
+ <line num="155" count="100" type="cond" truecount="2" falsecount="0"/>
3306
+ <line num="156" count="70" type="stmt"/>
3307
+ <line num="159" count="30" type="stmt"/>
3308
+ <line num="161" count="30" type="stmt"/>
3309
+ <line num="162" count="25" type="stmt"/>
3046
3310
  <line num="165" count="30" type="stmt"/>
3047
- <line num="166" count="30" type="stmt"/>
3048
3311
  <line num="167" count="30" type="stmt"/>
3049
- <line num="168" count="18" type="cond" truecount="1" falsecount="1"/>
3050
- <line num="169" count="18" type="stmt"/>
3051
- <line num="171" count="18" type="stmt"/>
3052
- <line num="173" count="18" type="cond" truecount="1" falsecount="1"/>
3312
+ <line num="168" count="30" type="stmt"/>
3313
+ <line num="169" count="30" type="stmt"/>
3314
+ <line num="170" count="30" type="stmt"/>
3315
+ <line num="171" count="18" type="cond" truecount="1" falsecount="1"/>
3316
+ <line num="172" count="18" type="stmt"/>
3053
3317
  <line num="174" count="18" type="stmt"/>
3054
- <line num="175" count="18" type="cond" truecount="3" falsecount="1"/>
3055
- <line num="176" count="0" type="stmt"/>
3056
- <line num="178" count="18" type="stmt"/>
3057
- <line num="181" count="30" type="stmt"/>
3058
- <line num="191" count="34" type="stmt"/>
3059
- <line num="192" count="26" type="stmt"/>
3060
- <line num="194" count="26" type="stmt"/>
3318
+ <line num="176" count="18" type="cond" truecount="1" falsecount="1"/>
3319
+ <line num="177" count="18" type="stmt"/>
3320
+ <line num="178" count="18" type="cond" truecount="3" falsecount="1"/>
3321
+ <line num="179" count="0" type="stmt"/>
3322
+ <line num="181" count="18" type="stmt"/>
3323
+ <line num="184" count="30" type="stmt"/>
3324
+ <line num="194" count="34" type="stmt"/>
3061
3325
  <line num="195" count="26" type="stmt"/>
3062
- <line num="197" count="32" type="stmt"/>
3063
- <line num="198" count="32" type="stmt"/>
3064
- <line num="199" count="103" type="cond" truecount="4" falsecount="0"/>
3065
- <line num="200" count="94" type="stmt"/>
3066
- <line num="202" count="9" type="stmt"/>
3067
- <line num="203" count="9" type="stmt"/>
3068
- <line num="204" count="9" type="cond" truecount="1" falsecount="1"/>
3326
+ <line num="197" count="26" type="stmt"/>
3327
+ <line num="198" count="26" type="stmt"/>
3328
+ <line num="200" count="32" type="stmt"/>
3329
+ <line num="201" count="32" type="stmt"/>
3330
+ <line num="202" count="103" type="cond" truecount="4" falsecount="0"/>
3331
+ <line num="203" count="94" type="stmt"/>
3069
3332
  <line num="205" count="9" type="stmt"/>
3070
3333
  <line num="206" count="9" type="stmt"/>
3071
- <line num="207" count="9" type="cond" truecount="2" falsecount="0"/>
3072
- <line num="208" count="8" type="stmt"/>
3073
- <line num="210" count="9" type="stmt"/>
3074
- <line num="212" count="9" type="stmt"/>
3075
- <line num="215" count="26" type="stmt"/>
3334
+ <line num="207" count="9" type="cond" truecount="1" falsecount="1"/>
3335
+ <line num="208" count="9" type="stmt"/>
3336
+ <line num="209" count="9" type="stmt"/>
3337
+ <line num="210" count="9" type="cond" truecount="2" falsecount="0"/>
3338
+ <line num="211" count="8" type="stmt"/>
3339
+ <line num="213" count="9" type="stmt"/>
3340
+ <line num="215" count="9" type="stmt"/>
3341
+ <line num="218" count="26" type="stmt"/>
3076
3342
  </file>
3077
3343
  <file name="linkUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/linkUtils.js">
3078
3344
  <metrics statements="53" coveredstatements="52" conditionals="26" coveredconditionals="23" methods="13" coveredmethods="13"/>
@@ -3592,7 +3858,7 @@
3592
3858
  <line num="10" count="33" type="stmt"/>
3593
3859
  <line num="15" count="33" type="stmt"/>
3594
3860
  <line num="16" count="4" type="stmt"/>
3595
- <line num="17" count="76" type="stmt"/>
3861
+ <line num="17" count="80" type="stmt"/>
3596
3862
  <line num="19" count="4" type="cond" truecount="2" falsecount="5"/>
3597
3863
  <line num="22" count="4" type="stmt"/>
3598
3864
  <line num="24" count="0" type="stmt"/>
@@ -3743,9 +4009,9 @@
3743
4009
  </file>
3744
4010
  </package>
3745
4011
  <package name="utilities.rowProcessor">
3746
- <metrics statements="87" coveredstatements="68" conditionals="57" coveredconditionals="39" methods="12" coveredmethods="10"/>
4012
+ <metrics statements="89" coveredstatements="69" conditionals="66" coveredconditionals="39" methods="12" coveredmethods="10"/>
3747
4013
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
3748
- <metrics statements="76" coveredstatements="58" conditionals="51" coveredconditionals="34" methods="10" coveredmethods="9"/>
4014
+ <metrics statements="78" coveredstatements="59" conditionals="60" coveredconditionals="34" methods="10" coveredmethods="9"/>
3749
4015
  <line num="1" count="34" type="stmt"/>
3750
4016
  <line num="2" count="34" type="stmt"/>
3751
4017
  <line num="3" count="34" type="stmt"/>
@@ -3763,65 +4029,67 @@
3763
4029
  <line num="64" count="1" type="stmt"/>
3764
4030
  <line num="66" count="1" type="stmt"/>
3765
4031
  <line num="82" count="0" type="stmt"/>
3766
- <line num="96" count="73" type="stmt"/>
3767
- <line num="98" count="73" type="stmt"/>
3768
- <line num="99" count="73" type="stmt"/>
3769
- <line num="100" count="206" type="cond" truecount="1" falsecount="1"/>
3770
- <line num="101" count="206" type="stmt"/>
3771
- <line num="103" count="0" type="cond" truecount="0" falsecount="5"/>
3772
- <line num="105" count="0" type="cond" truecount="0" falsecount="2"/>
3773
- <line num="106" count="0" type="stmt"/>
3774
- <line num="108" count="0" type="stmt"/>
3775
- <line num="110" count="0" type="cond" truecount="0" falsecount="2"/>
3776
- <line num="111" count="0" type="stmt"/>
3777
- <line num="113" count="0" type="stmt"/>
3778
- <line num="115" count="0" type="stmt"/>
3779
- <line num="116" count="0" type="stmt"/>
3780
- <line num="118" count="0" type="stmt"/>
4032
+ <line num="102" count="73" type="stmt"/>
4033
+ <line num="104" count="73" type="stmt"/>
4034
+ <line num="105" count="73" type="stmt"/>
4035
+ <line num="106" count="206" type="cond" truecount="1" falsecount="1"/>
4036
+ <line num="107" count="206" type="stmt"/>
4037
+ <line num="109" count="0" type="cond" truecount="0" falsecount="5"/>
4038
+ <line num="111" count="0" type="cond" truecount="0" falsecount="5"/>
4039
+ <line num="112" count="0" type="stmt"/>
4040
+ <line num="114" count="0" type="stmt"/>
4041
+ <line num="116" count="0" type="cond" truecount="0" falsecount="2"/>
4042
+ <line num="117" count="0" type="stmt"/>
3781
4043
  <line num="119" count="0" type="stmt"/>
3782
- <line num="121" count="0" type="cond" truecount="0" falsecount="2"/>
3783
- <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
3784
- <line num="123" count="0" type="stmt"/>
3785
- <line num="125" count="0" type="stmt"/>
3786
- <line num="128" count="73" type="stmt"/>
3787
- <line num="137" count="34" type="stmt"/>
3788
- <line num="139" count="174" type="cond" truecount="2" falsecount="0"/>
3789
- <line num="140" count="16" type="stmt"/>
3790
- <line num="141" count="158" type="cond" truecount="2" falsecount="0"/>
3791
- <line num="142" count="22" type="stmt"/>
3792
- <line num="145" count="136" type="stmt"/>
3793
- <line num="156" count="34" type="cond" truecount="1" falsecount="0"/>
3794
- <line num="157" count="73" type="stmt"/>
3795
- <line num="159" count="73" type="stmt"/>
3796
- <line num="160" count="73" type="stmt"/>
3797
- <line num="161" count="73" type="stmt"/>
3798
- <line num="162" count="332" type="stmt"/>
3799
- <line num="164" count="332" type="cond" truecount="2" falsecount="0"/>
3800
- <line num="165" count="159" type="cond" truecount="2" falsecount="0"/>
3801
- <line num="166" count="3" type="stmt"/>
3802
- <line num="168" count="159" type="stmt"/>
3803
- <line num="172" count="173" type="cond" truecount="1" falsecount="1"/>
3804
- <line num="173" count="0" type="stmt"/>
3805
- <line num="175" count="173" type="stmt"/>
3806
- <line num="179" count="73" type="stmt"/>
3807
- <line num="192" count="34" type="stmt"/>
3808
- <line num="198" count="100" type="stmt"/>
3809
- <line num="199" count="100" type="stmt"/>
3810
- <line num="200" count="100" type="cond" truecount="2" falsecount="0"/>
3811
- <line num="201" count="87" type="stmt"/>
3812
- <line num="202" count="87" type="stmt"/>
3813
- <line num="205" count="100" type="stmt"/>
3814
- <line num="208" count="100" type="stmt"/>
3815
- <line num="211" count="100" type="stmt"/>
3816
- <line num="212" count="296" type="cond" truecount="2" falsecount="0"/>
3817
- <line num="213" count="8" type="stmt"/>
3818
- <line num="214" count="8" type="cond" truecount="4" falsecount="0"/>
3819
- <line num="215" count="6" type="stmt"/>
3820
- <line num="217" count="2" type="stmt"/>
3821
- <line num="218" count="2" type="stmt"/>
3822
- <line num="223" count="100" type="cond" truecount="2" falsecount="0"/>
3823
- <line num="224" count="26" type="stmt"/>
3824
- <line num="230" count="100" type="cond" truecount="2" falsecount="0"/>
4044
+ <line num="121" count="0" type="cond" truecount="0" falsecount="4"/>
4045
+ <line num="122" count="0" type="stmt"/>
4046
+ <line num="124" count="0" type="stmt"/>
4047
+ <line num="126" count="0" type="stmt"/>
4048
+ <line num="127" count="0" type="stmt"/>
4049
+ <line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
4050
+ <line num="130" count="0" type="cond" truecount="0" falsecount="2"/>
4051
+ <line num="131" count="0" type="stmt"/>
4052
+ <line num="133" count="0" type="stmt"/>
4053
+ <line num="136" count="73" type="stmt"/>
4054
+ <line num="138" count="34" type="stmt"/>
4055
+ <line num="146" count="34" type="stmt"/>
4056
+ <line num="148" count="174" type="cond" truecount="2" falsecount="0"/>
4057
+ <line num="149" count="16" type="stmt"/>
4058
+ <line num="150" count="158" type="cond" truecount="2" falsecount="0"/>
4059
+ <line num="151" count="22" type="stmt"/>
4060
+ <line num="154" count="136" type="stmt"/>
4061
+ <line num="166" count="34" type="stmt"/>
4062
+ <line num="172" count="73" type="stmt"/>
4063
+ <line num="174" count="73" type="stmt"/>
4064
+ <line num="175" count="73" type="stmt"/>
4065
+ <line num="176" count="73" type="stmt"/>
4066
+ <line num="177" count="332" type="stmt"/>
4067
+ <line num="179" count="332" type="cond" truecount="2" falsecount="0"/>
4068
+ <line num="180" count="159" type="cond" truecount="2" falsecount="0"/>
4069
+ <line num="181" count="3" type="stmt"/>
4070
+ <line num="183" count="159" type="stmt"/>
4071
+ <line num="187" count="173" type="cond" truecount="1" falsecount="1"/>
4072
+ <line num="188" count="0" type="stmt"/>
4073
+ <line num="190" count="173" type="stmt"/>
4074
+ <line num="194" count="73" type="stmt"/>
4075
+ <line num="207" count="34" type="stmt"/>
4076
+ <line num="213" count="100" type="stmt"/>
4077
+ <line num="214" count="100" type="stmt"/>
4078
+ <line num="215" count="100" type="cond" truecount="2" falsecount="0"/>
4079
+ <line num="216" count="87" type="stmt"/>
4080
+ <line num="217" count="87" type="stmt"/>
4081
+ <line num="220" count="100" type="stmt"/>
4082
+ <line num="223" count="100" type="stmt"/>
4083
+ <line num="226" count="100" type="stmt"/>
4084
+ <line num="227" count="296" type="cond" truecount="2" falsecount="0"/>
4085
+ <line num="228" count="8" type="stmt"/>
4086
+ <line num="229" count="8" type="cond" truecount="4" falsecount="0"/>
4087
+ <line num="230" count="6" type="stmt"/>
4088
+ <line num="232" count="2" type="stmt"/>
4089
+ <line num="233" count="2" type="stmt"/>
4090
+ <line num="238" count="100" type="cond" truecount="2" falsecount="0"/>
4091
+ <line num="239" count="26" type="stmt"/>
4092
+ <line num="245" count="100" type="cond" truecount="2" falsecount="0"/>
3825
4093
  </file>
3826
4094
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
3827
4095
  <metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="5" methods="2" coveredmethods="1"/>