@budibase/server 0.9.140-alpha.4 → 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 (200) hide show
  1. package/builder/assets/{index.2bcd18f5.js → index.80d850d1.js} +1 -1
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +646 -528
  4. package/coverage/coverage-final.json +17 -15
  5. package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
  6. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/application.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/datasource.js.html +3 -3
  13. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/index.html +1 -1
  16. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/query.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/index.html +19 -19
  25. package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/internal.js.html +242 -47
  27. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  32. package/coverage/lcov-report/api/controllers/table/index.js.html +2 -2
  33. package/coverage/lcov-report/api/controllers/table/utils.js.html +31 -19
  34. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/view/index.html +32 -17
  38. package/coverage/lcov-report/api/controllers/view/index.js.html +84 -186
  39. package/coverage/lcov-report/api/controllers/view/utils.js.html +407 -0
  40. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  42. package/coverage/lcov-report/api/index.html +1 -1
  43. package/coverage/lcov-report/api/index.js.html +1 -1
  44. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  45. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/index.html +1 -1
  56. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  73. package/coverage/lcov-report/automations/actions.js.html +1 -1
  74. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  75. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  76. package/coverage/lcov-report/automations/index.html +1 -1
  77. package/coverage/lcov-report/automations/index.js.html +1 -1
  78. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/createRow.js.html +10 -19
  80. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/deleteRow.js.html +14 -20
  82. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/index.html +31 -31
  87. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/queryRows.js.html +18 -27
  90. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/updateRow.js.html +12 -21
  94. package/coverage/lcov-report/automations/steps/utils.js.html +23 -23
  95. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  96. package/coverage/lcov-report/automations/thread.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  105. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  106. package/coverage/lcov-report/automations/utils.js.html +1 -1
  107. package/coverage/lcov-report/constants/index.html +1 -1
  108. package/coverage/lcov-report/constants/index.js.html +1 -1
  109. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  110. package/coverage/lcov-report/constants/screens.js.html +1 -1
  111. package/coverage/lcov-report/db/client.js.html +1 -1
  112. package/coverage/lcov-report/db/inMemoryView.js.html +224 -0
  113. package/coverage/lcov-report/db/index.html +34 -19
  114. package/coverage/lcov-report/db/index.js.html +1 -1
  115. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +4 -4
  116. package/coverage/lcov-report/db/linkedRows/index.html +14 -14
  117. package/coverage/lcov-report/db/linkedRows/index.js.html +18 -9
  118. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  119. package/coverage/lcov-report/db/newid.js.html +1 -1
  120. package/coverage/lcov-report/db/utils.js.html +37 -10
  121. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  122. package/coverage/lcov-report/events/index.html +1 -1
  123. package/coverage/lcov-report/events/index.js.html +1 -1
  124. package/coverage/lcov-report/events/utils.js.html +1 -1
  125. package/coverage/lcov-report/index.html +65 -65
  126. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  127. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  128. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  129. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  130. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  131. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  132. package/coverage/lcov-report/middleware/index.html +1 -1
  133. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  134. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  135. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  136. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  137. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  138. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  139. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  140. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  141. package/coverage/lcov-report/utilities/global.js.html +1 -1
  142. package/coverage/lcov-report/utilities/index.html +1 -1
  143. package/coverage/lcov-report/utilities/index.js.html +1 -1
  144. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  145. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  146. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  147. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  148. package/coverage/lcov-report/utilities/rowProcessor/index.html +15 -15
  149. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +58 -13
  150. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  151. package/coverage/lcov-report/utilities/security.js.html +2 -2
  152. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  153. package/coverage/lcov-report/utilities/users.js.html +1 -1
  154. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  155. package/coverage/lcov.info +1093 -883
  156. package/dist/api/controllers/datasource.js +2 -2
  157. package/dist/api/controllers/row/ExternalRequest.js +4 -0
  158. package/dist/api/controllers/row/internal.js +97 -23
  159. package/dist/api/controllers/table/index.js +1 -1
  160. package/dist/api/controllers/table/utils.js +13 -11
  161. package/dist/api/controllers/view/index.js +74 -96
  162. package/dist/api/controllers/view/utils.js +102 -0
  163. package/dist/automations/steps/createRow.js +5 -8
  164. package/dist/automations/steps/deleteRow.js +7 -10
  165. package/dist/automations/steps/queryRows.js +11 -14
  166. package/dist/automations/steps/updateRow.js +4 -7
  167. package/dist/db/inMemoryView.js +51 -0
  168. package/dist/db/linkedRows/index.js +5 -2
  169. package/dist/db/utils.js +7 -0
  170. package/dist/environment.js +7 -1
  171. package/dist/integrations/mysql.js +2 -13
  172. package/dist/integrations/postgres.js +8 -14
  173. package/dist/integrations/utils.js +19 -1
  174. package/dist/package.json +5 -5
  175. package/dist/tsconfig.tsbuildinfo +1 -1
  176. package/dist/utilities/rowProcessor/index.js +10 -5
  177. package/package.json +6 -6
  178. package/scripts/integrations/service-vehicles/docker-compose.yml +28 -0
  179. package/scripts/integrations/service-vehicles/init.sql +52 -0
  180. package/scripts/integrations/service-vehicles/reset.sh +3 -0
  181. package/src/api/controllers/datasource.js +2 -2
  182. package/src/api/controllers/row/ExternalRequest.ts +5 -1
  183. package/src/api/controllers/row/internal.js +88 -23
  184. package/src/api/controllers/table/index.js +1 -1
  185. package/src/api/controllers/table/utils.js +16 -12
  186. package/src/api/controllers/view/index.js +82 -116
  187. package/src/api/controllers/view/utils.js +109 -0
  188. package/src/api/routes/tests/view.spec.js +1 -1
  189. package/src/automations/steps/createRow.js +5 -8
  190. package/src/automations/steps/deleteRow.js +8 -10
  191. package/src/automations/steps/queryRows.js +11 -14
  192. package/src/automations/steps/updateRow.js +7 -10
  193. package/src/db/inMemoryView.js +48 -0
  194. package/src/db/linkedRows/index.js +5 -2
  195. package/src/db/utils.js +9 -0
  196. package/src/environment.js +8 -1
  197. package/src/integrations/mysql.ts +2 -13
  198. package/src/integrations/postgres.ts +9 -16
  199. package/src/integrations/utils.ts +18 -0
  200. package/src/utilities/rowProcessor/index.js +20 -5
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1632322811859" clover="3.2.0">
3
- <project timestamp="1632322811859" name="All files">
4
- <metrics statements="3545" coveredstatements="2869" conditionals="1293" coveredconditionals="808" methods="513" coveredmethods="394" elements="5351" coveredelements="4071" complexity="0" loc="3545" ncloc="3545" packages="19" files="128" classes="128"/>
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">
@@ -1004,7 +1004,7 @@
1004
1004
  </file>
1005
1005
  </package>
1006
1006
  <package name="api.controllers.row">
1007
- <metrics statements="534" coveredstatements="282" conditionals="215" coveredconditionals="74" methods="86" 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,208 @@
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"/>
1359
1392
  </file>
1360
1393
  <file name="internalSearch.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/row/internalSearch.js">
1361
1394
  <metrics statements="147" coveredstatements="7" conditionals="85" coveredconditionals="0" methods="33" coveredmethods="0"/>
@@ -1685,69 +1718,69 @@
1685
1718
  <line num="74" count="1" type="stmt"/>
1686
1719
  <line num="75" count="1" type="stmt"/>
1687
1720
  <line num="76" count="1" type="stmt"/>
1688
- <line num="77" count="1" type="stmt"/>
1721
+ <line num="79" count="1" type="stmt"/>
1689
1722
  <line num="80" count="1" type="stmt"/>
1690
- <line num="88" count="1" type="stmt"/>
1691
- <line num="90" count="4" type="cond" truecount="1" falsecount="1"/>
1692
- <line num="95" count="0" type="stmt"/>
1693
- <line num="101" count="1" type="stmt"/>
1694
- <line num="104" count="1" type="stmt"/>
1695
- <line num="105" count="1" type="stmt"/>
1696
- <line num="106" count="1" type="stmt"/>
1697
- <line num="108" count="100" type="stmt"/>
1698
- <line num="111" count="34" type="stmt"/>
1699
- <line num="112" count="99" type="stmt"/>
1700
- <line num="114" count="99" type="cond" truecount="4" falsecount="0"/>
1701
- <line num="115" count="2" type="stmt"/>
1702
- <line num="116" count="2" type="stmt"/>
1703
- <line num="118" count="2" type="stmt"/>
1704
- <line num="119" count="3" type="stmt"/>
1705
- <line num="122" count="2" type="cond" truecount="2" falsecount="0"/>
1706
- <line num="123" count="1" type="stmt"/>
1707
- <line num="124" count="1" type="stmt"/>
1708
- <line num="128" count="1" type="cond" truecount="1" falsecount="1"/>
1709
- <line num="129" count="1" type="stmt"/>
1710
- <line num="131" count="1" type="stmt"/>
1711
- <line num="142" count="1" type="stmt"/>
1712
- <line num="152" count="99" type="stmt"/>
1713
- <line num="155" count="34" type="stmt"/>
1714
- <line num="157" count="99" type="cond" truecount="2" falsecount="0"/>
1715
- <line num="158" count="1" type="stmt"/>
1716
- <line num="160" count="5" type="cond" truecount="1" falsecount="1"/>
1717
- <line num="161" count="5" type="stmt"/>
1718
- <line num="165" count="99" type="stmt"/>
1719
- <line num="170" count="99" type="stmt"/>
1720
- <line num="171" count="99" type="stmt"/>
1721
- <line num="172" count="99" type="cond" truecount="3" falsecount="1"/>
1722
- <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"/>
1723
1753
  <line num="175" count="99" type="stmt"/>
1724
- <line num="176" count="99" type="stmt"/>
1725
- <line num="178" count="99" type="stmt"/>
1726
- <line num="183" count="99" type="cond" truecount="2" falsecount="0"/>
1727
- <line num="184" count="4" type="stmt"/>
1728
- <line num="186" count="99" type="stmt"/>
1729
- <line num="187" count="99" type="stmt"/>
1730
- <line num="192" count="99" type="stmt"/>
1731
- <line num="197" count="99" type="stmt"/>
1732
- <line num="198" count="99" type="stmt"/>
1733
- <line num="203" count="99" type="stmt"/>
1734
- <line num="204" count="99" type="stmt"/>
1735
- <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"/>
1736
1768
  <line num="214" count="99" type="stmt"/>
1737
- <line num="218" count="34" type="stmt"/>
1738
- <line num="219" count="0" type="stmt"/>
1739
- <line num="220" count="0" type="stmt"/>
1740
- <line num="221" count="0" type="cond" truecount="0" falsecount="4"/>
1741
- <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"/>
1742
1772
  <line num="224" count="0" type="stmt"/>
1743
- <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"/>
1744
1775
  <line num="228" count="0" type="stmt"/>
1745
- <line num="229" count="0" type="stmt"/>
1746
- <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"/>
1747
1780
  </file>
1748
1781
  </package>
1749
1782
  <package name="api.controllers.view">
1750
- <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"/>
1751
1784
  <file name="exporters.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.js">
1752
1785
  <metrics statements="10" coveredstatements="10" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="4"/>
1753
1786
  <line num="1" count="33" type="stmt"/>
@@ -1762,7 +1795,7 @@
1762
1795
  <line num="17" count="1" type="stmt"/>
1763
1796
  </file>
1764
1797
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/index.js">
1765
- <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"/>
1766
1799
  <line num="1" count="33" type="stmt"/>
1767
1800
  <line num="2" count="33" type="stmt"/>
1768
1801
  <line num="3" count="33" type="stmt"/>
@@ -1770,65 +1803,112 @@
1770
1803
  <line num="5" count="33" type="stmt"/>
1771
1804
  <line num="6" count="33" type="stmt"/>
1772
1805
  <line num="8" count="33" type="stmt"/>
1806
+ <line num="9" count="1" type="stmt"/>
1773
1807
  <line num="10" count="1" type="stmt"/>
1774
- <line num="11" count="1" type="stmt"/>
1775
- <line num="12" count="1" type="stmt"/>
1776
- <line num="14" count="1" type="stmt"/>
1777
- <line num="16" count="3" type="cond" truecount="2" falsecount="0"/>
1778
- <line num="17" count="2" type="stmt"/>
1779
- <line num="19" count="1" type="stmt"/>
1780
- <line num="25" count="1" type="stmt"/>
1781
- <line num="28" count="8" type="stmt"/>
1782
- <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"/>
1783
1819
  <line num="30" count="8" type="stmt"/>
1784
- <line num="31" count="8" type="stmt"/>
1785
- <line num="33" count="8" type="cond" truecount="1" falsecount="1"/>
1786
- <line num="34" count="0" type="stmt"/>
1787
- <line num="37" count="8" type="stmt"/>
1788
- <line num="43" count="8" type="cond" truecount="1" falsecount="1"/>
1789
- <line num="44" count="0" type="stmt"/>
1790
- <line num="47" count="8" type="stmt"/>
1791
- <line num="50" count="8" type="stmt"/>
1792
- <line num="51" count="8" type="cond" truecount="1" falsecount="1"/>
1793
- <line num="52" count="8" type="cond" truecount="2" falsecount="0"/>
1794
- <line num="53" count="3" type="stmt"/>
1795
- <line num="55" count="8" type="stmt"/>
1796
- <line num="57" count="8" type="cond" truecount="1" falsecount="1"/>
1797
- <line num="58" count="0" type="stmt"/>
1798
- <line num="61" count="8" type="stmt"/>
1799
- <line num="63" count="8" type="stmt"/>
1800
- <line num="69" count="1" type="stmt"/>
1801
- <line num="70" count="1" type="stmt"/>
1802
- <line num="71" count="1" type="stmt"/>
1803
- <line num="72" count="1" type="stmt"/>
1804
- <line num="73" count="1" type="stmt"/>
1805
- <line num="75" count="1" type="stmt"/>
1806
- <line num="77" count="1" type="stmt"/>
1807
- <line num="78" count="1" type="stmt"/>
1808
- <line num="79" count="1" type="stmt"/>
1809
- <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"/>
1810
1847
  <line num="84" count="2" type="stmt"/>
1811
- <line num="85" count="2" type="stmt"/>
1812
- <line num="86" count="2" type="stmt"/>
1813
1848
  <line num="88" count="2" type="stmt"/>
1814
1849
  <line num="89" count="2" type="stmt"/>
1815
- <line num="90" count="2" type="cond" truecount="1" falsecount="1"/>
1816
- <line num="91" count="0" type="stmt"/>
1817
- <line num="94" count="2" type="cond" truecount="1" falsecount="1"/>
1818
- <line num="95" count="2" type="stmt"/>
1819
- <line num="97" count="2" type="stmt"/>
1820
- <line num="109" count="2" type="stmt"/>
1821
- <line num="111" count="2" type="cond" truecount="3" falsecount="0"/>
1822
- <line num="112" count="2" type="cond" truecount="1" falsecount="1"/>
1823
- <line num="113" count="2" type="cond" truecount="2" falsecount="0"/>
1824
- <line num="114" count="2" type="stmt"/>
1825
- <line num="115" count="2" type="stmt"/>
1826
- <line num="119" count="2" type="stmt"/>
1827
- <line num="120" count="2" type="stmt"/>
1828
- <line num="121" count="2" type="stmt"/>
1829
- <line num="123" count="2" type="stmt"/>
1830
- <line num="124" count="2" type="stmt"/>
1831
- <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"/>
1832
1912
  </file>
1833
1913
  <file name="viewBuilder.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/viewBuilder.js">
1834
1914
  <metrics statements="27" coveredstatements="25" conditionals="26" coveredconditionals="23" methods="3" coveredmethods="3"/>
@@ -2481,7 +2561,7 @@
2481
2561
  </file>
2482
2562
  </package>
2483
2563
  <package name="automations.steps">
2484
- <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"/>
2485
2565
  <file name="bash.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/bash.js">
2486
2566
  <metrics statements="15" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
2487
2567
  <line num="1" count="34" type="stmt"/>
@@ -2501,23 +2581,24 @@
2501
2581
  <line num="64" count="0" type="stmt"/>
2502
2582
  </file>
2503
2583
  <file name="createRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/createRow.js">
2504
- <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"/>
2505
2585
  <line num="1" count="34" type="stmt"/>
2506
2586
  <line num="2" count="34" type="stmt"/>
2507
2587
  <line num="3" count="34" type="stmt"/>
2508
2588
  <line num="4" count="34" type="stmt"/>
2509
- <line num="6" count="34" type="stmt"/>
2510
- <line num="62" count="34" type="stmt"/>
2511
- <line num="63" count="9" type="cond" truecount="4" falsecount="0"/>
2512
- <line num="64" count="1" type="stmt"/>
2513
- <line num="72" count="8" type="stmt"/>
2514
- <line num="83" count="8" type="stmt"/>
2515
- <line num="84" count="8" type="stmt"/>
2516
- <line num="89" count="7" type="cond" truecount="2" falsecount="0"/>
2517
- <line num="90" count="1" type="stmt"/>
2518
- <line num="92" count="7" type="stmt"/>
2519
- <line num="93" count="7" type="stmt"/>
2520
- <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"/>
2521
2602
  </file>
2522
2603
  <file name="delay.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/delay.js">
2523
2604
  <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
@@ -2528,21 +2609,22 @@
2528
2609
  <line num="36" count="1" type="stmt"/>
2529
2610
  </file>
2530
2611
  <file name="deleteRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/deleteRow.js">
2531
- <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"/>
2532
2613
  <line num="1" count="34" type="stmt"/>
2533
2614
  <line num="2" count="34" type="stmt"/>
2534
2615
  <line num="3" count="34" type="stmt"/>
2535
- <line num="5" count="34" type="stmt"/>
2536
- <line num="54" count="34" type="stmt"/>
2537
- <line num="55" count="4" type="cond" truecount="4" falsecount="0"/>
2538
- <line num="56" count="1" type="stmt"/>
2539
- <line num="63" count="3" type="stmt"/>
2540
- <line num="77" count="3" type="stmt"/>
2541
- <line num="78" count="3" type="cond" truecount="2" falsecount="0"/>
2542
- <line num="79" count="1" type="stmt"/>
2543
- <line num="81" count="3" type="stmt"/>
2544
- <line num="82" count="2" type="stmt"/>
2545
- <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"/>
2546
2628
  </file>
2547
2629
  <file name="discord.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/discord.js">
2548
2630
  <metrics statements="14" coveredstatements="6" conditionals="4" coveredconditionals="0" methods="1" coveredmethods="0"/>
@@ -2658,14 +2740,15 @@
2658
2740
  <line num="121" count="2" type="stmt"/>
2659
2741
  </file>
2660
2742
  <file name="queryRows.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/queryRows.js">
2661
- <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"/>
2662
2744
  <line num="1" count="34" type="stmt"/>
2663
2745
  <line num="2" count="34" type="stmt"/>
2664
2746
  <line num="3" count="34" type="stmt"/>
2665
- <line num="5" count="34" type="stmt"/>
2666
- <line num="10" count="34" type="stmt"/>
2667
- <line num="15" count="34" type="stmt"/>
2668
- <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"/>
2669
2752
  <line num="79" count="1" type="stmt"/>
2670
2753
  <line num="80" count="1" type="stmt"/>
2671
2754
  <line num="83" count="34" type="stmt"/>
@@ -2676,10 +2759,10 @@
2676
2759
  <line num="88" count="1" type="stmt"/>
2677
2760
  <line num="89" count="1" type="stmt"/>
2678
2761
  <line num="92" count="1" type="stmt"/>
2679
- <line num="107" count="1" type="stmt"/>
2680
- <line num="108" count="1" type="stmt"/>
2681
- <line num="109" count="1" type="stmt"/>
2682
- <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"/>
2683
2766
  </file>
2684
2767
  <file name="sendSmtpEmail.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/sendSmtpEmail.js">
2685
2768
  <metrics statements="10" coveredstatements="3" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
@@ -2713,25 +2796,26 @@
2713
2796
  <line num="59" count="0" type="stmt"/>
2714
2797
  </file>
2715
2798
  <file name="updateRow.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/updateRow.js">
2716
- <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"/>
2717
2800
  <line num="1" count="34" type="stmt"/>
2718
2801
  <line num="2" count="34" type="stmt"/>
2719
- <line num="4" count="34" type="stmt"/>
2720
- <line num="57" count="34" type="stmt"/>
2721
- <line num="58" count="3" type="cond" truecount="4" falsecount="0"/>
2722
- <line num="59" count="1" type="stmt"/>
2723
- <line num="68" count="2" type="stmt"/>
2724
- <line num="69" count="7" type="cond" truecount="4" falsecount="0"/>
2725
- <line num="70" count="1" type="stmt"/>
2726
- <line num="75" count="2" type="stmt"/>
2727
- <line num="89" count="2" type="stmt"/>
2728
- <line num="90" count="2" type="stmt"/>
2729
- <line num="95" count="1" type="stmt"/>
2730
- <line num="96" count="1" type="stmt"/>
2731
- <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"/>
2732
2816
  </file>
2733
2817
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/utils.js">
2734
- <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"/>
2735
2819
  <line num="1" count="34" type="stmt"/>
2736
2820
  <line num="2" count="2" type="stmt"/>
2737
2821
  <line num="4" count="2" type="stmt"/>
@@ -2742,13 +2826,13 @@
2742
2826
  <line num="12" count="0" type="stmt"/>
2743
2827
  <line num="14" count="2" type="stmt"/>
2744
2828
  <line num="20" count="34" type="cond" truecount="0" falsecount="1"/>
2745
- <line num="21" count="0" type="stmt"/>
2829
+ <line num="21" count="15" type="stmt"/>
2746
2830
  <line num="26" count="0" type="stmt"/>
2747
- <line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
2748
- <line num="30" count="0" type="stmt"/>
2749
- <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
2750
- <line num="33" count="0" type="stmt"/>
2751
- <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"/>
2752
2836
  </file>
2753
2837
  <file name="zapier.js" path="/home/runner/work/budibase/budibase/packages/server/src/automations/steps/zapier.js">
2754
2838
  <metrics statements="8" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
@@ -2834,7 +2918,7 @@
2834
2918
  </file>
2835
2919
  </package>
2836
2920
  <package name="db">
2837
- <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"/>
2838
2922
  <file name="client.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/client.js">
2839
2923
  <metrics statements="17" coveredstatements="17" conditionals="4" coveredconditionals="3" methods="0" coveredmethods="0"/>
2840
2924
  <line num="1" count="42" type="stmt"/>
@@ -2855,6 +2939,32 @@
2855
2939
  <line num="29" count="42" type="stmt"/>
2856
2940
  <line num="31" count="42" type="stmt"/>
2857
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>
2858
2968
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/index.js">
2859
2969
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2860
2970
  <line num="1" count="42" type="stmt"/>
@@ -2867,18 +2977,17 @@
2867
2977
  <line num="4" count="610" type="stmt"/>
2868
2978
  </file>
2869
2979
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/utils.js">
2870
- <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"/>
2871
2981
  <line num="1" count="45" type="stmt"/>
2872
2982
  <line num="12" count="45" type="stmt"/>
2873
2983
  <line num="14" count="45" type="stmt"/>
2874
2984
  <line num="16" count="45" type="stmt"/>
2875
2985
  <line num="22" count="45" type="stmt"/>
2876
- <line num="44" count="45" type="stmt"/>
2877
- <line num="49" count="45" type="stmt"/>
2878
- <line num="53" count="45" type="stmt"/>
2879
- <line num="57" count="45" type="stmt"/>
2880
- <line num="59" count="45" type="stmt"/>
2881
- <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"/>
2882
2991
  <line num="68" count="45" type="stmt"/>
2883
2992
  <line num="69" count="45" type="stmt"/>
2884
2993
  <line num="70" count="45" type="stmt"/>
@@ -2892,89 +3001,94 @@
2892
3001
  <line num="78" count="45" type="stmt"/>
2893
3002
  <line num="79" count="45" type="stmt"/>
2894
3003
  <line num="80" count="45" type="stmt"/>
2895
- <line num="82" count="45" type="stmt"/>
3004
+ <line num="81" count="45" type="stmt"/>
2896
3005
  <line num="83" count="45" type="stmt"/>
2897
- <line num="85" count="45" type="stmt"/>
2898
- <line num="86" count="74" type="stmt"/>
2899
- <line num="102" count="48" type="cond" truecount="2" falsecount="0"/>
2900
- <line num="103" count="35" type="stmt"/>
2901
- <line num="105" count="48" type="stmt"/>
2902
- <line num="115" count="45" type="cond" truecount="0" falsecount="2"/>
2903
- <line num="116" count="3" type="stmt"/>
2904
- <line num="123" count="45" type="stmt"/>
2905
- <line num="124" count="99" type="stmt"/>
2906
- <line num="135" count="45" type="cond" truecount="0" falsecount="3"/>
2907
- <line num="136" count="11" type="cond" truecount="1" falsecount="1"/>
2908
- <line num="137" count="0" type="stmt"/>
2909
- <line num="140" count="11" type="cond" truecount="1" falsecount="1"/>
2910
- <line num="142" count="11" type="stmt"/>
2911
- <line num="151" count="45" type="cond" truecount="1" falsecount="0"/>
2912
- <line num="152" count="229" type="cond" truecount="2" falsecount="0"/>
2913
- <line num="153" count="229" type="stmt"/>
2914
- <line num="159" count="45" type="cond" truecount="0" falsecount="2"/>
2915
- <line num="160" count="3" type="stmt"/>
2916
- <line num="168" count="45" type="stmt"/>
2917
- <line num="169" count="161" type="stmt"/>
2918
- <line num="175" count="45" type="stmt"/>
2919
- <line num="176" count="2" type="stmt"/>
2920
- <line num="177" count="2" type="cond" truecount="4" falsecount="0"/>
2921
- <line num="178" count="1" type="stmt"/>
2922
- <line num="180" count="1" type="stmt"/>
2923
- <line num="186" count="45" type="cond" truecount="0" falsecount="2"/>
2924
- <line num="187" count="18" type="stmt"/>
2925
- <line num="194" count="45" type="stmt"/>
2926
- <line num="195" count="20" type="stmt"/>
2927
- <line num="209" count="45" type="stmt"/>
2928
- <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"/>
2929
3038
  <line num="218" count="9" type="stmt"/>
2930
3039
  <line num="219" count="9" type="stmt"/>
2931
3040
  <line num="220" count="9" type="stmt"/>
2932
- <line num="226" count="45" type="cond" truecount="0" falsecount="1"/>
2933
- <line num="227" count="0" type="stmt"/>
2934
- <line num="234" count="45" type="cond" truecount="0" falsecount="1"/>
2935
- <line num="235" count="176" type="stmt"/>
2936
- <line num="236" count="176" type="cond" truecount="1" falsecount="1"/>
2937
- <line num="237" count="0" type="stmt"/>
2938
- <line num="239" count="176" type="stmt"/>
2939
- <line num="246" count="45" type="stmt"/>
2940
- <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"/>
2941
3050
  <line num="248" count="176" type="stmt"/>
2942
3051
  <line num="249" count="176" type="stmt"/>
2943
- <line num="256" count="45" type="stmt"/>
2944
- <line num="257" count="5" type="cond" truecount="2" falsecount="0"/>
2945
- <line num="263" count="45" type="cond" truecount="0" falsecount="2"/>
2946
- <line num="264" count="3" type="stmt"/>
2947
- <line num="271" count="45" type="stmt"/>
2948
- <line num="272" count="191" type="stmt"/>
2949
- <line num="278" count="45" type="cond" truecount="0" falsecount="2"/>
2950
- <line num="279" count="5" type="stmt"/>
2951
- <line num="286" count="45" type="stmt"/>
2952
- <line num="287" count="10" type="stmt"/>
2953
- <line num="293" count="45" type="cond" truecount="0" falsecount="2"/>
2954
- <line num="294" count="2" type="stmt"/>
2955
- <line num="301" count="45" type="cond" truecount="1" falsecount="1"/>
2956
- <line num="302" count="23" type="stmt"/>
2957
- <line num="310" count="45" type="cond" truecount="0" falsecount="2"/>
2958
- <line num="311" count="3" type="stmt"/>
2959
- <line num="318" count="45" type="stmt"/>
2960
- <line num="319" count="18" type="stmt"/>
2961
- <line num="327" count="45" type="cond" truecount="0" falsecount="2"/>
2962
- <line num="328" count="3" type="cond" truecount="2" falsecount="0"/>
2963
- <line num="329" count="2" type="stmt"/>
2964
- <line num="332" count="1" type="stmt"/>
2965
- <line num="339" count="45" type="stmt"/>
2966
- <line num="340" count="10" type="stmt"/>
2967
- <line num="343" count="45" type="cond" truecount="0" falsecount="2"/>
2968
- <line num="344" count="0" type="stmt"/>
2969
- <line num="345" count="0" type="cond" truecount="0" falsecount="2"/>
2970
- <line num="346" count="0" type="stmt"/>
2971
- <line num="348" count="0" type="stmt"/>
2972
- <line num="354" count="45" type="stmt"/>
2973
- <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"/>
2974
3088
  </file>
2975
3089
  </package>
2976
3090
  <package name="db.linkedRows">
2977
- <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"/>
2978
3092
  <file name="LinkController.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/LinkController.js">
2979
3093
  <metrics statements="151" coveredstatements="146" conditionals="68" coveredconditionals="60" methods="27" coveredmethods="24"/>
2980
3094
  <line num="1" count="34" type="stmt"/>
@@ -2992,11 +3106,11 @@
2992
3106
  <line num="59" count="188" type="stmt"/>
2993
3107
  <line num="60" count="188" type="stmt"/>
2994
3108
  <line num="61" count="188" type="stmt"/>
2995
- <line num="70" count="225" type="cond" truecount="2" falsecount="0"/>
3109
+ <line num="70" count="52" type="cond" truecount="2" falsecount="0"/>
2996
3110
  <line num="71" count="5" type="stmt"/>
2997
- <line num="74" count="225" type="stmt"/>
3111
+ <line num="74" count="52" type="stmt"/>
2998
3112
  <line num="85" count="181" type="cond" truecount="2" falsecount="0"/>
2999
- <line num="86" count="178" type="stmt"/>
3113
+ <line num="86" count="5" type="stmt"/>
3000
3114
  <line num="88" count="181" type="stmt"/>
3001
3115
  <line num="89" count="454" type="stmt"/>
3002
3116
  <line num="90" count="454" type="cond" truecount="2" falsecount="0"/>
@@ -3130,7 +3244,7 @@
3130
3244
  <line num="468" count="34" type="stmt"/>
3131
3245
  </file>
3132
3246
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/index.js">
3133
- <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"/>
3134
3248
  <line num="1" count="34" type="stmt"/>
3135
3249
  <line num="10" count="34" type="stmt"/>
3136
3250
  <line num="11" count="34" type="stmt"/>
@@ -3159,70 +3273,72 @@
3159
3273
  <line num="77" count="30" type="stmt"/>
3160
3274
  <line num="78" count="30" type="stmt"/>
3161
3275
  <line num="79" count="30" type="stmt"/>
3162
- <line num="80" count="18" type="stmt"/>
3163
- <line num="83" count="30" type="stmt"/>
3164
- <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"/>
3165
3279
  <line num="86" count="30" type="stmt"/>
3166
- <line num="87" count="30" type="stmt"/>
3167
- <line num="102" count="34" type="stmt"/>
3168
- <line num="103" count="178" type="stmt"/>
3169
- <line num="104" count="178" type="cond" truecount="2" falsecount="0"/>
3170
- <line num="105" count="178" type="cond" truecount="1" falsecount="1"/>
3171
- <line num="106" count="0" type="stmt"/>
3172
- <line num="109" count="178" type="cond" truecount="4" falsecount="0"/>
3173
- <line num="110" count="101" type="stmt"/>
3174
- <line num="112" count="178" type="stmt"/>
3175
- <line num="113" count="178" type="stmt"/>
3176
- <line num="114" count="178" type="cond" truecount="2" falsecount="0"/>
3177
- <line num="119" count="137" type="stmt"/>
3178
- <line num="122" count="0" type="stmt"/>
3179
- <line num="124" count="41" type="cond" truecount="5" falsecount="2"/>
3180
- <line num="127" count="21" type="stmt"/>
3181
- <line num="129" count="0" type="stmt"/>
3182
- <line num="131" count="18" type="stmt"/>
3183
- <line num="133" count="1" type="stmt"/>
3184
- <line num="135" count="1" type="stmt"/>
3185
- <line num="137" count="0" type="stmt"/>
3186
- <line num="149" count="34" type="stmt"/>
3187
- <line num="150" count="100" type="stmt"/>
3188
- <line num="151" count="100" type="stmt"/>
3189
- <line num="152" count="100" type="cond" truecount="2" falsecount="0"/>
3190
- <line num="153" count="70" type="stmt"/>
3191
- <line num="156" count="30" type="stmt"/>
3192
- <line num="158" count="30" type="stmt"/>
3193
- <line num="159" count="25" type="stmt"/>
3194
- <line num="162" count="30" type="stmt"/>
3195
- <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"/>
3196
3310
  <line num="165" count="30" type="stmt"/>
3197
- <line num="166" count="30" type="stmt"/>
3198
3311
  <line num="167" count="30" type="stmt"/>
3199
- <line num="168" count="18" type="cond" truecount="1" falsecount="1"/>
3200
- <line num="169" count="18" type="stmt"/>
3201
- <line num="171" count="18" type="stmt"/>
3202
- <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"/>
3203
3317
  <line num="174" count="18" type="stmt"/>
3204
- <line num="175" count="18" type="cond" truecount="3" falsecount="1"/>
3205
- <line num="176" count="0" type="stmt"/>
3206
- <line num="178" count="18" type="stmt"/>
3207
- <line num="181" count="30" type="stmt"/>
3208
- <line num="191" count="34" type="stmt"/>
3209
- <line num="192" count="26" type="stmt"/>
3210
- <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"/>
3211
3325
  <line num="195" count="26" type="stmt"/>
3212
- <line num="197" count="32" type="stmt"/>
3213
- <line num="198" count="32" type="stmt"/>
3214
- <line num="199" count="103" type="cond" truecount="4" falsecount="0"/>
3215
- <line num="200" count="94" type="stmt"/>
3216
- <line num="202" count="9" type="stmt"/>
3217
- <line num="203" count="9" type="stmt"/>
3218
- <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"/>
3219
3332
  <line num="205" count="9" type="stmt"/>
3220
3333
  <line num="206" count="9" type="stmt"/>
3221
- <line num="207" count="9" type="cond" truecount="2" falsecount="0"/>
3222
- <line num="208" count="8" type="stmt"/>
3223
- <line num="210" count="9" type="stmt"/>
3224
- <line num="212" count="9" type="stmt"/>
3225
- <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"/>
3226
3342
  </file>
3227
3343
  <file name="linkUtils.js" path="/home/runner/work/budibase/budibase/packages/server/src/db/linkedRows/linkUtils.js">
3228
3344
  <metrics statements="53" coveredstatements="52" conditionals="26" coveredconditionals="23" methods="13" coveredmethods="13"/>
@@ -3742,7 +3858,7 @@
3742
3858
  <line num="10" count="33" type="stmt"/>
3743
3859
  <line num="15" count="33" type="stmt"/>
3744
3860
  <line num="16" count="4" type="stmt"/>
3745
- <line num="17" count="76" type="stmt"/>
3861
+ <line num="17" count="80" type="stmt"/>
3746
3862
  <line num="19" count="4" type="cond" truecount="2" falsecount="5"/>
3747
3863
  <line num="22" count="4" type="stmt"/>
3748
3864
  <line num="24" count="0" type="stmt"/>
@@ -3893,9 +4009,9 @@
3893
4009
  </file>
3894
4010
  </package>
3895
4011
  <package name="utilities.rowProcessor">
3896
- <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"/>
3897
4013
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/index.js">
3898
- <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"/>
3899
4015
  <line num="1" count="34" type="stmt"/>
3900
4016
  <line num="2" count="34" type="stmt"/>
3901
4017
  <line num="3" count="34" type="stmt"/>
@@ -3913,65 +4029,67 @@
3913
4029
  <line num="64" count="1" type="stmt"/>
3914
4030
  <line num="66" count="1" type="stmt"/>
3915
4031
  <line num="82" count="0" type="stmt"/>
3916
- <line num="96" count="73" type="stmt"/>
3917
- <line num="98" count="73" type="stmt"/>
3918
- <line num="99" count="73" type="stmt"/>
3919
- <line num="100" count="206" type="cond" truecount="1" falsecount="1"/>
3920
- <line num="101" count="206" type="stmt"/>
3921
- <line num="103" count="0" type="cond" truecount="0" falsecount="5"/>
3922
- <line num="105" count="0" type="cond" truecount="0" falsecount="2"/>
3923
- <line num="106" count="0" type="stmt"/>
3924
- <line num="108" count="0" type="stmt"/>
3925
- <line num="110" count="0" type="cond" truecount="0" falsecount="2"/>
3926
- <line num="111" count="0" type="stmt"/>
3927
- <line num="113" count="0" type="stmt"/>
3928
- <line num="115" count="0" type="stmt"/>
3929
- <line num="116" count="0" type="stmt"/>
3930
- <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"/>
3931
4043
  <line num="119" count="0" type="stmt"/>
3932
- <line num="121" count="0" type="cond" truecount="0" falsecount="2"/>
3933
- <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
3934
- <line num="123" count="0" type="stmt"/>
3935
- <line num="125" count="0" type="stmt"/>
3936
- <line num="128" count="73" type="stmt"/>
3937
- <line num="137" count="34" type="stmt"/>
3938
- <line num="139" count="174" type="cond" truecount="2" falsecount="0"/>
3939
- <line num="140" count="16" type="stmt"/>
3940
- <line num="141" count="158" type="cond" truecount="2" falsecount="0"/>
3941
- <line num="142" count="22" type="stmt"/>
3942
- <line num="145" count="136" type="stmt"/>
3943
- <line num="156" count="34" type="cond" truecount="1" falsecount="0"/>
3944
- <line num="157" count="73" type="stmt"/>
3945
- <line num="159" count="73" type="stmt"/>
3946
- <line num="160" count="73" type="stmt"/>
3947
- <line num="161" count="73" type="stmt"/>
3948
- <line num="162" count="332" type="stmt"/>
3949
- <line num="164" count="332" type="cond" truecount="2" falsecount="0"/>
3950
- <line num="165" count="159" type="cond" truecount="2" falsecount="0"/>
3951
- <line num="166" count="3" type="stmt"/>
3952
- <line num="168" count="159" type="stmt"/>
3953
- <line num="172" count="173" type="cond" truecount="1" falsecount="1"/>
3954
- <line num="173" count="0" type="stmt"/>
3955
- <line num="175" count="173" type="stmt"/>
3956
- <line num="179" count="73" type="stmt"/>
3957
- <line num="192" count="34" type="stmt"/>
3958
- <line num="198" count="100" type="stmt"/>
3959
- <line num="199" count="100" type="stmt"/>
3960
- <line num="200" count="100" type="cond" truecount="2" falsecount="0"/>
3961
- <line num="201" count="87" type="stmt"/>
3962
- <line num="202" count="87" type="stmt"/>
3963
- <line num="205" count="100" type="stmt"/>
3964
- <line num="208" count="100" type="stmt"/>
3965
- <line num="211" count="100" type="stmt"/>
3966
- <line num="212" count="296" type="cond" truecount="2" falsecount="0"/>
3967
- <line num="213" count="8" type="stmt"/>
3968
- <line num="214" count="8" type="cond" truecount="4" falsecount="0"/>
3969
- <line num="215" count="6" type="stmt"/>
3970
- <line num="217" count="2" type="stmt"/>
3971
- <line num="218" count="2" type="stmt"/>
3972
- <line num="223" count="100" type="cond" truecount="2" falsecount="0"/>
3973
- <line num="224" count="26" type="stmt"/>
3974
- <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"/>
3975
4093
  </file>
3976
4094
  <file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/rowProcessor/utils.js">
3977
4095
  <metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="5" methods="2" coveredmethods="1"/>