@saltcorn/server 1.4.0-beta.1 → 1.4.0-beta.11

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 (1137) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/docs/assets/hierarchy.js +1 -1
  3. package/docs/assets/navigation.js +1 -1
  4. package/docs/assets/search.js +1 -1
  5. package/docs/classes/_saltcorn_admin-models.models_snapshot.Snapshot.html +14 -0
  6. package/docs/classes/_saltcorn_common-code.relations_relation.Relation.html +3 -3
  7. package/docs/classes/_saltcorn_common-code.relations_relations_finder.RelationsFinder.html +5 -5
  8. package/docs/classes/{_saltcorn_data.diagram_cy_raster.default.html → _saltcorn_data.diagram_cy_raster.CytoscapeRaster.html} +5 -5
  9. package/docs/classes/_saltcorn_data.diagram_nodes_dummy_node.DummyNode.html +4 -4
  10. package/docs/classes/_saltcorn_data.diagram_nodes_node.Node.html +20 -0
  11. package/docs/classes/_saltcorn_data.diagram_nodes_page_node.PageNode.html +4 -4
  12. package/docs/classes/_saltcorn_data.diagram_nodes_table_node.TableNode.html +4 -4
  13. package/docs/classes/_saltcorn_data.diagram_nodes_trigger_node.TriggerNode.html +4 -4
  14. package/docs/classes/_saltcorn_data.diagram_nodes_view_node.ViewNode.html +4 -4
  15. package/docs/classes/_saltcorn_data.mobile-mocks_node_async_hooks.AsyncLocalStorage.html +2 -2
  16. package/docs/classes/_saltcorn_data.models_crash.Crash.html +19 -0
  17. package/docs/classes/_saltcorn_data.models_eventlog.EventLog.html +20 -0
  18. package/docs/classes/{_saltcorn_data.models_field.export_.html → _saltcorn_data.models_field.Field.html} +11 -11
  19. package/docs/classes/_saltcorn_data.models_fieldrepeat.FieldRepeat.html +18 -0
  20. package/docs/classes/{_saltcorn_data.models_file.export_.html → _saltcorn_data.models_file.File.html} +23 -23
  21. package/docs/classes/_saltcorn_data.models_form.Form.html +40 -0
  22. package/docs/classes/_saltcorn_data.models_internal_push_message_helper.PushMessageHelper.html +4 -4
  23. package/docs/classes/{_saltcorn_data.models_library.export_.html → _saltcorn_data.models_library.Library.html} +4 -4
  24. package/docs/classes/_saltcorn_data.models_model.Model.html +20 -0
  25. package/docs/classes/_saltcorn_data.models_model_instance.ModelInstance.html +23 -0
  26. package/docs/classes/_saltcorn_data.models_notification.Notification.html +19 -0
  27. package/docs/classes/{_saltcorn_data.models_page.export_.html → _saltcorn_data.models_page.Page.html} +12 -12
  28. package/docs/classes/{_saltcorn_data.models_page_group.export_.html → _saltcorn_data.models_page_group.PageGroup.html} +22 -22
  29. package/docs/classes/{_saltcorn_data.models_page_group_member.export_.html → _saltcorn_data.models_page_group_member.PageGroupMember.html} +11 -11
  30. package/docs/classes/_saltcorn_data.models_plugin.Plugin.html +38 -0
  31. package/docs/classes/_saltcorn_data.models_role.Role.html +11 -0
  32. package/docs/classes/{_saltcorn_data.models_table.export_.html → _saltcorn_data.models_table.Table.html} +76 -74
  33. package/docs/classes/_saltcorn_data.models_table_constraints.TableConstraint.html +15 -0
  34. package/docs/classes/_saltcorn_data.models_tag.Tag.html +23 -0
  35. package/docs/classes/_saltcorn_data.models_tag_entry.TagEntry.html +14 -0
  36. package/docs/classes/{_saltcorn_data.models_trigger.export_.html → _saltcorn_data.models_trigger.Trigger.html} +22 -21
  37. package/docs/classes/{_saltcorn_data.models_user.export_.html → _saltcorn_data.models_user.User.html} +29 -29
  38. package/docs/classes/{_saltcorn_data.models_view.export_.html → _saltcorn_data.models_view.View.html} +17 -17
  39. package/docs/classes/_saltcorn_data.models_workflow.Workflow.html +19 -0
  40. package/docs/classes/_saltcorn_data.models_workflow_run.WorkflowRun.html +37 -0
  41. package/docs/classes/{_saltcorn_data.models_workflow_step.export_.html → _saltcorn_data.models_workflow_step.WorkflowStep.html} +3 -3
  42. package/docs/classes/_saltcorn_data.models_workflow_trace.MetaData.html +16 -0
  43. package/docs/classes/_saltcorn_data.models_workflow_trace.WorkflowTrace.html +20 -0
  44. package/docs/classes/_saltcorn_mobile-builder.mobile-builder.MobileBuilder.html +2 -2
  45. package/docs/classes/_saltcorn_mobile-builder.utils_capacitor-helper.CapacitorHelper.html +2 -2
  46. package/docs/enums/_saltcorn_common-code.relations_relation_types.RelationType.html +2 -2
  47. package/docs/enums/_saltcorn_common-code.relations_relation_types.ViewDisplayType.html +2 -2
  48. package/docs/functions/_saltcorn_admin-models.models_config-check.runConfigurationCheck.html +1 -1
  49. package/docs/functions/_saltcorn_common-code.relations_relation_helpers.buildRelationPath.html +1 -1
  50. package/docs/functions/_saltcorn_common-code.relations_relation_helpers.buildTableCaches.html +1 -1
  51. package/docs/functions/_saltcorn_common-code.relations_relation_helpers.parseLegacyRelation.html +1 -1
  52. package/docs/functions/_saltcorn_common-code.relations_relation_helpers.parseRelationPath.html +1 -1
  53. package/docs/functions/_saltcorn_common-code.tests_test_data.fixturesData.html +1 -1
  54. package/docs/functions/_saltcorn_common-code.tests_test_data.withAnotherUserField.html +1 -1
  55. package/docs/functions/_saltcorn_common-code.tests_test_data.withKeyFromLayerThree.html +1 -1
  56. package/docs/functions/_saltcorn_common-code.tests_test_data.withKeyFromLayerTwo.html +1 -1
  57. package/docs/functions/_saltcorn_common-code.tests_test_data.withMultipleInbounds.html +1 -1
  58. package/docs/functions/_saltcorn_common-code.tests_test_data.withSecondTopicField.html +1 -1
  59. package/docs/functions/_saltcorn_common-code.tests_test_data.withSimplePostTopicrelation.html +1 -1
  60. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.radio_select.run.html +1 -1
  61. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.search_or_create.configFields.html +1 -1
  62. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.search_or_create.run.html +1 -1
  63. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.select.run.html +1 -1
  64. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.select_from_table.fill_options.html +1 -1
  65. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.select_from_table.run.html +1 -1
  66. package/docs/functions/_saltcorn_data.base-plugin_types.bool.contract.html +1 -1
  67. package/docs/functions/_saltcorn_data.base-plugin_types.bool.fieldviews.TrueFalse.run.html +1 -1
  68. package/docs/functions/_saltcorn_data.base-plugin_types.bool.fieldviews.checkboxes.run.html +1 -1
  69. package/docs/functions/_saltcorn_data.base-plugin_types.bool.fieldviews.edit.run.html +1 -1
  70. package/docs/functions/_saltcorn_data.base-plugin_types.bool.fieldviews.show.run.html +1 -1
  71. package/docs/functions/_saltcorn_data.base-plugin_types.bool.fieldviews.tristate.run.html +1 -1
  72. package/docs/functions/_saltcorn_data.base-plugin_types.bool.listAs.html +1 -1
  73. package/docs/functions/_saltcorn_data.base-plugin_types.bool.read.html +1 -1
  74. package/docs/functions/_saltcorn_data.base-plugin_types.bool.readFromDB.html +1 -1
  75. package/docs/functions/_saltcorn_data.base-plugin_types.bool.readFromFormRecord.html +1 -1
  76. package/docs/functions/_saltcorn_data.base-plugin_types.bool.validate.html +1 -1
  77. package/docs/functions/_saltcorn_data.base-plugin_types.color.contract.html +1 -1
  78. package/docs/functions/_saltcorn_data.base-plugin_types.color.fieldviews.edit.run.html +1 -1
  79. package/docs/functions/_saltcorn_data.base-plugin_types.color.fieldviews.show.run.html +1 -1
  80. package/docs/functions/_saltcorn_data.base-plugin_types.color.read.html +1 -1
  81. package/docs/functions/_saltcorn_data.base-plugin_types.color.validate.html +1 -1
  82. package/docs/functions/_saltcorn_data.base-plugin_types.date.contract.html +1 -1
  83. package/docs/functions/_saltcorn_data.base-plugin_types.date.equals.html +1 -1
  84. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.edit.run.html +1 -1
  85. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.editDay.run.html +1 -1
  86. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.format.run.html +1 -1
  87. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.relative.run.html +1 -1
  88. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.show.run.html +1 -1
  89. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.showDay.run.html +1 -1
  90. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.yearsAgo.run.html +1 -1
  91. package/docs/functions/_saltcorn_data.base-plugin_types.date.presets.Now.html +1 -1
  92. package/docs/functions/_saltcorn_data.base-plugin_types.date.read.html +1 -1
  93. package/docs/functions/_saltcorn_data.base-plugin_types.date.validate.html +1 -1
  94. package/docs/functions/_saltcorn_data.base-plugin_types.float.contract.html +1 -1
  95. package/docs/functions/_saltcorn_data.base-plugin_types.float.equals.html +1 -1
  96. package/docs/functions/_saltcorn_data.base-plugin_types.float.fieldviews.edit.run.html +1 -1
  97. package/docs/functions/_saltcorn_data.base-plugin_types.float.fieldviews.show.run.html +1 -1
  98. package/docs/functions/_saltcorn_data.base-plugin_types.float.read.html +1 -1
  99. package/docs/functions/_saltcorn_data.base-plugin_types.float.validate.html +1 -1
  100. package/docs/functions/_saltcorn_data.base-plugin_types.int.contract.html +1 -1
  101. package/docs/functions/_saltcorn_data.base-plugin_types.int.read.html +1 -1
  102. package/docs/functions/_saltcorn_data.base-plugin_types.int.validate.html +1 -1
  103. package/docs/functions/_saltcorn_data.base-plugin_types.int.validate_attributes.html +1 -1
  104. package/docs/functions/_saltcorn_data.base-plugin_types.string.attributes.html +1 -1
  105. package/docs/functions/_saltcorn_data.base-plugin_types.string.contract.html +1 -1
  106. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.as_header.run.html +1 -1
  107. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.as_link.run.html +1 -1
  108. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.as_text.run.html +1 -1
  109. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.edit.configFields.html +1 -1
  110. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.edit.run.html +1 -1
  111. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.img_from_url.run.html +1 -1
  112. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.password.run.html +1 -1
  113. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.radio_group.run.html +1 -1
  114. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.textarea.run.html +1 -1
  115. package/docs/functions/_saltcorn_data.base-plugin_types.string.presets.IP.html +1 -1
  116. package/docs/functions/_saltcorn_data.base-plugin_types.string.presets.SessionID.html +1 -1
  117. package/docs/functions/_saltcorn_data.base-plugin_types.string.read.html +1 -1
  118. package/docs/functions/_saltcorn_data.base-plugin_types.string.validate.html +1 -1
  119. package/docs/functions/_saltcorn_data.base-plugin_types.string.validate_attributes.html +1 -1
  120. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.action_link.html +1 -1
  121. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.action_url.html +1 -1
  122. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.fill_presets.html +1 -1
  123. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.getForm.html +1 -1
  124. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.get_view_link_query.html +1 -1
  125. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.get_viewable_fields.html +1 -1
  126. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.get_viewable_fields_from_layout.html +1 -1
  127. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.make_link.html +1 -1
  128. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.objToQueryString.html +1 -1
  129. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.parse_view_select.html +1 -1
  130. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.splitUniques.html +1 -1
  131. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.standardBlockDispatch.html +1 -1
  132. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.standardLayoutRowVisitor.html +1 -1
  133. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.view_linker.html +1 -1
  134. package/docs/functions/_saltcorn_data.db_connect_mobile.getConnectObject.html +1 -1
  135. package/docs/functions/{_saltcorn_data.db_reset_schema.export_.html → _saltcorn_data.db_reset_schema.reset.html} +2 -2
  136. package/docs/functions/_saltcorn_data.diagram_cy_generate_utils.generateCyCode.html +1 -1
  137. package/docs/functions/_saltcorn_data.diagram_cy_generate_utils.genereateCyCfg.html +1 -1
  138. package/docs/functions/_saltcorn_data.diagram_node_extract_utils.buildObjectTrees.html +1 -1
  139. package/docs/functions/_saltcorn_data.diagram_node_extract_utils.extractFromColumns.html +1 -1
  140. package/docs/functions/_saltcorn_data.diagram_node_extract_utils.extractFromLayout.html +1 -1
  141. package/docs/functions/_saltcorn_data.diagram_node_extract_utils.extractViewToCreate.html +1 -1
  142. package/docs/functions/_saltcorn_data.migrate.create_blank_migration.html +1 -1
  143. package/docs/functions/_saltcorn_data.migrate.getMigrationsInDB.html +1 -1
  144. package/docs/functions/_saltcorn_data.migrate.migrate.html +1 -1
  145. package/docs/functions/_saltcorn_data.migrations_202102091312.js.html +1 -1
  146. package/docs/functions/_saltcorn_data.migrations_202210051058.js.html +1 -1
  147. package/docs/functions/_saltcorn_data.migrations_202210101540.js.html +1 -1
  148. package/docs/functions/_saltcorn_data.migrations_202304281224.js.html +1 -1
  149. package/docs/functions/_saltcorn_data.migrations_202307211459.js.html +1 -1
  150. package/docs/functions/_saltcorn_data.migrations_202502131103.js.html +1 -1
  151. package/docs/functions/_saltcorn_data.migrations_202508011455.js.html +1 -1
  152. package/docs/functions/_saltcorn_data.mobile-mocks_node_child_process.execSync.html +1 -0
  153. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs.createReadStream.html +1 -1
  154. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs.readdirSync.html +1 -1
  155. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs.writeFileSync.html +1 -1
  156. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs_promises.mkdir.html +1 -1
  157. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs_promises.readFile.html +1 -1
  158. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs_promises.stat.html +1 -1
  159. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs_promises.unlink.html +1 -1
  160. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs_promises.writeFile.html +1 -1
  161. package/docs/functions/_saltcorn_data.mobile-mocks_node_latest-version.latestVersion.html +1 -0
  162. package/docs/functions/_saltcorn_data.mobile-mocks_node_v8.deserialize.html +1 -1
  163. package/docs/functions/_saltcorn_data.mobile-mocks_node_v8.serialize.html +1 -1
  164. package/docs/functions/_saltcorn_data.mobile-mocks_npm_env-paths.envPaths.html +1 -0
  165. package/docs/functions/_saltcorn_data.model-helper.get_predictor.html +1 -1
  166. package/docs/functions/_saltcorn_data.model-helper.run_jupyter_model.html +1 -1
  167. package/docs/functions/_saltcorn_data.model-helper.shorten_trackback.html +1 -1
  168. package/docs/functions/_saltcorn_data.model-helper.write_csv.html +1 -1
  169. package/docs/functions/_saltcorn_data.models_internal_async_json_stream.async_json_stream.html +1 -0
  170. package/docs/functions/_saltcorn_data.models_internal_query.aggregation_query_fields.html +1 -1
  171. package/docs/functions/_saltcorn_data.models_internal_query.getAggAndField.html +1 -1
  172. package/docs/functions/_saltcorn_data.models_internal_query.joinfield_renamer.html +1 -1
  173. package/docs/functions/_saltcorn_data.models_internal_query.process_aggregations.html +1 -1
  174. package/docs/functions/_saltcorn_data.models_internal_table_helper.boolExamples.html +1 -1
  175. package/docs/functions/_saltcorn_data.models_internal_table_helper.colorExamples.html +1 -1
  176. package/docs/functions/_saltcorn_data.models_internal_table_helper.floatExamples.html +1 -1
  177. package/docs/functions/_saltcorn_data.models_internal_table_helper.get_formula_examples.html +1 -1
  178. package/docs/functions/_saltcorn_data.models_internal_table_helper.intExamples.html +1 -1
  179. package/docs/functions/_saltcorn_data.models_internal_table_helper.stringExamples.html +1 -1
  180. package/docs/functions/_saltcorn_data.plugin-helper.build_schema_data.html +1 -1
  181. package/docs/functions/_saltcorn_data.plugin-helper.calcfldViewConfig.html +1 -1
  182. package/docs/functions/_saltcorn_data.plugin-helper.calcfldViewOptions.html +1 -1
  183. package/docs/functions/_saltcorn_data.plugin-helper.calcrelViewOptions.html +1 -1
  184. package/docs/functions/_saltcorn_data.plugin-helper.displayType.html +1 -1
  185. package/docs/functions/_saltcorn_data.plugin-helper.field_picker_fields.html +1 -1
  186. package/docs/functions/_saltcorn_data.plugin-helper.generate_joined_query.html +1 -1
  187. package/docs/functions/_saltcorn_data.plugin-helper.getActionConfigFields.html +1 -1
  188. package/docs/functions/_saltcorn_data.plugin-helper.get_child_views.html +2 -2
  189. package/docs/functions/_saltcorn_data.plugin-helper.get_inbound_relation_opts.html +2 -2
  190. package/docs/functions/_saltcorn_data.plugin-helper.get_inbound_self_relation_opts.html +4 -4
  191. package/docs/functions/_saltcorn_data.plugin-helper.get_link_view_opts.html +1 -1
  192. package/docs/functions/_saltcorn_data.plugin-helper.get_many_to_many_relation_opts.html +3 -3
  193. package/docs/functions/_saltcorn_data.plugin-helper.get_parent_views.html +2 -2
  194. package/docs/functions/_saltcorn_data.plugin-helper.initial_config_all_fields.html +1 -1
  195. package/docs/functions/_saltcorn_data.plugin-helper.json_list_to_external_table.html +1 -1
  196. package/docs/functions/_saltcorn_data.plugin-helper.link_view.html +1 -1
  197. package/docs/functions/_saltcorn_data.plugin-helper.pathToState.html +1 -1
  198. package/docs/functions/_saltcorn_data.plugin-helper.picked_fields_to_query.html +2 -2
  199. package/docs/functions/_saltcorn_data.plugin-helper.readState.html +1 -1
  200. package/docs/functions/_saltcorn_data.plugin-helper.readStateStrict.html +1 -1
  201. package/docs/functions/_saltcorn_data.plugin-helper.runCollabEvents.html +1 -1
  202. package/docs/functions/_saltcorn_data.plugin-helper.run_action_column.html +1 -1
  203. package/docs/functions/_saltcorn_data.plugin-helper.stateFieldsToQuery.html +1 -1
  204. package/docs/functions/_saltcorn_data.plugin-helper.stateFieldsToWhere.html +1 -1
  205. package/docs/functions/_saltcorn_data.plugin-helper.stateToQueryString.html +1 -1
  206. package/docs/functions/_saltcorn_data.plugin-helper.strictParseInt.html +1 -1
  207. package/docs/functions/_saltcorn_data.plugin-testing.auto_test_plugin.html +1 -1
  208. package/docs/functions/_saltcorn_data.plugin-testing.check_view_columns.html +1 -1
  209. package/docs/functions/_saltcorn_data.plugin-testing.generate_attributes.html +1 -1
  210. package/docs/functions/_saltcorn_data.standard-menu.create_standard_menu.html +1 -0
  211. package/docs/functions/_saltcorn_data.tests_assertions.assertIsErrorMsg.html +1 -1
  212. package/docs/functions/_saltcorn_data.tests_assertions.assertIsErrorsMsg.html +1 -1
  213. package/docs/functions/_saltcorn_data.tests_assertions.assertIsSet.html +1 -1
  214. package/docs/functions/_saltcorn_data.tests_assertions.assertIsType.html +1 -1
  215. package/docs/functions/_saltcorn_data.tests_assertions.assertsIsSuccessMessage.html +1 -1
  216. package/docs/functions/_saltcorn_data.tests_assertions.assertsObjectIsUser.html +1 -1
  217. package/docs/functions/_saltcorn_data.tests_common_helpers.createAnotherUserField.html +1 -1
  218. package/docs/functions/_saltcorn_data.tests_common_helpers.createKeyFromLevelTwo.html +1 -1
  219. package/docs/functions/_saltcorn_data.tests_common_helpers.createLevelThreeInbound.html +1 -1
  220. package/docs/functions/_saltcorn_data.tests_common_helpers.createMultipleInbounds.html +1 -1
  221. package/docs/functions/_saltcorn_data.tests_common_helpers.createSecondTopicField.html +1 -1
  222. package/docs/functions/_saltcorn_data.tests_common_helpers.prepareEmployeeDepartment.html +1 -1
  223. package/docs/functions/_saltcorn_data.tests_common_helpers.prepareSimpleTopicPostRelation.html +1 -1
  224. package/docs/functions/_saltcorn_data.tests_remote_query_helper.deleteViewFromServer.html +1 -1
  225. package/docs/functions/_saltcorn_data.tests_remote_query_helper.prepareQueryEnviroment.html +1 -1
  226. package/docs/functions/_saltcorn_data.tests_remote_query_helper.sendViewToServer.html +1 -1
  227. package/docs/functions/_saltcorn_data.translate.hasLLM.html +1 -1
  228. package/docs/functions/_saltcorn_data.translate.translate.html +1 -1
  229. package/docs/functions/_saltcorn_db-common.internal.ftsFieldsSqlExpr.html +1 -1
  230. package/docs/functions/_saltcorn_db-common.internal.mkSelectOptions.html +1 -1
  231. package/docs/functions/_saltcorn_db-common.internal.mkWhere.html +1 -1
  232. package/docs/functions/_saltcorn_db-common.internal.orderByIsObject.html +1 -1
  233. package/docs/functions/_saltcorn_db-common.internal.orderByIsOperator.html +1 -1
  234. package/docs/functions/_saltcorn_db-common.internal.prefixFieldsInWhere.html +1 -1
  235. package/docs/functions/_saltcorn_db-common.internal.sqlBinOp.html +1 -1
  236. package/docs/functions/_saltcorn_db-common.internal.sqlFun.html +1 -1
  237. package/docs/functions/_saltcorn_db-common.internal.sqlsanitize.html +1 -1
  238. package/docs/functions/_saltcorn_db-common.internal.sqlsanitizeAllowDots.html +1 -1
  239. package/docs/functions/_saltcorn_db-common.internal.subSelectWhere.html +1 -1
  240. package/docs/functions/_saltcorn_db-common.multi-tenant.enable_multi_tenant.html +1 -1
  241. package/docs/functions/_saltcorn_db-common.multi-tenant.getRequestContext.html +1 -1
  242. package/docs/functions/_saltcorn_db-common.multi-tenant.getTenantSchema.html +1 -1
  243. package/docs/functions/_saltcorn_db-common.multi-tenant.init.html +1 -1
  244. package/docs/functions/_saltcorn_db-common.multi-tenant.is_it_multi_tenant.html +1 -1
  245. package/docs/functions/_saltcorn_db-common.multi-tenant.runWithTenant.html +1 -1
  246. package/docs/functions/_saltcorn_db-common.sqlite-commons.buildInsertBulkSql.html +1 -1
  247. package/docs/functions/_saltcorn_db-common.sqlite-commons.buildInsertSql.html +1 -1
  248. package/docs/functions/_saltcorn_db-common.sqlite-commons.commitAndBeginNewTransaction.html +1 -1
  249. package/docs/functions/_saltcorn_db-common.sqlite-commons.doCount.html +1 -1
  250. package/docs/functions/_saltcorn_db-common.sqlite-commons.doDeleteWhere.html +1 -1
  251. package/docs/functions/_saltcorn_db-common.sqlite-commons.doListScTables.html +1 -1
  252. package/docs/functions/_saltcorn_db-common.sqlite-commons.doListTables.html +1 -1
  253. package/docs/functions/_saltcorn_db-common.sqlite-commons.doListUserDefinedTables.html +1 -1
  254. package/docs/functions/_saltcorn_db-common.sqlite-commons.do_add_index.html +1 -1
  255. package/docs/functions/_saltcorn_db-common.sqlite-commons.do_drop_index.html +1 -1
  256. package/docs/functions/_saltcorn_db-common.sqlite-commons.mkVal.html +1 -1
  257. package/docs/functions/_saltcorn_db-common.sqlite-commons.reprAsJson.html +1 -1
  258. package/docs/functions/_saltcorn_db-common.sqlite-commons.slugify.html +1 -1
  259. package/docs/functions/_saltcorn_db-common.sqlite-commons.tryCatchInTransaction.html +1 -1
  260. package/docs/functions/_saltcorn_db-common.sqlite-commons.withTransaction.html +1 -1
  261. package/docs/functions/_saltcorn_markup.mktag.mkTag.html +1 -0
  262. package/docs/functions/_saltcorn_markup.tabs.tabs.html +1 -0
  263. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.androidFeatures.html +1 -1
  264. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.androidPermissions.html +1 -1
  265. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.buildTablesFile.html +1 -1
  266. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.copyPrepopulatedDb.html +1 -1
  267. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.copyServerFiles.html +1 -1
  268. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.copyShareExtFiles.html +1 -1
  269. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.copySiteLogo.html +1 -1
  270. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.copyTranslationFiles.html +1 -1
  271. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.createSqliteDb.html +1 -1
  272. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.decodeProvisioningProfile.html +1 -1
  273. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.extractDomain.html +1 -1
  274. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.generateAndroidVersionCode.html +1 -1
  275. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.modifyAndroidManifest.html +1 -1
  276. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.modifyConfigXml.html +1 -1
  277. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.modifyGradleConfig.html +1 -1
  278. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.modifyInfoPlist.html +1 -1
  279. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.modifyXcodeProjectFile.html +1 -1
  280. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepAppIcon.html +1 -1
  281. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepareAppIcon.html +1 -1
  282. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepareBuildDir.html +1 -1
  283. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepareExportOptionsPlist.html +1 -1
  284. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepareSplashIcon.html +1 -1
  285. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepareSplashPage.html +2 -2
  286. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writeCapacitorConfig.html +1 -1
  287. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writeCfgFile.html +1 -1
  288. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writeDataExtractionRules.html +1 -1
  289. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writeNetworkSecurityConfig.html +1 -1
  290. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writePodfile.html +1 -1
  291. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writePrivacyInfo.html +1 -1
  292. package/docs/functions/_saltcorn_mobile-builder.utils_package-bundle-utils.bundleMobileAppCode.html +1 -1
  293. package/docs/functions/_saltcorn_mobile-builder.utils_package-bundle-utils.bundlePackagesAndPlugins.html +3 -3
  294. package/docs/functions/_saltcorn_mobile-builder.utils_package-bundle-utils.copyMobileAppDirs.html +1 -1
  295. package/docs/functions/_saltcorn_mobile-builder.utils_package-bundle-utils.copyPublicDirs.html +1 -1
  296. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.add_index.html +1 -1
  297. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.add_unique_constraint.html +1 -1
  298. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.count.html +1 -1
  299. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.deleteWhere.html +1 -1
  300. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.drop_index.html +1 -1
  301. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.drop_reset_schema.html +1 -1
  302. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.drop_unique_constraint.html +1 -1
  303. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.init.html +1 -1
  304. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.insert.html +1 -1
  305. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.insertRows.html +1 -1
  306. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.listScTables.html +1 -1
  307. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.listTables.html +1 -1
  308. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.listUserDefinedTables.html +1 -1
  309. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.query.html +1 -1
  310. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.select.html +1 -1
  311. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.selectMaybeOne.html +1 -1
  312. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.selectOne.html +1 -1
  313. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.setConnectionObject.html +1 -1
  314. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.tableExists.html +1 -1
  315. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.time.html +1 -1
  316. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.update.html +1 -1
  317. package/docs/functions/_saltcorn_sqlite.sqlite.add_index.html +1 -1
  318. package/docs/functions/_saltcorn_sqlite.sqlite.add_unique_constraint.html +1 -1
  319. package/docs/functions/_saltcorn_sqlite.sqlite.begin.html +1 -1
  320. package/docs/functions/_saltcorn_sqlite.sqlite.changeConnection.html +1 -1
  321. package/docs/functions/_saltcorn_sqlite.sqlite.close.html +1 -1
  322. package/docs/functions/_saltcorn_sqlite.sqlite.commit.html +1 -1
  323. package/docs/functions/_saltcorn_sqlite.sqlite.count.html +1 -1
  324. package/docs/functions/_saltcorn_sqlite.sqlite.deleteWhere.html +1 -1
  325. package/docs/functions/_saltcorn_sqlite.sqlite.dropTable.html +1 -1
  326. package/docs/functions/_saltcorn_sqlite.sqlite.dropTables.html +1 -1
  327. package/docs/functions/_saltcorn_sqlite.sqlite.drop_index.html +1 -1
  328. package/docs/functions/_saltcorn_sqlite.sqlite.drop_reset_schema.html +1 -1
  329. package/docs/functions/_saltcorn_sqlite.sqlite.drop_unique_constraint.html +1 -1
  330. package/docs/functions/_saltcorn_sqlite.sqlite.getVersion.html +1 -1
  331. package/docs/functions/_saltcorn_sqlite.sqlite.get_db_filepath.html +1 -1
  332. package/docs/functions/_saltcorn_sqlite.sqlite.get_sql_logging.html +1 -1
  333. package/docs/functions/_saltcorn_sqlite.sqlite.init.html +1 -1
  334. package/docs/functions/_saltcorn_sqlite.sqlite.insert.html +1 -1
  335. package/docs/functions/_saltcorn_sqlite.sqlite.listScTables.html +1 -1
  336. package/docs/functions/_saltcorn_sqlite.sqlite.listTables.html +1 -1
  337. package/docs/functions/_saltcorn_sqlite.sqlite.listUserDefinedTables.html +1 -1
  338. package/docs/functions/_saltcorn_sqlite.sqlite.query.html +1 -1
  339. package/docs/functions/_saltcorn_sqlite.sqlite.rollback.html +1 -1
  340. package/docs/functions/_saltcorn_sqlite.sqlite.select.html +1 -1
  341. package/docs/functions/_saltcorn_sqlite.sqlite.selectMaybeOne.html +1 -1
  342. package/docs/functions/_saltcorn_sqlite.sqlite.selectOne.html +1 -1
  343. package/docs/functions/_saltcorn_sqlite.sqlite.set_sql_logging.html +1 -1
  344. package/docs/functions/_saltcorn_sqlite.sqlite.sql_log.html +1 -1
  345. package/docs/functions/_saltcorn_sqlite.sqlite.update.html +1 -1
  346. package/docs/functions/_saltcorn_sqlite.sqlite.updateWhere.html +1 -1
  347. package/docs/functions/_saltcorn_types.base_types.instanceOWithHtmlFile.html +1 -1
  348. package/docs/functions/_saltcorn_types.common_types.instanceOfErrorMsg.html +1 -1
  349. package/docs/functions/_saltcorn_types.common_types.instanceOfSuccessMsg.html +1 -1
  350. package/docs/functions/_saltcorn_types.common_types.instanceOfType.html +1 -1
  351. package/docs/functions/_saltcorn_types.model-abstracts_abstract_field.instanceOfField.html +1 -1
  352. package/docs/functions/_saltcorn_types.model-abstracts_abstract_page.instanceOfPage.html +1 -1
  353. package/docs/functions/_saltcorn_types.model-abstracts_abstract_view.instanceOfView.html +1 -1
  354. package/docs/hierarchy.html +1 -1
  355. package/docs/interfaces/_saltcorn_markup.types.TagExports.html +2 -2
  356. package/docs/interfaces/_saltcorn_mobile-builder.utils_common-build-utils.ScCapacitorConfig.html +2 -2
  357. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_field.AbstractField.html +2 -2
  358. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_field.AbstractFieldRepeat.html +2 -2
  359. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_form.AbstractForm.html +2 -2
  360. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_page.AbstractPage.html +2 -2
  361. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_page_group.AbstractPageGroup.html +2 -2
  362. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_page_group_member.AbstractPageGroupMember.html +2 -2
  363. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_role.AbstractRole.html +2 -2
  364. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html +2 -2
  365. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_tag.AbstractTag.html +2 -2
  366. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_tag_entry.AbstractTagEntry.html +2 -2
  367. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_trigger.AbstractTrigger.html +2 -2
  368. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html +2 -2
  369. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html +2 -2
  370. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_view.AbstractView.html +2 -2
  371. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_workflow.AbstractWorkflow.html +2 -2
  372. package/docs/modules/_saltcorn_admin-models.models_backup.html +1 -1
  373. package/docs/modules/_saltcorn_admin-models.models_snapshot.html +1 -1
  374. package/docs/modules/_saltcorn_admin-models.pack.html +1 -1
  375. package/docs/modules/_saltcorn_admin-models.tenant.html +1 -1
  376. package/docs/modules/_saltcorn_data..html +1 -1
  377. package/docs/modules/_saltcorn_data.base-plugin_actions-1.html +1 -1
  378. package/docs/modules/_saltcorn_data.base-plugin_actions.html +1 -1
  379. package/docs/modules/_saltcorn_data.base-plugin_fileview-1.html +1 -1
  380. package/docs/modules/_saltcorn_data.base-plugin_fileview.html +1 -1
  381. package/docs/modules/_saltcorn_data.base-plugin_index-1.html +1 -1
  382. package/docs/modules/_saltcorn_data.base-plugin_index-2.html +1 -1
  383. package/docs/modules/_saltcorn_data.base-plugin_index.html +1 -1
  384. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_edit-1.html +1 -1
  385. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_edit.html +1 -1
  386. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_feed-1.html +1 -1
  387. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_feed.html +1 -1
  388. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_filter-1.html +1 -1
  389. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_filter.html +1 -1
  390. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_list-1.html +1 -1
  391. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_list.html +1 -1
  392. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_listshowlist-1.html +1 -1
  393. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_listshowlist.html +1 -1
  394. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_room-1.html +1 -1
  395. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_room-2.html +1 -1
  396. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_room-3.html +1 -1
  397. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_room.html +1 -1
  398. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_show-1.html +1 -1
  399. package/docs/modules/_saltcorn_data.base-plugin_viewtemplates_show.html +1 -1
  400. package/docs/modules/_saltcorn_data.db_connect-1.html +1 -1
  401. package/docs/modules/_saltcorn_data.db_connect.html +1 -1
  402. package/docs/modules/_saltcorn_data.db_fa5-icons-1.html +1 -1
  403. package/docs/modules/_saltcorn_data.db_fa5-icons.html +1 -1
  404. package/docs/modules/_saltcorn_data.db_fixtures-1.html +1 -1
  405. package/docs/modules/_saltcorn_data.db_fixtures.html +1 -1
  406. package/docs/modules/_saltcorn_data.db_index-1.html +1 -1
  407. package/docs/modules/_saltcorn_data.db_index-2.html +1 -1
  408. package/docs/modules/_saltcorn_data.db_index.html +1 -1
  409. package/docs/modules/_saltcorn_data.db_reset_schema-1.html +1 -1
  410. package/docs/modules/_saltcorn_data.db_reset_schema.html +1 -1
  411. package/docs/modules/_saltcorn_data.db_state-1.html +1 -1
  412. package/docs/modules/_saltcorn_data.db_state.html +1 -1
  413. package/docs/modules/_saltcorn_data.diagram_cy_raster.html +1 -1
  414. package/docs/modules/_saltcorn_data.diagram_nodes_node.html +1 -1
  415. package/docs/modules/_saltcorn_data.index.html +1 -1
  416. package/docs/modules/_saltcorn_data.mobile-mocks_node_child_process.html +1 -1
  417. package/docs/modules/_saltcorn_data.mobile-mocks_node_latest-version.html +1 -1
  418. package/docs/modules/_saltcorn_data.mobile-mocks_npm_env-paths.html +1 -1
  419. package/docs/modules/_saltcorn_data.mobile-mocks_saltcorn_html-pdf-node.html +1 -1
  420. package/docs/modules/_saltcorn_data.models_config-1.html +1 -1
  421. package/docs/modules/_saltcorn_data.models_config.configExports.html +1 -0
  422. package/docs/modules/_saltcorn_data.models_config.html +1 -1
  423. package/docs/modules/_saltcorn_data.models_crash-1.html +1 -1
  424. package/docs/modules/_saltcorn_data.models_crash.html +1 -1
  425. package/docs/modules/_saltcorn_data.models_discovery-1.html +1 -1
  426. package/docs/modules/_saltcorn_data.models_discovery.html +1 -1
  427. package/docs/modules/_saltcorn_data.models_email-1.html +1 -1
  428. package/docs/modules/_saltcorn_data.models_email.html +1 -1
  429. package/docs/modules/_saltcorn_data.models_eventlog-1.html +1 -1
  430. package/docs/modules/{_saltcorn_data.models_tag_entry.export_.html → _saltcorn_data.models_eventlog.EventLog.html} +1 -1
  431. package/docs/modules/_saltcorn_data.models_eventlog.html +1 -1
  432. package/docs/modules/_saltcorn_data.models_expression-1.html +1 -1
  433. package/docs/modules/_saltcorn_data.models_expression.html +1 -1
  434. package/docs/modules/_saltcorn_data.models_field-1.html +1 -1
  435. package/docs/modules/_saltcorn_data.models_field.html +1 -1
  436. package/docs/modules/_saltcorn_data.models_fieldrepeat-1.html +1 -1
  437. package/docs/modules/_saltcorn_data.models_fieldrepeat.html +1 -1
  438. package/docs/modules/_saltcorn_data.models_file-1.html +1 -1
  439. package/docs/modules/_saltcorn_data.models_file.File.html +1 -0
  440. package/docs/modules/_saltcorn_data.models_file.html +1 -1
  441. package/docs/modules/_saltcorn_data.models_form-1.html +1 -1
  442. package/docs/modules/_saltcorn_data.models_form.Form.html +1 -0
  443. package/docs/modules/_saltcorn_data.models_form.html +1 -1
  444. package/docs/modules/_saltcorn_data.models_index-1.html +1 -1
  445. package/docs/modules/_saltcorn_data.models_index.html +1 -1
  446. package/docs/modules/_saltcorn_data.models_internal_async_json_stream-1.html +1 -1
  447. package/docs/modules/_saltcorn_data.models_internal_async_json_stream.html +1 -1
  448. package/docs/modules/_saltcorn_data.models_layout-1.html +1 -1
  449. package/docs/modules/_saltcorn_data.models_layout.html +1 -1
  450. package/docs/modules/_saltcorn_data.models_library-1.html +1 -1
  451. package/docs/modules/_saltcorn_data.models_library.html +1 -1
  452. package/docs/modules/_saltcorn_data.models_model-1.html +1 -1
  453. package/docs/modules/_saltcorn_data.models_model.html +1 -1
  454. package/docs/modules/_saltcorn_data.models_model_instance-1.html +1 -1
  455. package/docs/modules/_saltcorn_data.models_model_instance.html +1 -1
  456. package/docs/modules/_saltcorn_data.models_notification-1.html +1 -1
  457. package/docs/modules/_saltcorn_data.models_notification.html +1 -1
  458. package/docs/modules/_saltcorn_data.models_page-1.html +1 -1
  459. package/docs/modules/_saltcorn_data.models_page.html +1 -1
  460. package/docs/modules/_saltcorn_data.models_page_group-1.html +1 -1
  461. package/docs/modules/_saltcorn_data.models_page_group.PageGroup.html +1 -0
  462. package/docs/modules/_saltcorn_data.models_page_group.html +1 -1
  463. package/docs/modules/_saltcorn_data.models_page_group_member-1.html +1 -1
  464. package/docs/modules/_saltcorn_data.models_page_group_member.html +1 -1
  465. package/docs/modules/_saltcorn_data.models_plugin-1.html +1 -1
  466. package/docs/modules/_saltcorn_data.models_plugin.html +1 -1
  467. package/docs/modules/_saltcorn_data.models_random-1.html +1 -1
  468. package/docs/modules/_saltcorn_data.models_random.html +1 -1
  469. package/docs/modules/_saltcorn_data.models_role-1.html +1 -1
  470. package/docs/modules/_saltcorn_data.models_role.html +1 -1
  471. package/docs/modules/_saltcorn_data.models_scheduler-1.html +1 -1
  472. package/docs/modules/_saltcorn_data.models_scheduler.html +1 -1
  473. package/docs/modules/_saltcorn_data.models_table-1.html +1 -1
  474. package/docs/modules/_saltcorn_data.models_table.Table.html +1 -0
  475. package/docs/modules/_saltcorn_data.models_table.html +1 -1
  476. package/docs/modules/_saltcorn_data.models_table_constraints-1.html +1 -1
  477. package/docs/modules/_saltcorn_data.models_table_constraints.html +1 -1
  478. package/docs/modules/_saltcorn_data.models_tag-1.html +1 -1
  479. package/docs/modules/_saltcorn_data.models_tag.html +1 -1
  480. package/docs/modules/_saltcorn_data.models_tag_entry-1.html +1 -1
  481. package/docs/modules/_saltcorn_data.models_tag_entry.TagEntry.html +1 -0
  482. package/docs/modules/_saltcorn_data.models_tag_entry.html +1 -1
  483. package/docs/modules/_saltcorn_data.models_trigger-1.html +1 -1
  484. package/docs/modules/_saltcorn_data.models_trigger.html +1 -1
  485. package/docs/modules/_saltcorn_data.models_user-1.html +1 -1
  486. package/docs/modules/_saltcorn_data.models_user.html +1 -1
  487. package/docs/modules/_saltcorn_data.models_view-1.html +1 -1
  488. package/docs/modules/_saltcorn_data.models_view.View.html +1 -0
  489. package/docs/modules/_saltcorn_data.models_view.html +1 -1
  490. package/docs/modules/_saltcorn_data.models_workflow-1.html +1 -1
  491. package/docs/modules/_saltcorn_data.models_workflow.html +1 -1
  492. package/docs/modules/_saltcorn_data.models_workflow_run-1.html +1 -1
  493. package/docs/modules/_saltcorn_data.models_workflow_run.html +1 -1
  494. package/docs/modules/_saltcorn_data.models_workflow_step-1.html +1 -1
  495. package/docs/modules/_saltcorn_data.models_workflow_step.html +1 -1
  496. package/docs/modules/_saltcorn_data.models_workflow_trace-1.html +1 -1
  497. package/docs/modules/_saltcorn_data.models_workflow_trace-2.html +1 -1
  498. package/docs/modules/_saltcorn_data.models_workflow_trace-3.html +1 -1
  499. package/docs/modules/_saltcorn_data.models_workflow_trace.html +1 -1
  500. package/docs/modules/_saltcorn_data.standard-menu.html +1 -1
  501. package/docs/modules/_saltcorn_data.tests_mocks.html +1 -1
  502. package/docs/modules/_saltcorn_data.utils.html +1 -1
  503. package/docs/modules/_saltcorn_data.web-mobile-commons.html +1 -1
  504. package/docs/modules/_saltcorn_db-common..html +1 -1
  505. package/docs/modules/_saltcorn_db-common.index.html +1 -1
  506. package/docs/modules/_saltcorn_db-common.tenants.html +1 -1
  507. package/docs/modules/_saltcorn_markup.builder.html +1 -1
  508. package/docs/modules/_saltcorn_markup.emergency_layout.EmergencyLayoutExports.html +1 -0
  509. package/docs/modules/_saltcorn_markup.emergency_layout.html +1 -1
  510. package/docs/modules/_saltcorn_markup.form.html +1 -1
  511. package/docs/modules/_saltcorn_markup.helpers.HelpersExports.html +1 -0
  512. package/docs/modules/_saltcorn_markup.helpers.html +1 -1
  513. package/docs/modules/_saltcorn_markup.index.html +1 -1
  514. package/docs/modules/_saltcorn_markup.layout-1.html +1 -1
  515. package/docs/modules/_saltcorn_markup.layout.LayoutExports-1.html +1 -0
  516. package/docs/modules/_saltcorn_markup.layout.LayoutExports.html +1 -0
  517. package/docs/modules/_saltcorn_markup.layout.html +1 -1
  518. package/docs/modules/_saltcorn_markup.layout_utils.html +1 -1
  519. package/docs/modules/_saltcorn_markup.mjml-layout.LayoutExports.html +1 -0
  520. package/docs/modules/_saltcorn_markup.mjml-layout.html +1 -1
  521. package/docs/modules/_saltcorn_markup.mjml-tags.html +1 -1
  522. package/docs/modules/_saltcorn_markup.mktag.html +1 -1
  523. package/docs/modules/_saltcorn_markup.table.TableExports.html +1 -0
  524. package/docs/modules/_saltcorn_markup.table.html +1 -1
  525. package/docs/modules/_saltcorn_markup.tabs.html +1 -1
  526. package/docs/modules/_saltcorn_markup.tags.html +1 -1
  527. package/docs/modules/_saltcorn_types.generators.html +1 -1
  528. package/docs/types/_saltcorn_data.diagram_node_extract_utils.ExtractOpts.html +2 -2
  529. package/docs/types/_saltcorn_data.diagram_node_extract_utils.ExtractResult.html +2 -2
  530. package/docs/types/_saltcorn_data.diagram_nodes_node.NodeType.html +1 -1
  531. package/docs/types/_saltcorn_data.models_config.ConfigTypes.html +1 -1
  532. package/docs/types/_saltcorn_data.models_config.SingleConfig.html +1 -1
  533. package/docs/types/_saltcorn_data.models_eventlog.EventLogCfg.html +2 -2
  534. package/docs/types/_saltcorn_data.models_file.FileCfg.html +2 -2
  535. package/docs/types/_saltcorn_data.models_form.AdditionalButton.html +1 -1
  536. package/docs/types/_saltcorn_data.models_form.FormCfg.html +2 -2
  537. package/docs/types/_saltcorn_data.models_internal_push_message_helper.FcmSubscription.html +2 -2
  538. package/docs/types/_saltcorn_data.models_internal_push_message_helper.Subscription.html +1 -1
  539. package/docs/types/_saltcorn_data.models_internal_push_message_helper.WebPushSubscription.html +2 -2
  540. package/docs/types/_saltcorn_data.models_page_group.ScreenInfoParams.html +2 -2
  541. package/docs/types/_saltcorn_data.models_table.ChildRelations.html +2 -2
  542. package/docs/types/_saltcorn_data.models_table.ParentRelations.html +2 -2
  543. package/docs/types/_saltcorn_data.models_table.RelationData.html +2 -2
  544. package/docs/types/_saltcorn_data.models_tag_entry.TagEntryCfg.html +1 -1
  545. package/docs/types/_saltcorn_data.models_view.FindViewsPred.html +1 -1
  546. package/docs/types/_saltcorn_db-common.internal.AggregationOptions.html +2 -2
  547. package/docs/types/_saltcorn_db-common.internal.CoordOpts.html +2 -2
  548. package/docs/types/_saltcorn_db-common.internal.DatabaseClient.html +2 -2
  549. package/docs/types/_saltcorn_db-common.internal.JoinField.html +2 -2
  550. package/docs/types/_saltcorn_db-common.internal.JoinFields.html +1 -1
  551. package/docs/types/_saltcorn_db-common.internal.JoinOptions.html +1 -1
  552. package/docs/types/_saltcorn_db-common.internal.JsonPath.html +1 -1
  553. package/docs/types/_saltcorn_db-common.internal.JsonPathElem.html +1 -1
  554. package/docs/types/_saltcorn_db-common.internal.Operator.html +1 -1
  555. package/docs/types/_saltcorn_db-common.internal.PartialSome.html +1 -1
  556. package/docs/types/_saltcorn_db-common.internal.PrimaryKeyValue.html +1 -1
  557. package/docs/types/_saltcorn_db-common.internal.Row.html +1 -1
  558. package/docs/types/_saltcorn_db-common.internal.SelectOptions.html +2 -2
  559. package/docs/types/_saltcorn_db-common.internal.StrongRow.html +1 -1
  560. package/docs/types/_saltcorn_db-common.internal.SubselectOptions.html +2 -2
  561. package/docs/types/_saltcorn_db-common.internal.Value.html +1 -1
  562. package/docs/types/_saltcorn_db-common.internal.Where.html +2 -2
  563. package/docs/types/_saltcorn_db-common.sqlite-commons.SqlAndValues.html +2 -2
  564. package/docs/types/_saltcorn_db-common.types.DbExportsType.html +2 -2
  565. package/docs/types/_saltcorn_db-common.types.GenObj.html +1 -1
  566. package/docs/types/_saltcorn_markup.emergency_layout.WrapParams.html +2 -2
  567. package/docs/types/_saltcorn_markup.helpers.CheckBoxGroupOpts.html +2 -2
  568. package/docs/types/_saltcorn_markup.helpers.PaginationOpts.html +2 -2
  569. package/docs/types/_saltcorn_markup.helpers.RadioGroupOpts.html +2 -2
  570. package/docs/types/_saltcorn_markup.helpers.SearchBarOpts.html +2 -2
  571. package/docs/types/_saltcorn_markup.layout.RenderOpts-1.html +2 -2
  572. package/docs/types/_saltcorn_markup.layout.RenderOpts.html +2 -2
  573. package/docs/types/_saltcorn_markup.mjml-layout.RenderOpts.html +2 -2
  574. package/docs/types/_saltcorn_markup.table.HeadersParams.html +2 -2
  575. package/docs/types/_saltcorn_markup.table.OptsParams.html +4 -2
  576. package/docs/types/_saltcorn_markup.types.AttributeVal.html +1 -1
  577. package/docs/types/_saltcorn_markup.types.Attributes.html +2 -2
  578. package/docs/types/_saltcorn_markup.types.ClassVal.html +1 -1
  579. package/docs/types/_saltcorn_markup.types.Element.html +1 -1
  580. package/docs/types/_saltcorn_markup.types.Falsy.html +1 -1
  581. package/docs/types/_saltcorn_markup.types.StyleVal.html +1 -1
  582. package/docs/types/_saltcorn_markup.types.TagFunction.html +1 -1
  583. package/docs/types/_saltcorn_mobile-builder.mobile-builder.IosCfg.html +2 -2
  584. package/docs/types/_saltcorn_mobile-builder.utils_capacitor-helper.CapacitorCfg.html +2 -2
  585. package/docs/types/_saltcorn_types.base_types.Action.html +5 -4
  586. package/docs/types/_saltcorn_types.base_types.AuthenticationMethod.html +2 -2
  587. package/docs/types/_saltcorn_types.base_types.CalcJoinfield.html +2 -2
  588. package/docs/types/_saltcorn_types.base_types.CapacitorPlugin.html +2 -2
  589. package/docs/types/_saltcorn_types.base_types.CodePagePack.html +2 -2
  590. package/docs/types/_saltcorn_types.base_types.Column.html +2 -2
  591. package/docs/types/_saltcorn_types.base_types.ConnectObjType.html +2 -2
  592. package/docs/types/_saltcorn_types.base_types.ConnectedObjects.html +2 -2
  593. package/docs/types/_saltcorn_types.base_types.CopilotSkill.html +2 -2
  594. package/docs/types/_saltcorn_types.base_types.ErrorObj.html +2 -2
  595. package/docs/types/_saltcorn_types.base_types.FieldLike.html +1 -1
  596. package/docs/types/_saltcorn_types.base_types.FieldView.html +1 -1
  597. package/docs/types/_saltcorn_types.base_types.Header.html +2 -2
  598. package/docs/types/_saltcorn_types.base_types.JoinFieldOption.html +2 -2
  599. package/docs/types/_saltcorn_types.base_types.Layout.html +1 -1
  600. package/docs/types/_saltcorn_types.base_types.MobileConfig.html +2 -2
  601. package/docs/types/_saltcorn_types.base_types.ModelPattern.html +6 -6
  602. package/docs/types/_saltcorn_types.base_types.Pack.html +2 -2
  603. package/docs/types/_saltcorn_types.base_types.Plugin.html +1 -1
  604. package/docs/types/_saltcorn_types.base_types.PluginFunction.html +2 -2
  605. package/docs/types/_saltcorn_types.base_types.PluginLayout.html +3 -2
  606. package/docs/types/_saltcorn_types.base_types.PluginRoute.html +2 -2
  607. package/docs/types/_saltcorn_types.base_types.PluginSourceType.html +1 -1
  608. package/docs/types/_saltcorn_types.base_types.PluginType.html +2 -2
  609. package/docs/types/_saltcorn_types.base_types.PluginWrap.html +1 -1
  610. package/docs/types/_saltcorn_types.base_types.PluginWrapArg.html +2 -2
  611. package/docs/types/_saltcorn_types.base_types.RelationOption.html +2 -2
  612. package/docs/types/_saltcorn_types.base_types.Req.html +2 -2
  613. package/docs/types/_saltcorn_types.base_types.Res.html +2 -2
  614. package/docs/types/_saltcorn_types.base_types.ResultType.html +2 -2
  615. package/docs/types/_saltcorn_types.base_types.RouteAction.html +1 -1
  616. package/docs/types/_saltcorn_types.base_types.RunExtra.html +1 -1
  617. package/docs/types/_saltcorn_types.base_types.SlugStepType.html +2 -2
  618. package/docs/types/_saltcorn_types.base_types.StepResType.html +1 -1
  619. package/docs/types/_saltcorn_types.base_types.SubField.html +2 -2
  620. package/docs/types/_saltcorn_types.base_types.TableProvider.html +2 -2
  621. package/docs/types/_saltcorn_types.base_types.TableQuery.html +2 -2
  622. package/docs/types/_saltcorn_types.base_types.Tablely.html +1 -1
  623. package/docs/types/_saltcorn_types.base_types.ViewTemplate.html +2 -2
  624. package/docs/types/_saltcorn_types.common_types.ErrorMessage.html +2 -2
  625. package/docs/types/_saltcorn_types.common_types.GenObj.html +1 -1
  626. package/docs/types/_saltcorn_types.common_types.ReqRes.html +2 -2
  627. package/docs/types/_saltcorn_types.common_types.ResultMessage.html +1 -1
  628. package/docs/types/_saltcorn_types.common_types.SuccessMessage.html +2 -2
  629. package/docs/types/_saltcorn_types.common_types.Type.html +2 -2
  630. package/docs/types/_saltcorn_types.model-abstracts_abstract_event_log.EventLogPack.html +2 -2
  631. package/docs/types/_saltcorn_types.model-abstracts_abstract_field.FieldCfg.html +2 -2
  632. package/docs/types/_saltcorn_types.model-abstracts_abstract_field.InputType.html +1 -1
  633. package/docs/types/_saltcorn_types.model-abstracts_abstract_form.AdditionalButton.html +2 -2
  634. package/docs/types/_saltcorn_types.model-abstracts_abstract_library.LibraryCfg.html +2 -2
  635. package/docs/types/_saltcorn_types.model-abstracts_abstract_library.LibraryPack.html +1 -1
  636. package/docs/types/_saltcorn_types.model-abstracts_abstract_model.ModelCfg.html +2 -2
  637. package/docs/types/_saltcorn_types.model-abstracts_abstract_model.ModelPack.html +1 -1
  638. package/docs/types/_saltcorn_types.model-abstracts_abstract_model_instance.ModelInstanceCfg.html +2 -2
  639. package/docs/types/_saltcorn_types.model-abstracts_abstract_model_instance.ModelInstancePack.html +1 -1
  640. package/docs/types/_saltcorn_types.model-abstracts_abstract_page.PageCfg.html +2 -2
  641. package/docs/types/_saltcorn_types.model-abstracts_abstract_page.PagePack.html +1 -1
  642. package/docs/types/_saltcorn_types.model-abstracts_abstract_page_group.PageGroupCfg.html +2 -2
  643. package/docs/types/_saltcorn_types.model-abstracts_abstract_page_group.PageGroupPack.html +1 -1
  644. package/docs/types/_saltcorn_types.model-abstracts_abstract_page_group_member.PageGroupMemberCfg.html +2 -2
  645. package/docs/types/_saltcorn_types.model-abstracts_abstract_page_group_member.PageGroupMemberPack.html +1 -1
  646. package/docs/types/_saltcorn_types.model-abstracts_abstract_plugin.PluginCfg.html +2 -2
  647. package/docs/types/_saltcorn_types.model-abstracts_abstract_plugin.PluginPack.html +1 -1
  648. package/docs/types/_saltcorn_types.model-abstracts_abstract_role.RoleCfg.html +1 -1
  649. package/docs/types/_saltcorn_types.model-abstracts_abstract_role.RolePack.html +1 -1
  650. package/docs/types/_saltcorn_types.model-abstracts_abstract_table.TableCfg.html +2 -2
  651. package/docs/types/_saltcorn_types.model-abstracts_abstract_table.TablePack.html +1 -1
  652. package/docs/types/_saltcorn_types.model-abstracts_abstract_tag.TagPack.html +2 -2
  653. package/docs/types/_saltcorn_types.model-abstracts_abstract_tag_entry.TagEntryPack.html +2 -2
  654. package/docs/types/_saltcorn_types.model-abstracts_abstract_trigger.TriggerCfg.html +2 -2
  655. package/docs/types/_saltcorn_types.model-abstracts_abstract_trigger.TriggerPack.html +1 -1
  656. package/docs/types/_saltcorn_types.model-abstracts_abstract_view.ViewCfg.html +2 -2
  657. package/docs/types/_saltcorn_types.model-abstracts_abstract_view.ViewPack.html +1 -1
  658. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow.ConfigWorkflowStep.html +1 -1
  659. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow.RunResult.html +2 -2
  660. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow_run.WorkflowRunCfg.html +2 -2
  661. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow_step.WorkflowStepCfg.html +2 -2
  662. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow_step.WorkflowStepPack.html +1 -1
  663. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow_trace.WorkflowTraceCfg.html +2 -2
  664. package/docs/variables/_saltcorn_admin-models..backup.create_backup.html +1 -1
  665. package/docs/variables/_saltcorn_admin-models..backup.create_csv_from_rows.html +1 -1
  666. package/docs/variables/_saltcorn_admin-models..backup.restore.html +2 -2
  667. package/docs/variables/_saltcorn_admin-models..pack.add_to_menu.html +1 -1
  668. package/docs/variables/_saltcorn_admin-models..pack.can_install_pack.html +1 -1
  669. package/docs/variables/_saltcorn_admin-models..pack.fetch_available_packs.html +1 -1
  670. package/docs/variables/_saltcorn_admin-models..pack.fetch_pack_by_name.html +1 -1
  671. package/docs/variables/_saltcorn_admin-models..pack.install_pack.html +1 -1
  672. package/docs/variables/_saltcorn_admin-models..pack.library_pack.html +1 -1
  673. package/docs/variables/_saltcorn_admin-models..pack.model_instance_pack.html +1 -1
  674. package/docs/variables/_saltcorn_admin-models..pack.model_pack.html +1 -1
  675. package/docs/variables/_saltcorn_admin-models..pack.page_group_pack.html +1 -1
  676. package/docs/variables/_saltcorn_admin-models..pack.page_pack.html +3 -3
  677. package/docs/variables/_saltcorn_admin-models..pack.plugin_pack.html +1 -1
  678. package/docs/variables/_saltcorn_admin-models..pack.role_pack.html +1 -1
  679. package/docs/variables/_saltcorn_admin-models..pack.table_pack.html +2 -2
  680. package/docs/variables/_saltcorn_admin-models..pack.trigger_pack.html +2 -2
  681. package/docs/variables/_saltcorn_admin-models..pack.uninstall_pack.html +1 -1
  682. package/docs/variables/_saltcorn_admin-models..pack.view_pack.html +2 -2
  683. package/docs/variables/_saltcorn_admin-models..tenant.copy_tenant_template.html +2 -2
  684. package/docs/variables/_saltcorn_admin-models..tenant.create_tenant.html +2 -2
  685. package/docs/variables/_saltcorn_admin-models..tenant.deleteTenant.html +1 -1
  686. package/docs/variables/_saltcorn_admin-models..tenant.domain_sanitize.html +1 -1
  687. package/docs/variables/_saltcorn_admin-models..tenant.eachTenant.html +1 -1
  688. package/docs/variables/_saltcorn_admin-models..tenant.getAllTenantRows.html +1 -1
  689. package/docs/variables/_saltcorn_admin-models..tenant.getAllTenants.html +1 -1
  690. package/docs/variables/_saltcorn_admin-models..tenant.insertTenant.html +1 -1
  691. package/docs/variables/_saltcorn_admin-models..tenant.switchToTenant.html +1 -1
  692. package/docs/variables/_saltcorn_admin-models.models_backup.backup.html +3 -0
  693. package/docs/variables/_saltcorn_admin-models.pack.pack.html +19 -0
  694. package/docs/variables/_saltcorn_admin-models.tenant.tenant.html +37 -0
  695. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedFive.html +1 -1
  696. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedFour.html +1 -1
  697. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedOne.html +1 -1
  698. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedSix.html +1 -1
  699. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedThree.html +1 -1
  700. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedTwo.html +1 -1
  701. package/docs/variables/_saltcorn_data..migrations.html +1 -1
  702. package/docs/variables/_saltcorn_data..plugin_helper.run_action_column.html +1 -1
  703. package/docs/variables/_saltcorn_data..utils.NotAuthorized.html +1 -1
  704. package/docs/variables/_saltcorn_data..utils.isPushEnabled.html +1 -1
  705. package/docs/variables/_saltcorn_data..utils.sleep.html +1 -1
  706. package/docs/variables/{_saltcorn_data.base-plugin_actions.export_.html → _saltcorn_data.base-plugin_actions.actions.html} +4 -4
  707. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.radio_select.description.html +1 -1
  708. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.radio_select.isEdit.html +1 -1
  709. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.radio_select.type.html +1 -1
  710. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.search_join_field.html +1 -1
  711. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.search_or_create.blockDisplay.html +1 -1
  712. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.search_or_create.description.html +1 -1
  713. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.search_or_create.isEdit.html +1 -1
  714. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.search_or_create.type.html +1 -1
  715. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select.blockDisplay.html +1 -1
  716. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select.configFields.html +1 -1
  717. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select.description.html +1 -1
  718. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select.isEdit.html +1 -1
  719. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select.type.html +1 -1
  720. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_by_code.html +1 -1
  721. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_by_view.html +1 -1
  722. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_from_table.blockDisplay.html +1 -1
  723. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_from_table.configFields.html +1 -1
  724. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_from_table.description.html +1 -1
  725. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_from_table.isEdit.html +1 -1
  726. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_from_table.type.html +1 -1
  727. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.two_level_select.html +1 -1
  728. package/docs/variables/_saltcorn_data.base-plugin_fileview.fileview.html +1 -0
  729. package/docs/variables/_saltcorn_data.base-plugin_index.index.html +1 -0
  730. package/docs/variables/_saltcorn_data.base-plugin_types.bool.attributes.html +1 -1
  731. package/docs/variables/_saltcorn_data.base-plugin_types.bool.description.html +1 -1
  732. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.TrueFalse.description.html +1 -1
  733. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.TrueFalse.isEdit.html +1 -1
  734. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.checkboxes.description.html +1 -1
  735. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.checkboxes.isEdit.html +1 -1
  736. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.edit.configFields.html +1 -1
  737. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.edit.description.html +1 -1
  738. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.edit.isEdit.html +1 -1
  739. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.show.description.html +1 -1
  740. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.show.isEdit.html +1 -1
  741. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.show_with_html.html +1 -1
  742. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.switch.html +1 -1
  743. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.tristate.configFields.html +1 -1
  744. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.tristate.description.html +1 -1
  745. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.tristate.isEdit.html +1 -1
  746. package/docs/variables/_saltcorn_data.base-plugin_types.bool.js_type.html +1 -1
  747. package/docs/variables/_saltcorn_data.base-plugin_types.bool.name.html +1 -1
  748. package/docs/variables/_saltcorn_data.base-plugin_types.bool.sql_name.html +1 -1
  749. package/docs/variables/_saltcorn_data.base-plugin_types.color.attributes.html +1 -1
  750. package/docs/variables/_saltcorn_data.base-plugin_types.color.description.html +1 -1
  751. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.edit.blockDisplay.html +1 -1
  752. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.edit.description.html +1 -1
  753. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.edit.isEdit.html +1 -1
  754. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.show.description.html +1 -1
  755. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.show.isEdit.html +1 -1
  756. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.show_with_html.html +1 -1
  757. package/docs/variables/_saltcorn_data.base-plugin_types.color.js_type.html +1 -1
  758. package/docs/variables/_saltcorn_data.base-plugin_types.color.name.html +1 -1
  759. package/docs/variables/_saltcorn_data.base-plugin_types.color.sql_name.html +1 -1
  760. package/docs/variables/_saltcorn_data.base-plugin_types.date.attributes.html +1 -1
  761. package/docs/variables/_saltcorn_data.base-plugin_types.date.description.html +1 -1
  762. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.edit.blockDisplay.html +1 -1
  763. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.edit.description.html +1 -1
  764. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.edit.isEdit.html +1 -1
  765. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.editDay.blockDisplay.html +1 -1
  766. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.editDay.description.html +1 -1
  767. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.editDay.isEdit.html +1 -1
  768. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.format.configFields.html +1 -1
  769. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.format.description.html +1 -1
  770. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.format.isEdit.html +1 -1
  771. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.relative.description.html +1 -1
  772. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.relative.isEdit.html +1 -1
  773. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.show.description.html +1 -1
  774. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.show.isEdit.html +1 -1
  775. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.showDay.description.html +1 -1
  776. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.showDay.isEdit.html +1 -1
  777. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.show_with_html.html +1 -1
  778. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.yearsAgo.description.html +1 -1
  779. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.yearsAgo.isEdit.html +1 -1
  780. package/docs/variables/_saltcorn_data.base-plugin_types.date.js_type.html +1 -1
  781. package/docs/variables/_saltcorn_data.base-plugin_types.date.name.html +1 -1
  782. package/docs/variables/_saltcorn_data.base-plugin_types.date.sql_name.html +1 -1
  783. package/docs/variables/_saltcorn_data.base-plugin_types.float.attributes.html +1 -1
  784. package/docs/variables/_saltcorn_data.base-plugin_types.float.description.html +1 -1
  785. package/docs/variables/_saltcorn_data.base-plugin_types.float.distance_operators.html +1 -1
  786. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.above_input.html +1 -1
  787. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.below_input.html +1 -1
  788. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.edit.blockDisplay.html +1 -1
  789. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.edit.configFields.html +1 -1
  790. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.edit.description.html +1 -1
  791. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.edit.isEdit.html +1 -1
  792. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.heat_cell.html +1 -1
  793. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.number_slider.html +1 -1
  794. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.progress_bar.html +1 -1
  795. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.range_interval.html +1 -1
  796. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.show.description.html +1 -1
  797. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.show.isEdit.html +1 -1
  798. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.show_with_html.html +1 -1
  799. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.to_locale_string.html +1 -1
  800. package/docs/variables/_saltcorn_data.base-plugin_types.float.js_type.html +1 -1
  801. package/docs/variables/_saltcorn_data.base-plugin_types.float.name.html +1 -1
  802. package/docs/variables/_saltcorn_data.base-plugin_types.float.sql_name.html +1 -1
  803. package/docs/variables/_saltcorn_data.base-plugin_types.int.attributes.html +1 -1
  804. package/docs/variables/_saltcorn_data.base-plugin_types.int.description.html +1 -1
  805. package/docs/variables/_saltcorn_data.base-plugin_types.int.distance_operators.near.html +1 -1
  806. package/docs/variables/_saltcorn_data.base-plugin_types.int.fieldviews.html +2 -2
  807. package/docs/variables/_saltcorn_data.base-plugin_types.int.js_type.html +1 -1
  808. package/docs/variables/_saltcorn_data.base-plugin_types.int.name.html +1 -1
  809. package/docs/variables/_saltcorn_data.base-plugin_types.int.primaryKey.html +1 -1
  810. package/docs/variables/_saltcorn_data.base-plugin_types.int.sql_name.html +1 -1
  811. package/docs/variables/_saltcorn_data.base-plugin_types.string.description.html +1 -1
  812. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_header.description.html +1 -1
  813. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_header.isEdit.html +1 -1
  814. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_link.configFields.html +1 -1
  815. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_link.description.html +1 -1
  816. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_link.isEdit.html +1 -1
  817. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_text.description.html +1 -1
  818. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_text.isEdit.html +1 -1
  819. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.checkbox_group.html +1 -1
  820. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.code.html +1 -1
  821. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.code_editor.html +1 -1
  822. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.edit.blockDisplay.html +1 -1
  823. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.edit.description.html +1 -1
  824. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.edit.isEdit.html +1 -1
  825. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.ellipsize.html +1 -1
  826. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.fill_formula_btn.html +1 -1
  827. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.img_from_url.description.html +1 -1
  828. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.img_from_url.isEdit.html +1 -1
  829. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.make_unique.html +1 -1
  830. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.monospace_block.html +1 -1
  831. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.password.blockDisplay.html +1 -1
  832. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.password.configFields.html +1 -1
  833. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.password.description.html +1 -1
  834. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.password.isEdit.html +1 -1
  835. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.preFormatted.html +1 -1
  836. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.radio_group.configFields.html +1 -1
  837. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.radio_group.description.html +1 -1
  838. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.radio_group.isEdit.html +1 -1
  839. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.select_by_code.html +1 -1
  840. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.show_with_html.html +1 -1
  841. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.textarea.blockDisplay.html +1 -1
  842. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.textarea.configFields.html +1 -1
  843. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.textarea.description.html +1 -1
  844. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.textarea.isEdit.html +1 -1
  845. package/docs/variables/_saltcorn_data.base-plugin_types.string.js_type.html +1 -1
  846. package/docs/variables/_saltcorn_data.base-plugin_types.string.name.html +1 -1
  847. package/docs/variables/_saltcorn_data.base-plugin_types.string.sql_name.html +1 -1
  848. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_edit.edit.html +1 -0
  849. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_feed.feed.html +1 -0
  850. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_filter.filter.html +1 -0
  851. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_list.list.html +1 -0
  852. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_listshowlist.listshowlist.html +1 -0
  853. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_room.room-1.html +1 -0
  854. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_room.room.html +1 -0
  855. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_show.show.html +1 -0
  856. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.edit_build_in_actions.html +1 -1
  857. package/docs/variables/_saltcorn_data.contract.fieldlike.html +1 -1
  858. package/docs/variables/_saltcorn_data.contract.is_column.html +1 -1
  859. package/docs/variables/_saltcorn_data.contract.is_header.html +1 -1
  860. package/docs/variables/_saltcorn_data.contract.is_pack.html +1 -1
  861. package/docs/variables/_saltcorn_data.contract.is_plugin.html +1 -1
  862. package/docs/variables/_saltcorn_data.contract.is_plugin_layout.html +1 -1
  863. package/docs/variables/_saltcorn_data.contract.is_plugin_type.html +1 -1
  864. package/docs/variables/_saltcorn_data.contract.is_plugin_wrap.html +1 -1
  865. package/docs/variables/_saltcorn_data.contract.is_plugin_wrap_arg.html +1 -1
  866. package/docs/variables/_saltcorn_data.contract.is_table_query.html +1 -1
  867. package/docs/variables/_saltcorn_data.contract.is_tablely.html +1 -1
  868. package/docs/variables/_saltcorn_data.contract.is_viewtemplate.html +1 -1
  869. package/docs/variables/{_saltcorn_data.db_connect.export_.html → _saltcorn_data.db_connect.connect.html} +2 -2
  870. package/docs/variables/_saltcorn_data.db_fa5-icons.fa5Icons.html +1 -0
  871. package/docs/variables/_saltcorn_data.db_fixtures.fixtures.html +1 -0
  872. package/docs/variables/_saltcorn_data.db_index.dbExports.html +1 -0
  873. package/docs/variables/_saltcorn_data.db_state.state.html +13 -0
  874. package/docs/variables/_saltcorn_data.migrations_202005141503.sql.html +1 -1
  875. package/docs/variables/_saltcorn_data.migrations_202005241712.sql.html +1 -1
  876. package/docs/variables/_saltcorn_data.migrations_202005251037.sql.html +1 -1
  877. package/docs/variables/_saltcorn_data.migrations_202005282134.sql.html +1 -1
  878. package/docs/variables/_saltcorn_data.migrations_202006022156.sql.html +1 -1
  879. package/docs/variables/_saltcorn_data.migrations_202006051507.sql.html +1 -1
  880. package/docs/variables/_saltcorn_data.migrations_202006240906.sql.html +1 -1
  881. package/docs/variables/_saltcorn_data.migrations_202007091707.sql.html +1 -1
  882. package/docs/variables/_saltcorn_data.migrations_202007202144.sql.html +1 -1
  883. package/docs/variables/_saltcorn_data.migrations_202008031500.sql.html +1 -1
  884. package/docs/variables/_saltcorn_data.migrations_202008051415.sql.html +1 -1
  885. package/docs/variables/_saltcorn_data.migrations_202008121149.sql_pg.html +1 -1
  886. package/docs/variables/_saltcorn_data.migrations_202008121149.sql_sqlite.html +1 -1
  887. package/docs/variables/_saltcorn_data.migrations_202009112140.sql_pg.html +1 -1
  888. package/docs/variables/_saltcorn_data.migrations_202009112140.sql_sqlite.html +1 -1
  889. package/docs/variables/_saltcorn_data.migrations_202009181655.sql.html +1 -1
  890. package/docs/variables/_saltcorn_data.migrations_202009221105.sql.html +1 -1
  891. package/docs/variables/_saltcorn_data.migrations_202009231331.sql.html +1 -1
  892. package/docs/variables/_saltcorn_data.migrations_202009301531.sql.html +1 -1
  893. package/docs/variables/_saltcorn_data.migrations_202010231444.sql.html +1 -1
  894. package/docs/variables/_saltcorn_data.migrations_202010251412.sql.html +1 -1
  895. package/docs/variables/_saltcorn_data.migrations_202011021749.sql.html +1 -1
  896. package/docs/variables/_saltcorn_data.migrations_202011051353.sql.html +1 -1
  897. package/docs/variables/_saltcorn_data.migrations_202011111127.sql.html +1 -1
  898. package/docs/variables/_saltcorn_data.migrations_202012011203.sql.html +1 -1
  899. package/docs/variables/_saltcorn_data.migrations_202012100841.sql.html +1 -1
  900. package/docs/variables/_saltcorn_data.migrations_202012281835.sql.html +1 -1
  901. package/docs/variables/_saltcorn_data.migrations_202101061051.sql.html +1 -1
  902. package/docs/variables/_saltcorn_data.migrations_202101141128.sql.html +1 -1
  903. package/docs/variables/_saltcorn_data.migrations_202102091312.sql.html +1 -1
  904. package/docs/variables/_saltcorn_data.migrations_202102101624.sql.html +1 -1
  905. package/docs/variables/_saltcorn_data.migrations_202102172148.sql.html +1 -1
  906. package/docs/variables/_saltcorn_data.migrations_202102261650.sql.html +1 -1
  907. package/docs/variables/_saltcorn_data.migrations_202106102347.sql.html +1 -1
  908. package/docs/variables/_saltcorn_data.migrations_202106112120.sql.html +1 -1
  909. package/docs/variables/_saltcorn_data.migrations_202106120012.sql.html +1 -1
  910. package/docs/variables/_saltcorn_data.migrations_202106120220.sql.html +1 -1
  911. package/docs/variables/_saltcorn_data.migrations_202106121701.sql.html +1 -1
  912. package/docs/variables/_saltcorn_data.migrations_202106121703.sql_pg.html +1 -1
  913. package/docs/variables/_saltcorn_data.migrations_202106121703.sql_sqlite.html +1 -1
  914. package/docs/variables/_saltcorn_data.migrations_202106251126.sql.html +1 -1
  915. package/docs/variables/_saltcorn_data.migrations_202107281619.sql.html +1 -1
  916. package/docs/variables/_saltcorn_data.migrations_202107302158.sql_pg.html +1 -1
  917. package/docs/variables/_saltcorn_data.migrations_202107302158.sql_sqlite.html +1 -1
  918. package/docs/variables/_saltcorn_data.migrations_202108022257.sql.html +1 -1
  919. package/docs/variables/_saltcorn_data.migrations_202109201624.sql.html +1 -1
  920. package/docs/variables/_saltcorn_data.migrations_202109301031.sql_pg.html +1 -1
  921. package/docs/variables/_saltcorn_data.migrations_202109301031.sql_sqlite.html +1 -1
  922. package/docs/variables/_saltcorn_data.migrations_202111290253.sql_pg.html +1 -1
  923. package/docs/variables/_saltcorn_data.migrations_202111290253.sql_sqlite.html +1 -1
  924. package/docs/variables/_saltcorn_data.migrations_202112282254.sql_pg.html +1 -1
  925. package/docs/variables/_saltcorn_data.migrations_202112282254.sql_sqlite.html +1 -1
  926. package/docs/variables/_saltcorn_data.migrations_202207022002.sql.html +1 -1
  927. package/docs/variables/_saltcorn_data.migrations_202207252150.sql_pg.html +1 -1
  928. package/docs/variables/_saltcorn_data.migrations_202207252150.sql_sqlite.html +1 -1
  929. package/docs/variables/_saltcorn_data.migrations_202207261221.sql.html +1 -1
  930. package/docs/variables/_saltcorn_data.migrations_202208101144.sql_pg.html +1 -1
  931. package/docs/variables/_saltcorn_data.migrations_202208101144.sql_sqlite.html +1 -1
  932. package/docs/variables/_saltcorn_data.migrations_202211040031.sql.html +1 -1
  933. package/docs/variables/_saltcorn_data.migrations_202212112152.sql_pg.html +1 -1
  934. package/docs/variables/_saltcorn_data.migrations_202212112152.sql_sqlite.html +1 -1
  935. package/docs/variables/_saltcorn_data.migrations_202301130917.sql.html +1 -1
  936. package/docs/variables/_saltcorn_data.migrations_202303201126.sql_pg.html +1 -1
  937. package/docs/variables/_saltcorn_data.migrations_202303201126.sql_sqlite.html +1 -1
  938. package/docs/variables/_saltcorn_data.migrations_202303221944.sql_pg.html +1 -1
  939. package/docs/variables/_saltcorn_data.migrations_202303221944.sql_sqlite.html +1 -1
  940. package/docs/variables/_saltcorn_data.migrations_202304281224.sql.html +1 -1
  941. package/docs/variables/_saltcorn_data.migrations_202305031518.sql_pg.html +1 -1
  942. package/docs/variables/_saltcorn_data.migrations_202305031518.sql_sqlite.html +1 -1
  943. package/docs/variables/_saltcorn_data.migrations_202308211648.sql.html +1 -1
  944. package/docs/variables/_saltcorn_data.migrations_202311011755.sql_pg.html +1 -1
  945. package/docs/variables/_saltcorn_data.migrations_202311011755.sql_sqlite.html +1 -1
  946. package/docs/variables/_saltcorn_data.migrations_202311231356.sql.html +1 -1
  947. package/docs/variables/_saltcorn_data.migrations_202402071125.sql.html +1 -1
  948. package/docs/variables/_saltcorn_data.migrations_202406260915.sql.html +1 -1
  949. package/docs/variables/_saltcorn_data.migrations_202412051957.sql_pg.html +1 -1
  950. package/docs/variables/_saltcorn_data.migrations_202412051957.sql_sqlite.html +1 -1
  951. package/docs/variables/_saltcorn_data.migrations_202412111526.sql_pg.html +1 -1
  952. package/docs/variables/_saltcorn_data.migrations_202412111526.sql_sqlite.html +1 -1
  953. package/docs/variables/_saltcorn_data.migrations_202501081226.sql_pg.html +1 -1
  954. package/docs/variables/_saltcorn_data.migrations_202501081226.sql_sqlite.html +1 -1
  955. package/docs/variables/_saltcorn_data.migrations_202501201239.sql_sqlite.html +1 -1
  956. package/docs/variables/_saltcorn_data.migrations_202501262157.sql.html +1 -1
  957. package/docs/variables/_saltcorn_data.migrations_202503071353.sql_pg.html +1 -1
  958. package/docs/variables/_saltcorn_data.migrations_202506050958.sql.html +1 -1
  959. package/docs/variables/_saltcorn_data.mobile-mocks_saltcorn_html-pdf-node.htmlPdfNode.html +1 -0
  960. package/docs/variables/_saltcorn_data.models_config.configExports.html +10 -0
  961. package/docs/variables/_saltcorn_data.models_discovery.discovery.html +8 -0
  962. package/docs/variables/_saltcorn_data.models_email.email.html +4 -0
  963. package/docs/variables/_saltcorn_data.models_expression.expression.html +4 -0
  964. package/docs/variables/_saltcorn_data.models_index.config.available_languages.html +1 -1
  965. package/docs/variables/_saltcorn_data.models_index.config.check_email_mask.html +1 -1
  966. package/docs/variables/_saltcorn_data.models_index.config.configTypes.html +1 -1
  967. package/docs/variables/_saltcorn_data.models_index.config.deleteConfig.html +1 -1
  968. package/docs/variables/_saltcorn_data.models_index.config.getAllConfig.html +1 -1
  969. package/docs/variables/_saltcorn_data.models_index.config.getConfig.html +1 -1
  970. package/docs/variables/_saltcorn_data.models_index.config.get_base_url.html +1 -1
  971. package/docs/variables/_saltcorn_data.models_index.config.get_latest_npm_version.html +1 -1
  972. package/docs/variables/_saltcorn_data.models_index.config.remove_from_menu.html +1 -1
  973. package/docs/variables/_saltcorn_data.models_index.config.save_menu_items.html +1 -1
  974. package/docs/variables/_saltcorn_data.models_index.config.setConfig.html +1 -1
  975. package/docs/variables/_saltcorn_data.models_index.discovery.discover_tables.html +1 -1
  976. package/docs/variables/_saltcorn_data.models_index.discovery.discoverable_tables.html +1 -1
  977. package/docs/variables/_saltcorn_data.models_index.discovery.findType.html +1 -1
  978. package/docs/variables/_saltcorn_data.models_index.discovery.get_existing_views.html +1 -1
  979. package/docs/variables/_saltcorn_data.models_index.discovery.implement_discovery.html +1 -1
  980. package/docs/variables/_saltcorn_data.models_index.email.getMailTransport.html +1 -1
  981. package/docs/variables/_saltcorn_data.models_index.email.send_verification_email.html +2 -2
  982. package/docs/variables/_saltcorn_data.models_index.email.viewToEmailHtml.html +3 -3
  983. package/docs/variables/_saltcorn_data.models_index.expression.apply_calculated_fields.html +1 -1
  984. package/docs/variables/_saltcorn_data.models_index.expression.apply_calculated_fields_stored.html +1 -1
  985. package/docs/variables/_saltcorn_data.models_index.expression.eval_expression.html +1 -1
  986. package/docs/variables/_saltcorn_data.models_index.expression.expressionValidator.html +1 -1
  987. package/docs/variables/_saltcorn_data.models_index.expression.get_async_expression_function.html +1 -1
  988. package/docs/variables/_saltcorn_data.models_index.expression.get_expression_function.html +1 -1
  989. package/docs/variables/_saltcorn_data.models_index.expression.jsexprToWhere.html +1 -1
  990. package/docs/variables/_saltcorn_data.models_index.expression.recalculate_for_stored.html +3 -3
  991. package/docs/variables/_saltcorn_data.models_index.expression.transform_for_async.html +1 -1
  992. package/docs/variables/_saltcorn_data.models_index.layout.eachView.html +1 -1
  993. package/docs/variables/_saltcorn_data.models_index.layout.getStringsForI18n.html +1 -1
  994. package/docs/variables/_saltcorn_data.models_index.layout.getViews.html +1 -1
  995. package/docs/variables/_saltcorn_data.models_index.layout.translateLayout.html +1 -1
  996. package/docs/variables/_saltcorn_data.models_index.layout.traverse.html +1 -1
  997. package/docs/variables/_saltcorn_data.models_index.layout.traverseSync.html +1 -1
  998. package/docs/variables/_saltcorn_data.models_index.random.all_views.html +2 -2
  999. package/docs/variables/_saltcorn_data.models_index.random.fill_table_row.html +2 -2
  1000. package/docs/variables/_saltcorn_data.models_index.random.initial_view.html +2 -2
  1001. package/docs/variables/_saltcorn_data.models_index.random.random_table.html +1 -1
  1002. package/docs/variables/_saltcorn_data.models_index.scheduler.runScheduler.html +1 -1
  1003. package/docs/variables/_saltcorn_data.models_layout.layout.html +3 -0
  1004. package/docs/variables/_saltcorn_data.models_random.random.html +4 -0
  1005. package/docs/variables/_saltcorn_data.models_scheduler.scheduler.html +1 -0
  1006. package/docs/variables/_saltcorn_data.plugin-helper.add_free_variables_to_joinfields.html +2 -2
  1007. package/docs/variables/_saltcorn_data.tests_mocks.mocks.html +1 -0
  1008. package/docs/variables/_saltcorn_data.tests_remote_query_helper.renderEditInEditConfig.html +1 -1
  1009. package/docs/variables/_saltcorn_data.utils.utils.html +16 -0
  1010. package/docs/variables/_saltcorn_data.web-mobile-commons.webMobileCommons.html +7 -0
  1011. package/docs/variables/_saltcorn_db-common.multi-tenant.tenantNamespace.html +1 -1
  1012. package/docs/variables/{_saltcorn_db-common.tenants.export_.html → _saltcorn_db-common.tenants.tenants.html} +2 -2
  1013. package/docs/variables/_saltcorn_markup..export_.html +1 -1
  1014. package/docs/variables/_saltcorn_markup.builder.builder.html +1 -0
  1015. package/docs/variables/_saltcorn_markup.emergency_layout.EmergencyLayoutExports.html +1 -0
  1016. package/docs/variables/_saltcorn_markup.form.form.html +1 -0
  1017. package/docs/variables/_saltcorn_markup.helpers.HelpersExports.html +2 -0
  1018. package/docs/variables/_saltcorn_markup.layout.LayoutExports-1.html +1 -0
  1019. package/docs/variables/_saltcorn_markup.layout.LayoutExports.html +1 -0
  1020. package/docs/variables/{_saltcorn_markup.layout_utils.export_.html → _saltcorn_markup.layout_utils.layoutUtils.html} +2 -2
  1021. package/docs/variables/_saltcorn_markup.mjml-layout.LayoutExports.html +1 -0
  1022. package/docs/variables/_saltcorn_markup.mjml-tags.tagsExports.html +1 -0
  1023. package/docs/variables/_saltcorn_markup.table.TableExports.html +1 -0
  1024. package/docs/variables/_saltcorn_markup.tags.tagsExports.html +1 -0
  1025. package/docs/variables/_saltcorn_types..generators.generateBool.html +1 -1
  1026. package/docs/variables/_saltcorn_types..generators.generateString.html +1 -1
  1027. package/docs/variables/_saltcorn_types..generators.num_between.html +1 -1
  1028. package/docs/variables/_saltcorn_types..generators.oneOf.html +1 -1
  1029. package/docs/variables/{_saltcorn_types.generators.export_.html → _saltcorn_types.generators.generators.html} +1 -1
  1030. package/errors.js +6 -6
  1031. package/help/Create SQL view.tmd +5 -0
  1032. package/help/Custom events.tmd +3 -0
  1033. package/help/Extra state formula.tmd +1 -1
  1034. package/help/JavaScript action code.tmd +46 -1
  1035. package/help/Multitenancy.tmd +3 -0
  1036. package/help/Role to access.tmd +14 -0
  1037. package/help/Triggers.tmd +7 -0
  1038. package/help/View table.tmd +3 -0
  1039. package/locales/en.json +6 -1
  1040. package/locales/nl.json +38 -38
  1041. package/markup/admin.js +24 -4
  1042. package/package.json +9 -9
  1043. package/public/saltcorn-common.js +159 -22
  1044. package/public/saltcorn.css +13 -0
  1045. package/public/saltcorn.js +60 -9
  1046. package/routes/actions.js +103 -57
  1047. package/routes/admin.js +22 -3
  1048. package/routes/api.js +4 -4
  1049. package/routes/common_lists.js +7 -0
  1050. package/routes/delete.js +65 -5
  1051. package/routes/eventlog.js +2 -1
  1052. package/routes/homepage.js +26 -3
  1053. package/routes/page.js +31 -17
  1054. package/routes/page_groupedit.js +1 -0
  1055. package/routes/pageedit.js +5 -0
  1056. package/routes/tables.js +25 -10
  1057. package/routes/tenant.js +1 -0
  1058. package/routes/view.js +35 -22
  1059. package/routes/viewedit.js +21 -10
  1060. package/serve.js +1 -0
  1061. package/tests/admin.test.js +2 -3
  1062. package/docs/classes/_saltcorn_admin-models.models_snapshot.export_.html +0 -14
  1063. package/docs/classes/_saltcorn_data.diagram_nodes_node.default.html +0 -20
  1064. package/docs/classes/_saltcorn_data.models_crash.export_.html +0 -19
  1065. package/docs/classes/_saltcorn_data.models_eventlog.export_.html +0 -20
  1066. package/docs/classes/_saltcorn_data.models_fieldrepeat.export_.html +0 -18
  1067. package/docs/classes/_saltcorn_data.models_form.export_.html +0 -40
  1068. package/docs/classes/_saltcorn_data.models_model.export_.html +0 -20
  1069. package/docs/classes/_saltcorn_data.models_model_instance.export_.html +0 -23
  1070. package/docs/classes/_saltcorn_data.models_notification.export_.html +0 -19
  1071. package/docs/classes/_saltcorn_data.models_plugin.export_.html +0 -38
  1072. package/docs/classes/_saltcorn_data.models_role.export_.html +0 -11
  1073. package/docs/classes/_saltcorn_data.models_table_constraints.export_.html +0 -15
  1074. package/docs/classes/_saltcorn_data.models_tag.export_.html +0 -23
  1075. package/docs/classes/_saltcorn_data.models_tag_entry.export_.html +0 -14
  1076. package/docs/classes/_saltcorn_data.models_workflow.export_.html +0 -19
  1077. package/docs/classes/_saltcorn_data.models_workflow_run.export_.html +0 -37
  1078. package/docs/classes/_saltcorn_data.models_workflow_trace.export_-1.html +0 -20
  1079. package/docs/classes/_saltcorn_data.models_workflow_trace.export_.html +0 -16
  1080. package/docs/functions/_saltcorn_data.mobile-mocks_node_child_process.export_.html +0 -1
  1081. package/docs/functions/_saltcorn_data.mobile-mocks_node_latest-version.default.html +0 -1
  1082. package/docs/functions/_saltcorn_data.mobile-mocks_npm_env-paths.export_.html +0 -1
  1083. package/docs/functions/_saltcorn_data.models_internal_async_json_stream.default.html +0 -1
  1084. package/docs/functions/_saltcorn_data.standard-menu.export_.html +0 -1
  1085. package/docs/functions/_saltcorn_markup.mktag.export_.html +0 -1
  1086. package/docs/functions/_saltcorn_markup.tabs.export_.html +0 -1
  1087. package/docs/modules/_saltcorn_data.models_config.export_.html +0 -1
  1088. package/docs/modules/_saltcorn_data.models_eventlog.export_.html +0 -1
  1089. package/docs/modules/_saltcorn_data.models_file.export_.html +0 -1
  1090. package/docs/modules/_saltcorn_data.models_form.export_.html +0 -1
  1091. package/docs/modules/_saltcorn_data.models_page_group.export_.html +0 -1
  1092. package/docs/modules/_saltcorn_data.models_table.export_.html +0 -1
  1093. package/docs/modules/_saltcorn_data.models_view.export_.html +0 -1
  1094. package/docs/modules/_saltcorn_markup.emergency_layout.export_.html +0 -1
  1095. package/docs/modules/_saltcorn_markup.helpers.export_.html +0 -1
  1096. package/docs/modules/_saltcorn_markup.layout.export_-1.html +0 -1
  1097. package/docs/modules/_saltcorn_markup.layout.export_.html +0 -1
  1098. package/docs/modules/_saltcorn_markup.mjml-layout.export_.html +0 -1
  1099. package/docs/modules/_saltcorn_markup.table.export_.html +0 -1
  1100. package/docs/variables/_saltcorn_admin-models.models_backup.export_.html +0 -3
  1101. package/docs/variables/_saltcorn_admin-models.pack.export_.html +0 -19
  1102. package/docs/variables/_saltcorn_admin-models.tenant.export_.html +0 -37
  1103. package/docs/variables/_saltcorn_data.base-plugin_fileview.export_.html +0 -1
  1104. package/docs/variables/_saltcorn_data.base-plugin_index.export_.html +0 -1
  1105. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_edit.export_.html +0 -1
  1106. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_feed.export_.html +0 -1
  1107. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_filter.export_.html +0 -1
  1108. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_list.export_.html +0 -1
  1109. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_listshowlist.export_.html +0 -1
  1110. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_room.export_-1.html +0 -1
  1111. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_room.export_.html +0 -1
  1112. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_show.export_.html +0 -1
  1113. package/docs/variables/_saltcorn_data.db_fa5-icons.default.html +0 -1
  1114. package/docs/variables/_saltcorn_data.db_fixtures.export_.html +0 -1
  1115. package/docs/variables/_saltcorn_data.db_index.export_.html +0 -1
  1116. package/docs/variables/_saltcorn_data.db_state.export_.html +0 -12
  1117. package/docs/variables/_saltcorn_data.mobile-mocks_saltcorn_html-pdf-node.export_.html +0 -1
  1118. package/docs/variables/_saltcorn_data.models_config.export_.html +0 -10
  1119. package/docs/variables/_saltcorn_data.models_discovery.export_.html +0 -8
  1120. package/docs/variables/_saltcorn_data.models_email.export_.html +0 -4
  1121. package/docs/variables/_saltcorn_data.models_expression.export_.html +0 -4
  1122. package/docs/variables/_saltcorn_data.models_layout.export_.html +0 -3
  1123. package/docs/variables/_saltcorn_data.models_random.export_.html +0 -4
  1124. package/docs/variables/_saltcorn_data.models_scheduler.export_.html +0 -1
  1125. package/docs/variables/_saltcorn_data.tests_mocks.export_.html +0 -1
  1126. package/docs/variables/_saltcorn_data.utils.export_.html +0 -16
  1127. package/docs/variables/_saltcorn_data.web-mobile-commons.export_.html +0 -7
  1128. package/docs/variables/_saltcorn_markup.builder.export_.html +0 -1
  1129. package/docs/variables/_saltcorn_markup.emergency_layout.export_.html +0 -1
  1130. package/docs/variables/_saltcorn_markup.form.export_.html +0 -1
  1131. package/docs/variables/_saltcorn_markup.helpers.export_.html +0 -2
  1132. package/docs/variables/_saltcorn_markup.layout.export_-1.html +0 -1
  1133. package/docs/variables/_saltcorn_markup.layout.export_.html +0 -1
  1134. package/docs/variables/_saltcorn_markup.mjml-layout.export_.html +0 -1
  1135. package/docs/variables/_saltcorn_markup.mjml-tags.export_.html +0 -1
  1136. package/docs/variables/_saltcorn_markup.table.export_.html +0 -1
  1137. package/docs/variables/_saltcorn_markup.tags.export_.html +0 -1
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>export= | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Documentation</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/_saltcorn_data.html">@saltcorn/data</a></li><li><a href="../modules/_saltcorn_data.models_table.html">models/table</a></li><li><a href="" aria-current="page">export=</a></li></ul><h1>Class export=</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>A class representing database tables and their properties.</p>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Table | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Documentation</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/_saltcorn_data.html">@saltcorn/data</a></li><li><a href="../modules/_saltcorn_data.models_table.html">models/table</a></li><li><a href="" aria-current="page">Table</a></li></ul><h1>Class Table</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>A class representing database tables and their properties.</p>
2
2
  <p>Use this to create or delete tables and their properties, or to query
3
3
  or change table rows.</p>
4
4
  <p>To query, update, insert or delete rows in an existing table, first you
@@ -54,7 +54,7 @@ failures treated</p>
54
54
  </ul>
55
55
  <h2 id="deleting-rows" class="tsd-anchor-link">Deleting rows<a href="#deleting-rows" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2><p>Use <a href="#deleterows" class="tsd-kind-method">Table.deleteRows</a> to delete any number (zero, one or many) of rows matching a criterion. It uses
56
56
  the same <code>where</code> expression as the functions for querying rows</p>
57
- </div></div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html" class="tsd-signature-type tsd-kind-interface">AbstractTable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L227">packages/saltcorn-data/models/table.ts:227</a></li><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L4212">packages/saltcorn-data/models/table.ts:4212</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
57
+ </div></div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html" class="tsd-signature-type tsd-kind-interface">AbstractTable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L228">packages/saltcorn-data/models/table.ts:228</a></li><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L4309">packages/saltcorn-data/models/table.ts:4309</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
58
58
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#constraints" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>constraints</span></a>
59
59
  <a href="#description" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>description?</span></a>
60
60
  <a href="#external" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>external</span></a>
@@ -81,6 +81,7 @@ the same <code>where</code> expression as the functions for querying rows</p>
81
81
  <a href="#compress_history" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>compress_<wbr/>history</span></a>
82
82
  <a href="#countrows" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>count<wbr/>Rows</span></a>
83
83
  <a href="#delete" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete</span></a>
84
+ <a href="#delete_url" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete_<wbr/>url</span></a>
84
85
  <a href="#deleterows" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Rows</span></a>
85
86
  <a href="#distinctvalues" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>distinct<wbr/>Values</span></a>
86
87
  <a href="#dump_history_to_json" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dump_<wbr/>history_<wbr/>to_<wbr/>json</span></a>
@@ -145,60 +146,60 @@ the same <code>where</code> expression as the functions for querying rows</p>
145
146
  <a href="#find_with_external" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find_<wbr/>with_<wbr/>external</span></a>
146
147
  <a href="#findone" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>One</span></a>
147
148
  <a href="#state_refresh" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>state_<wbr/>refresh</span></a>
148
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructorexport"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">&quot;export=&quot;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">o</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.model-abstracts_abstract_table.TableCfg.html" class="tsd-signature-type tsd-kind-type-alias">TableCfg</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">export=</a><a href="#constructorexport" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Table constructor</p>
149
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">o</span>: <a href="../types/_saltcorn_types.model-abstracts_abstract_table.TableCfg.html" class="tsd-signature-type tsd-kind-type-alias">TableCfg</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">export=</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L277">packages/saltcorn-data/models/table.ts:277</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constraints"><span>constraints</span><a href="#constraints" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">constraints</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_table_constraints.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>An array of <a href="_saltcorn_data.models_table_constraints.export_.html" class="tsd-kind-class">TableConstraint</a>s for this table</p>
150
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L263">packages/saltcorn-data/models/table.ts:263</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="description"><code class="tsd-tag">Optional</code><span>description</span><a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">description</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>A description of the purpose of the table</p>
151
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L257">packages/saltcorn-data/models/table.ts:257</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="external"><span>external</span><a href="#external" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">external</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>If true this is an external table (not a database table)</p>
152
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L254">packages/saltcorn-data/models/table.ts:254</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fields"><span>fields</span><a href="#fields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">fields</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>An array of <a href="_saltcorn_data.models_field.export_.html" class="tsd-kind-class">Field</a>s in this table</p>
153
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#fields">fields</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L260">packages/saltcorn-data/models/table.ts:260</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="has_sync_info"><span>has_<wbr/>sync_<wbr/>info</span><a href="#has_sync_info" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">has_sync_info</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Whether sync info for mobile apps is enabled for this table</p>
154
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L251">packages/saltcorn-data/models/table.ts:251</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="id"><code class="tsd-tag">Optional</code><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The table ID</p>
155
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#id">id</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L232">packages/saltcorn-data/models/table.ts:232</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="is_user_group"><span>is_<wbr/>user_<wbr/>group</span><a href="#is_user_group" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">is_user_group</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Is this a user group? If yes it will appear as options in the ownership dropdown</p>
156
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L266">packages/saltcorn-data/models/table.ts:266</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="min_role_read"><span>min_<wbr/>role_<wbr/>read</span><a href="#min_role_read" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">min_role_read</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Minimum role to read</p>
157
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#min_role_read">min_role_read</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L235">packages/saltcorn-data/models/table.ts:235</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="min_role_write"><span>min_<wbr/>role_<wbr/>write</span><a href="#min_role_write" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">min_role_write</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Minimum role to write</p>
158
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#min_role_write">min_role_write</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L238">packages/saltcorn-data/models/table.ts:238</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="name"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The table name</p>
159
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#name">name</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L229">packages/saltcorn-data/models/table.ts:229</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ownership_field_id"><code class="tsd-tag">Optional</code><span>ownership_<wbr/>field_<wbr/>id</span><a href="#ownership_field_id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ownership_field_id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The ID of the ownership field</p>
160
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#ownership_field_id">ownership_field_id</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L241">packages/saltcorn-data/models/table.ts:241</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ownership_formula"><code class="tsd-tag">Optional</code><span>ownership_<wbr/>formula</span><a href="#ownership_formula" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ownership_formula</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>A formula to denote ownership. This is a JavaScript expression which
149
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructortable"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">Table</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">o</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.model-abstracts_abstract_table.TableCfg.html" class="tsd-signature-type tsd-kind-type-alias">TableCfg</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">Table</a><a href="#constructortable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Table constructor</p>
150
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">o</span>: <a href="../types/_saltcorn_types.model-abstracts_abstract_table.TableCfg.html" class="tsd-signature-type tsd-kind-type-alias">TableCfg</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">Table</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L278">packages/saltcorn-data/models/table.ts:278</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constraints"><span>constraints</span><a href="#constraints" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">constraints</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_table_constraints.TableConstraint.html" class="tsd-signature-type tsd-kind-class">TableConstraint</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>An array of <a href="_saltcorn_data.models_table_constraints.TableConstraint.html" class="tsd-kind-class">TableConstraint</a>s for this table</p>
151
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L264">packages/saltcorn-data/models/table.ts:264</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="description"><code class="tsd-tag">Optional</code><span>description</span><a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">description</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>A description of the purpose of the table</p>
152
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L258">packages/saltcorn-data/models/table.ts:258</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="external"><span>external</span><a href="#external" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">external</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>If true this is an external table (not a database table)</p>
153
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L255">packages/saltcorn-data/models/table.ts:255</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fields"><span>fields</span><a href="#fields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">fields</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>An array of <a href="_saltcorn_data.models_field.Field.html" class="tsd-kind-class">Field</a>s in this table</p>
154
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#fields">fields</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L261">packages/saltcorn-data/models/table.ts:261</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="has_sync_info"><span>has_<wbr/>sync_<wbr/>info</span><a href="#has_sync_info" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">has_sync_info</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Whether sync info for mobile apps is enabled for this table</p>
155
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L252">packages/saltcorn-data/models/table.ts:252</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="id"><code class="tsd-tag">Optional</code><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The table ID</p>
156
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#id">id</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L233">packages/saltcorn-data/models/table.ts:233</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="is_user_group"><span>is_<wbr/>user_<wbr/>group</span><a href="#is_user_group" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">is_user_group</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Is this a user group? If yes it will appear as options in the ownership dropdown</p>
157
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L267">packages/saltcorn-data/models/table.ts:267</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="min_role_read"><span>min_<wbr/>role_<wbr/>read</span><a href="#min_role_read" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">min_role_read</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Minimum role to read</p>
158
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#min_role_read">min_role_read</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L236">packages/saltcorn-data/models/table.ts:236</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="min_role_write"><span>min_<wbr/>role_<wbr/>write</span><a href="#min_role_write" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">min_role_write</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Minimum role to write</p>
159
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#min_role_write">min_role_write</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L239">packages/saltcorn-data/models/table.ts:239</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="name"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The table name</p>
160
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#name">name</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L230">packages/saltcorn-data/models/table.ts:230</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ownership_field_id"><code class="tsd-tag">Optional</code><span>ownership_<wbr/>field_<wbr/>id</span><a href="#ownership_field_id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ownership_field_id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The ID of the ownership field</p>
161
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#ownership_field_id">ownership_field_id</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L242">packages/saltcorn-data/models/table.ts:242</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ownership_formula"><code class="tsd-tag">Optional</code><span>ownership_<wbr/>formula</span><a href="#ownership_formula" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ownership_formula</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>A formula to denote ownership. This is a JavaScript expression which
161
162
  must evaluate to true if the user is the owner</p>
162
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#ownership_formula">ownership_formula</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L245">packages/saltcorn-data/models/table.ts:245</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="provider_cfg"><code class="tsd-tag">Optional</code><span>provider_<wbr/>cfg</span><a href="#provider_cfg" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">provider_cfg</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></div><div class="tsd-comment tsd-typography"><p>Configuration for the table provider for this table</p>
163
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L272">packages/saltcorn-data/models/table.ts:272</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="provider_name"><code class="tsd-tag">Optional</code><span>provider_<wbr/>name</span><a href="#provider_name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">provider_name</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Name of the table provider for this table (not a database table)</p>
164
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L269">packages/saltcorn-data/models/table.ts:269</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="versioned"><span>versioned</span><a href="#versioned" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">versioned</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Version history enabled for this table</p>
165
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L248">packages/saltcorn-data/models/table.ts:248</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Accessors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="composite_pk_names"><span>composite_<wbr/>pk_<wbr/>names</span><a href="#composite_pk_names" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="composite_pk_namescomposite_pk_names"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">composite_pk_names</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1850">packages/saltcorn-data/models/table.ts:1850</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pk_name"><span>pk_<wbr/>name</span><a href="#pk_name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="pk_namepk_name"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">pk_name</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get primary key field name</p>
166
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1860">packages/saltcorn-data/models/table.ts:1860</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pk_type"><span>pk_<wbr/>type</span><a href="#pk_type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="pk_typepk_type"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">pk_type</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.common_types.Type.html" class="tsd-signature-type tsd-kind-type-alias">Type</a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../types/_saltcorn_types.common_types.Type.html" class="tsd-signature-type tsd-kind-type-alias">Type</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1868">packages/saltcorn-data/models/table.ts:1868</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="santized_name"><span>santized_<wbr/>name</span><a href="#santized_name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="santized_namesantized_name"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">santized_name</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get sanitized name of table</p>
167
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L671">packages/saltcorn-data/models/table.ts:671</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sql_name"><span>sql_<wbr/>name</span><a href="#sql_name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="sql_namesql_name"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">sql_name</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get Table SQL Name</p>
168
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#sql_name">sql_name</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L868">packages/saltcorn-data/models/table.ts:868</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="to_json"><span>to_<wbr/>json</span><a href="#to_json" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="to_jsonto_json"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">to_json</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-kind-property">external</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">fields</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">min_role_read</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">min_role_write</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">ownership_field_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">ownership_formula</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">provider_cfg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">provider_name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">versioned</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-kind-property">external</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">fields</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">min_role_read</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">min_role_write</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">ownership_field_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">ownership_formula</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">provider_cfg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">provider_name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">versioned</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L296">packages/saltcorn-data/models/table.ts:296</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="aggregationquery"><span>aggregation<wbr/>Query</span><a href="#aggregationquery" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="aggregationquery-1"><span class="tsd-kind-call-signature">aggregationQuery</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">aggregations</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">nm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-symbol">{</span><br/>            <span class="tsd-kind-property">aggregate</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">field</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">valueFormula</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">groupBy</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span><a href="#aggregationquery-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns aggregations for this table, possibly on a subset by where-expression</p>
169
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">aggregations</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">nm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">aggregate</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">field</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">valueFormula</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">}</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">groupBy</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a> <span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3695">packages/saltcorn-data/models/table.ts:3695</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="check_table_constraints"><span>check_<wbr/>table_<wbr/>constraints</span><a href="#check_table_constraints" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="check_table_constraints-1"><span class="tsd-kind-call-signature">check_table_constraints</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">row0</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><a href="#check_table_constraints-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check table constraints against a row object. Will return a string With an error message if the
163
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#ownership_formula">ownership_formula</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L246">packages/saltcorn-data/models/table.ts:246</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="provider_cfg"><code class="tsd-tag">Optional</code><span>provider_<wbr/>cfg</span><a href="#provider_cfg" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">provider_cfg</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></div><div class="tsd-comment tsd-typography"><p>Configuration for the table provider for this table</p>
164
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L273">packages/saltcorn-data/models/table.ts:273</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="provider_name"><code class="tsd-tag">Optional</code><span>provider_<wbr/>name</span><a href="#provider_name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">provider_name</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Name of the table provider for this table (not a database table)</p>
165
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L270">packages/saltcorn-data/models/table.ts:270</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="versioned"><span>versioned</span><a href="#versioned" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">versioned</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Version history enabled for this table</p>
166
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L249">packages/saltcorn-data/models/table.ts:249</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Accessors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="composite_pk_names"><span>composite_<wbr/>pk_<wbr/>names</span><a href="#composite_pk_names" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="composite_pk_namescomposite_pk_names"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">composite_pk_names</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1911">packages/saltcorn-data/models/table.ts:1911</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pk_name"><span>pk_<wbr/>name</span><a href="#pk_name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="pk_namepk_name"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">pk_name</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get primary key field name</p>
167
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1921">packages/saltcorn-data/models/table.ts:1921</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pk_type"><span>pk_<wbr/>type</span><a href="#pk_type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="pk_typepk_type"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">pk_type</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.common_types.Type.html" class="tsd-signature-type tsd-kind-type-alias">Type</a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../types/_saltcorn_types.common_types.Type.html" class="tsd-signature-type tsd-kind-type-alias">Type</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1929">packages/saltcorn-data/models/table.ts:1929</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="santized_name"><span>santized_<wbr/>name</span><a href="#santized_name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="santized_namesantized_name"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">santized_name</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get sanitized name of table</p>
168
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L670">packages/saltcorn-data/models/table.ts:670</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sql_name"><span>sql_<wbr/>name</span><a href="#sql_name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="sql_namesql_name"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">sql_name</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get Table SQL Name</p>
169
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#sql_name">sql_name</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L865">packages/saltcorn-data/models/table.ts:865</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="to_json"><span>to_<wbr/>json</span><a href="#to_json" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="to_jsonto_json"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">to_json</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-kind-property">external</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">fields</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">min_role_read</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">min_role_write</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">ownership_field_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">ownership_formula</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">provider_cfg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">provider_name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">versioned</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-kind-property">external</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">fields</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">min_role_read</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">min_role_write</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">ownership_field_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">ownership_formula</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">provider_cfg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">provider_name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">versioned</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L297">packages/saltcorn-data/models/table.ts:297</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="aggregationquery"><span>aggregation<wbr/>Query</span><a href="#aggregationquery" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="aggregationquery-1"><span class="tsd-kind-call-signature">aggregationQuery</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">aggregations</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">nm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-symbol">{</span><br/>            <span class="tsd-kind-property">aggregate</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">field</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">valueFormula</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">groupBy</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span><a href="#aggregationquery-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns aggregations for this table, possibly on a subset by where-expression</p>
170
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">aggregations</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">nm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">aggregate</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">field</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">valueFormula</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">}</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">groupBy</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a> <span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3793">packages/saltcorn-data/models/table.ts:3793</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="check_table_constraints"><span>check_<wbr/>table_<wbr/>constraints</span><a href="#check_table_constraints" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="check_table_constraints-1"><span class="tsd-kind-call-signature">check_table_constraints</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">row0</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><a href="#check_table_constraints-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check table constraints against a row object. Will return a string With an error message if the
170
171
  table constraints are violated, <code>undefined</code> if the row does not violate any constraints</p>
171
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">row0</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1888">packages/saltcorn-data/models/table.ts:1888</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="compress_history"><span>compress_<wbr/>history</span><a href="#compress_history" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="compress_history-1"><span class="tsd-kind-call-signature">compress_history</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">delete_unchanged</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">interval_secs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#compress_history-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Compress history by minimal interval and/or deleting unchanged rows. Can be called
172
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">row0</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1949">packages/saltcorn-data/models/table.ts:1949</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="compress_history"><span>compress_<wbr/>history</span><a href="#compress_history" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="compress_history-1"><span class="tsd-kind-call-signature">compress_history</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">delete_unchanged</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">interval_secs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#compress_history-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Compress history by minimal interval and/or deleting unchanged rows. Can be called
172
173
  with options object, or just minimal interval for legacy code</p>
173
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">delete_unchanged</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">interval_secs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2643">packages/saltcorn-data/models/table.ts:2643</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="countrows"><span>count<wbr/>Rows</span><a href="#countrows" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="countrows-1"><span class="tsd-kind-call-signature">countRows</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#countrows-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Count the number of rows in db table. The argument is a where-expression with conditions the
174
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">delete_unchanged</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">interval_secs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2740">packages/saltcorn-data/models/table.ts:2740</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="countrows"><span>count<wbr/>Rows</span><a href="#countrows" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="countrows-1"><span class="tsd-kind-call-signature">countRows</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#countrows-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Count the number of rows in db table. The argument is a where-expression with conditions the
174
175
  counted rows should match. countRows returns the number of matching rows wrapped in a promise.</p>
175
176
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">where</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-2">Example<a href="#example-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">bookTable</span><span class="hl-1"> = </span><span class="hl-0">Table</span><span class="hl-1">.</span><span class="hl-2">findOne</span><span class="hl-1">({</span><span class="hl-0">name:</span><span class="hl-1"> </span><span class="hl-3">&quot;books&quot;</span><span class="hl-1">})</span><br/><br/><span class="hl-4">// Count the total number of rows in the books table</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">totalNumberOfBooks</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">countRows</span><span class="hl-1">({})</span><br/><br/><span class="hl-4">// Count the number of books where the cover_color field has the value is &quot;Red&quot;</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">numberOfRedBooks</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">countRows</span><span class="hl-1">({</span><span class="hl-0">cover_color:</span><span class="hl-1"> </span><span class="hl-3">&quot;Red&quot;</span><span class="hl-1">})</span><br/><br/><span class="hl-4">// Count number of books with more than 500 pages</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">numberOfLongBooks</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">countRows</span><span class="hl-1">({</span><span class="hl-0">pages:</span><span class="hl-1"> {</span><span class="hl-0">gt:</span><span class="hl-1"> </span><span class="hl-5">500</span><span class="hl-1">}})</span>
176
177
  </code><button>Copy</button></pre>
177
178
 
178
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1305">packages/saltcorn-data/models/table.ts:1305</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="delete"><span>delete</span><a href="#delete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="delete-1"><span class="tsd-kind-call-signature">delete</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">only_forget</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#delete-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Drop current table</p>
179
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1321">packages/saltcorn-data/models/table.ts:1321</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="delete"><span>delete</span><a href="#delete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="delete-1"><span class="tsd-kind-call-signature">delete</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">only_forget</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#delete-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Drop current table</p>
179
180
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">only_forget</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>boolean - if true that only</p>
180
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L836">packages/saltcorn-data/models/table.ts:836</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="deleterows"><span>delete<wbr/>Rows</span><a href="#deleterows" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="deleterows-1"><span class="tsd-kind-call-signature">deleteRows</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">noTrigger</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#deleterows-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Delete rows from table. The first argument is a where expression indicating the conditions for the rows to be deleted</p>
181
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L834">packages/saltcorn-data/models/table.ts:834</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="delete_url"><span>delete_<wbr/>url</span><a href="#delete_url" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="delete_url-1"><span class="tsd-kind-call-signature">delete_url</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">row</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">moreQuery</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#delete_url-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">row</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">moreQuery</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1903">packages/saltcorn-data/models/table.ts:1903</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="deleterows"><span>delete<wbr/>Rows</span><a href="#deleterows" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="deleterows-1"><span class="tsd-kind-call-signature">deleteRows</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">noTrigger</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#deleterows-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Delete rows from table. The first argument is a where expression indicating the conditions for the rows to be deleted</p>
181
182
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">where</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span><div class="tsd-comment tsd-typography"><p>condition</p>
182
183
  </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span><div class="tsd-comment tsd-typography"><p>optional user, if null then no authorization will be checked</p>
183
- </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">noTrigger</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-3">Example<a href="#example-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-4">// delete all books where author = &quot;Friedrich Nietzsche&quot;</span><br/><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">Table</span><span class="hl-1">.</span><span class="hl-2">findOne</span><span class="hl-1">({</span><span class="hl-0">name:</span><span class="hl-1"> </span><span class="hl-3">&quot;books&quot;</span><span class="hl-1">}).</span><span class="hl-2">deleteRows</span><span class="hl-1">({</span><span class="hl-0">author:</span><span class="hl-1"> </span><span class="hl-3">&quot;Friedrich Nietzsche&quot;</span><span class="hl-1">})</span>
184
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">noTrigger</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">resultCollector</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-3">Example<a href="#example-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-4">// delete all books where author = &quot;Friedrich Nietzsche&quot;</span><br/><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">Table</span><span class="hl-1">.</span><span class="hl-2">findOne</span><span class="hl-1">({</span><span class="hl-0">name:</span><span class="hl-1"> </span><span class="hl-3">&quot;books&quot;</span><span class="hl-1">}).</span><span class="hl-2">deleteRows</span><span class="hl-1">({</span><span class="hl-0">author:</span><span class="hl-1"> </span><span class="hl-3">&quot;Friedrich Nietzsche&quot;</span><span class="hl-1">})</span>
184
185
  </code><button>Copy</button></pre>
185
186
 
186
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L986">packages/saltcorn-data/models/table.ts:986</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="distinctvalues"><span>distinct<wbr/>Values</span><a href="#distinctvalues" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="distinctvalues-1"><span class="tsd-kind-call-signature">distinctValues</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fieldnm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">whereObj</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#distinctvalues-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Return distinct Values for column in table
187
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L992">packages/saltcorn-data/models/table.ts:992</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="distinctvalues"><span>distinct<wbr/>Values</span><a href="#distinctvalues" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="distinctvalues-1"><span class="tsd-kind-call-signature">distinctValues</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fieldnm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">whereObj</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#distinctvalues-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Return distinct Values for column in table
187
188
  ????</p>
188
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">fieldnm</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">whereObj</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1315">packages/saltcorn-data/models/table.ts:1315</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dump_history_to_json"><span>dump_<wbr/>history_<wbr/>to_<wbr/>json</span><a href="#dump_history_to_json" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="dump_history_to_json-1"><span class="tsd-kind-call-signature">dump_history_to_json</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#dump_history_to_json-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2977">packages/saltcorn-data/models/table.ts:2977</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dump_to_json"><span>dump_<wbr/>to_<wbr/>json</span><a href="#dump_to_json" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="dump_to_json-1"><span class="tsd-kind-call-signature">dump_to_json</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#dump_to_json-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2969">packages/saltcorn-data/models/table.ts:2969</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="enable_fkey_constraints"><span>enable_<wbr/>fkey_<wbr/>constraints</span><a href="#enable_fkey_constraints" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="enable_fkey_constraints-1"><span class="tsd-kind-call-signature">enable_fkey_constraints</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#enable_fkey_constraints-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Enable constraints</p>
189
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2794">packages/saltcorn-data/models/table.ts:2794</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="field_options"><span>field_<wbr/>options</span><a href="#field_options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="field_options-1"><span class="tsd-kind-call-signature">field_options</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">nrecurse</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">fieldWhere</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">f</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">prefix</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#field_options-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nrecurse</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span></li><li><span><span class="tsd-kind-parameter">fieldWhere</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">f</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = ...</span></span></li><li><span><span class="tsd-kind-parameter">prefix</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;&quot;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3623">packages/saltcorn-data/models/table.ts:3623</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_child_relations"><span>get_<wbr/>child_<wbr/>relations</span><a href="#get_child_relations" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_child_relations-1"><span class="tsd-kind-call-signature">get_child_relations</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">allow_join_aggregations</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.ChildRelations.html" class="tsd-signature-type tsd-kind-type-alias">ChildRelations</a><span class="tsd-signature-symbol">&gt;</span><a href="#get_child_relations-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get child relations for table</p>
190
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">allow_join_aggregations</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.ChildRelations.html" class="tsd-signature-type tsd-kind-type-alias">ChildRelations</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3653">packages/saltcorn-data/models/table.ts:3653</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_history"><span>get_<wbr/>history</span><a href="#get_history" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_history-1"><span class="tsd-kind-call-signature">get_history</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_history-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get table history data</p>
191
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2782">packages/saltcorn-data/models/table.ts:2782</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_join_field_options"><span>get_<wbr/>join_<wbr/>field_<wbr/>options</span><a href="#get_join_field_options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_join_field_options-1"><span class="tsd-kind-call-signature">get_join_field_options</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">allow_double</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">allow_triple</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.base_types.JoinFieldOption.html" class="tsd-signature-type tsd-kind-type-alias">JoinFieldOption</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_join_field_options-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get join-field-options joined from a field in this table</p>
192
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">allow_double</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">allow_triple</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.base_types.JoinFieldOption.html" class="tsd-signature-type tsd-kind-type-alias">JoinFieldOption</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3426">packages/saltcorn-data/models/table.ts:3426</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_models"><span>get_<wbr/>models</span><a href="#get_models" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_models-1"><span class="tsd-kind-call-signature">get_models</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_models-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get Models
189
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">fieldnm</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">whereObj</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1331">packages/saltcorn-data/models/table.ts:1331</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dump_history_to_json"><span>dump_<wbr/>history_<wbr/>to_<wbr/>json</span><a href="#dump_history_to_json" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="dump_history_to_json-1"><span class="tsd-kind-call-signature">dump_history_to_json</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#dump_history_to_json-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3075">packages/saltcorn-data/models/table.ts:3075</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dump_to_json"><span>dump_<wbr/>to_<wbr/>json</span><a href="#dump_to_json" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="dump_to_json-1"><span class="tsd-kind-call-signature">dump_to_json</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#dump_to_json-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3067">packages/saltcorn-data/models/table.ts:3067</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="enable_fkey_constraints"><span>enable_<wbr/>fkey_<wbr/>constraints</span><a href="#enable_fkey_constraints" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="enable_fkey_constraints-1"><span class="tsd-kind-call-signature">enable_fkey_constraints</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#enable_fkey_constraints-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Enable constraints</p>
190
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2893">packages/saltcorn-data/models/table.ts:2893</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="field_options"><span>field_<wbr/>options</span><a href="#field_options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="field_options-1"><span class="tsd-kind-call-signature">field_options</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">nrecurse</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">fieldWhere</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">f</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">prefix</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#field_options-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nrecurse</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span></li><li><span><span class="tsd-kind-parameter">fieldWhere</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">f</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = ...</span></span></li><li><span><span class="tsd-kind-parameter">prefix</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;&quot;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3721">packages/saltcorn-data/models/table.ts:3721</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_child_relations"><span>get_<wbr/>child_<wbr/>relations</span><a href="#get_child_relations" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_child_relations-1"><span class="tsd-kind-call-signature">get_child_relations</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">allow_join_aggregations</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.ChildRelations.html" class="tsd-signature-type tsd-kind-type-alias">ChildRelations</a><span class="tsd-signature-symbol">&gt;</span><a href="#get_child_relations-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get child relations for table</p>
191
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">allow_join_aggregations</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.ChildRelations.html" class="tsd-signature-type tsd-kind-type-alias">ChildRelations</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3751">packages/saltcorn-data/models/table.ts:3751</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_history"><span>get_<wbr/>history</span><a href="#get_history" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_history-1"><span class="tsd-kind-call-signature">get_history</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_history-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get table history data</p>
192
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2881">packages/saltcorn-data/models/table.ts:2881</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_join_field_options"><span>get_<wbr/>join_<wbr/>field_<wbr/>options</span><a href="#get_join_field_options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_join_field_options-1"><span class="tsd-kind-call-signature">get_join_field_options</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">allow_double</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">allow_triple</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.base_types.JoinFieldOption.html" class="tsd-signature-type tsd-kind-type-alias">JoinFieldOption</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_join_field_options-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get join-field-options joined from a field in this table</p>
193
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">allow_double</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">allow_triple</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.base_types.JoinFieldOption.html" class="tsd-signature-type tsd-kind-type-alias">JoinFieldOption</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3524">packages/saltcorn-data/models/table.ts:3524</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_models"><span>get_<wbr/>models</span><a href="#get_models" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_models-1"><span class="tsd-kind-call-signature">get_models</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_models-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get Models
193
194
  tbd why this function in this file - needs to models</p>
194
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">where</span>: <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L483">packages/saltcorn-data/models/table.ts:483</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_parent_relations"><span>get_<wbr/>parent_<wbr/>relations</span><a href="#get_parent_relations" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_parent_relations-1"><span class="tsd-kind-call-signature">get_parent_relations</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">allow_double</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">allow_triple</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.ParentRelations.html" class="tsd-signature-type tsd-kind-type-alias">ParentRelations</a><span class="tsd-signature-symbol">&gt;</span><a href="#get_parent_relations-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get parent relations for table</p>
195
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">allow_double</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">allow_triple</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.ParentRelations.html" class="tsd-signature-type tsd-kind-type-alias">ParentRelations</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3543">packages/saltcorn-data/models/table.ts:3543</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_relation_data"><span>get_<wbr/>relation_<wbr/>data</span><a href="#get_relation_data" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_relation_data-1"><span class="tsd-kind-call-signature">get_relation_data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">unique</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.RelationData.html" class="tsd-signature-type tsd-kind-type-alias">RelationData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_relation_data-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get relation-data joined from a field of another table</p>
196
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">unique</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.RelationData.html" class="tsd-signature-type tsd-kind-type-alias">RelationData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3521">packages/saltcorn-data/models/table.ts:3521</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_relation_options"><span>get_<wbr/>relation_<wbr/>options</span><a href="#get_relation_options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_relation_options-1"><span class="tsd-kind-call-signature">get_relation_options</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.base_types.RelationOption.html" class="tsd-signature-type tsd-kind-type-alias">RelationOption</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_relation_options-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get relation-options joined from a field of another table</p>
197
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.base_types.RelationOption.html" class="tsd-signature-type tsd-kind-type-alias">RelationOption</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3502">packages/saltcorn-data/models/table.ts:3502</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getfield"><span>get<wbr/>Field</span><a href="#getfield" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getfield-1"><span class="tsd-kind-call-signature">getField</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><a href="#getfield-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get a field, possibly by relation</p>
198
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2431">packages/saltcorn-data/models/table.ts:2431</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getfields"><span>get<wbr/>Fields</span><a href="#getfields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getfields-1"><span class="tsd-kind-call-signature">getFields</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span><a href="#getfields-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get Fields list for table</p>
199
- </div><h4 class="tsd-returns-title">Returns <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2415">packages/saltcorn-data/models/table.ts:2415</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getforeignkeys"><span>get<wbr/>Foreign<wbr/>Keys</span><a href="#getforeignkeys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getforeignkeys-1"><span class="tsd-kind-call-signature">getForeignKeys</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span><a href="#getforeignkeys-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get foreign keys, without the 'File' type</p>
200
- </div><h4 class="tsd-returns-title">Returns <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span></h4><p>array of FK Fields</p>
201
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2423">packages/saltcorn-data/models/table.ts:2423</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getforeigntables"><span>get<wbr/>Foreign<wbr/>Tables</span><a href="#getforeigntables" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getforeigntables-1"><span class="tsd-kind-call-signature">getForeignTables</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html" class="tsd-signature-type tsd-kind-interface">AbstractTable</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#getforeigntables-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html" class="tsd-signature-type tsd-kind-interface">AbstractTable</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#getforeigntables">getForeignTables</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L4077">packages/saltcorn-data/models/table.ts:4077</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getformulaexamples"><span>get<wbr/>Formula<wbr/>Examples</span><a href="#getformulaexamples" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getformulaexamples-1"><span class="tsd-kind-call-signature">getFormulaExamples</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">typename</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><a href="#getformulaexamples-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">typename</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L4090">packages/saltcorn-data/models/table.ts:4090</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getjoinedquery"><span>get<wbr/>Joined<wbr/>Query</span><a href="#getjoinedquery" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getjoinedquery-1"><span class="tsd-kind-call-signature">getJoinedQuery</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.JoinOptions.html" class="tsd-signature-type tsd-kind-type-alias">JoinOptions</a><span class="tsd-signature-symbol">&gt;</span> <span class="tsd-signature-symbol">&amp;</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">notAuthorized</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">sql</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">values</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Value.html" class="tsd-signature-type tsd-kind-type-alias">Value</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><a href="#getjoinedquery-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.JoinOptions.html" class="tsd-signature-type tsd-kind-type-alias">JoinOptions</a><span class="tsd-signature-symbol">&gt;</span> <span class="tsd-signature-symbol">&amp;</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">notAuthorized</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">sql</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">values</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Value.html" class="tsd-signature-type tsd-kind-type-alias">Value</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3747">packages/saltcorn-data/models/table.ts:3747</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getjoinedrow"><span>get<wbr/>Joined<wbr/>Row</span><a href="#getjoinedrow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getjoinedrow-1"><span class="tsd-kind-call-signature">getJoinedRow</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span><a href="#getjoinedrow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3922">packages/saltcorn-data/models/table.ts:3922</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getjoinedrows"><span>get<wbr/>Joined<wbr/>Rows</span><a href="#getjoinedrows" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getjoinedrows-1"><span class="tsd-kind-call-signature">getJoinedRows</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#getjoinedrows-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get rows along with joined and aggregated fields. The argument to <code>getJoinedRows</code> is an object
195
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">where</span>: <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L482">packages/saltcorn-data/models/table.ts:482</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_parent_relations"><span>get_<wbr/>parent_<wbr/>relations</span><a href="#get_parent_relations" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_parent_relations-1"><span class="tsd-kind-call-signature">get_parent_relations</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">allow_double</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">allow_triple</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.ParentRelations.html" class="tsd-signature-type tsd-kind-type-alias">ParentRelations</a><span class="tsd-signature-symbol">&gt;</span><a href="#get_parent_relations-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get parent relations for table</p>
196
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">allow_double</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">allow_triple</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.ParentRelations.html" class="tsd-signature-type tsd-kind-type-alias">ParentRelations</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3641">packages/saltcorn-data/models/table.ts:3641</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_relation_data"><span>get_<wbr/>relation_<wbr/>data</span><a href="#get_relation_data" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_relation_data-1"><span class="tsd-kind-call-signature">get_relation_data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">unique</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.RelationData.html" class="tsd-signature-type tsd-kind-type-alias">RelationData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_relation_data-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get relation-data joined from a field of another table</p>
197
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">unique</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_data.models_table.RelationData.html" class="tsd-signature-type tsd-kind-type-alias">RelationData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3619">packages/saltcorn-data/models/table.ts:3619</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_relation_options"><span>get_<wbr/>relation_<wbr/>options</span><a href="#get_relation_options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_relation_options-1"><span class="tsd-kind-call-signature">get_relation_options</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.base_types.RelationOption.html" class="tsd-signature-type tsd-kind-type-alias">RelationOption</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_relation_options-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get relation-options joined from a field of another table</p>
198
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.base_types.RelationOption.html" class="tsd-signature-type tsd-kind-type-alias">RelationOption</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3600">packages/saltcorn-data/models/table.ts:3600</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getfield"><span>get<wbr/>Field</span><a href="#getfield" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getfield-1"><span class="tsd-kind-call-signature">getField</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a><a href="#getfield-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get a field, possibly by relation</p>
199
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2504">packages/saltcorn-data/models/table.ts:2504</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getfields"><span>get<wbr/>Fields</span><a href="#getfields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getfields-1"><span class="tsd-kind-call-signature">getFields</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a><span class="tsd-signature-symbol">[]</span><a href="#getfields-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get Fields list for table</p>
200
+ </div><h4 class="tsd-returns-title">Returns <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2488">packages/saltcorn-data/models/table.ts:2488</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getforeignkeys"><span>get<wbr/>Foreign<wbr/>Keys</span><a href="#getforeignkeys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getforeignkeys-1"><span class="tsd-kind-call-signature">getForeignKeys</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a><span class="tsd-signature-symbol">[]</span><a href="#getforeignkeys-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get foreign keys, without the 'File' type</p>
201
+ </div><h4 class="tsd-returns-title">Returns <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a><span class="tsd-signature-symbol">[]</span></h4><p>array of FK Fields</p>
202
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2496">packages/saltcorn-data/models/table.ts:2496</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getforeigntables"><span>get<wbr/>Foreign<wbr/>Tables</span><a href="#getforeigntables" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getforeigntables-1"><span class="tsd-kind-call-signature">getForeignTables</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html" class="tsd-signature-type tsd-kind-interface">AbstractTable</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#getforeigntables-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html" class="tsd-signature-type tsd-kind-interface">AbstractTable</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#getforeigntables">getForeignTables</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L4175">packages/saltcorn-data/models/table.ts:4175</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getformulaexamples"><span>get<wbr/>Formula<wbr/>Examples</span><a href="#getformulaexamples" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getformulaexamples-1"><span class="tsd-kind-call-signature">getFormulaExamples</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">typename</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><a href="#getformulaexamples-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">typename</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L4188">packages/saltcorn-data/models/table.ts:4188</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getjoinedquery"><span>get<wbr/>Joined<wbr/>Query</span><a href="#getjoinedquery" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getjoinedquery-1"><span class="tsd-kind-call-signature">getJoinedQuery</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.JoinOptions.html" class="tsd-signature-type tsd-kind-type-alias">JoinOptions</a><span class="tsd-signature-symbol">&gt;</span> <span class="tsd-signature-symbol">&amp;</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">notAuthorized</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">sql</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">values</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Value.html" class="tsd-signature-type tsd-kind-type-alias">Value</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><a href="#getjoinedquery-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.JoinOptions.html" class="tsd-signature-type tsd-kind-type-alias">JoinOptions</a><span class="tsd-signature-symbol">&gt;</span> <span class="tsd-signature-symbol">&amp;</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">notAuthorized</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">sql</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">values</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Value.html" class="tsd-signature-type tsd-kind-type-alias">Value</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3845">packages/saltcorn-data/models/table.ts:3845</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getjoinedrow"><span>get<wbr/>Joined<wbr/>Row</span><a href="#getjoinedrow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getjoinedrow-1"><span class="tsd-kind-call-signature">getJoinedRow</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span><a href="#getjoinedrow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L4020">packages/saltcorn-data/models/table.ts:4020</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getjoinedrows"><span>get<wbr/>Joined<wbr/>Rows</span><a href="#getjoinedrows" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getjoinedrows-1"><span class="tsd-kind-call-signature">getJoinedRows</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#getjoinedrows-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get rows along with joined and aggregated fields. The argument to <code>getJoinedRows</code> is an object
202
203
  with several different possible fields, all of which are optional</p>
203
204
  <ul>
204
205
  <li><code>where</code>: A Where expression indicating the criterion to match</li>
@@ -212,7 +213,7 @@ with several different possible fields, all of which are optional</p>
212
213
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-4">Example<a href="#example-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">patients</span><span class="hl-1"> = </span><span class="hl-0">Table</span><span class="hl-1">.</span><span class="hl-2">findOne</span><span class="hl-1">({ </span><span class="hl-0">name:</span><span class="hl-1"> </span><span class="hl-3">&quot;patients&quot;</span><span class="hl-1"> });</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">patients_rows</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">patients</span><span class="hl-1">.</span><span class="hl-2">getJoinedRows</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-0">where:</span><span class="hl-1"> { </span><span class="hl-0">age:</span><span class="hl-1"> { </span><span class="hl-0">gt:</span><span class="hl-1"> </span><span class="hl-5">65</span><span class="hl-1"> } },</span><br/><span class="hl-1"> </span><span class="hl-0">orderBy:</span><span class="hl-1"> </span><span class="hl-3">&quot;id&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">aggregations:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">avg_temp:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">table:</span><span class="hl-1"> </span><span class="hl-3">&quot;readings&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">ref:</span><span class="hl-1"> </span><span class="hl-3">&quot;patient_id&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">field:</span><span class="hl-1"> </span><span class="hl-3">&quot;temperature&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">aggregate:</span><span class="hl-1"> </span><span class="hl-3">&quot;avg&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-0">joinFields:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">pages:</span><span class="hl-1"> { </span><span class="hl-0">ref:</span><span class="hl-1"> </span><span class="hl-3">&quot;favbook&quot;</span><span class="hl-1">, </span><span class="hl-0">target:</span><span class="hl-1"> </span><span class="hl-3">&quot;pages&quot;</span><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-0">author:</span><span class="hl-1"> { </span><span class="hl-0">ref:</span><span class="hl-1"> </span><span class="hl-3">&quot;favbook&quot;</span><span class="hl-1">, </span><span class="hl-0">target:</span><span class="hl-1"> </span><span class="hl-3">&quot;author&quot;</span><span class="hl-1"> },</span><br/><span class="hl-1"> },</span><br/><span class="hl-1">});</span>
213
214
  </code><button>Copy</button></pre>
214
215
 
215
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3965">packages/saltcorn-data/models/table.ts:3965</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getrow"><span>get<wbr/>Row</span><a href="#getrow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getrow-1"><span class="tsd-kind-call-signature">getRow</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">selopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span><a href="#getrow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get one row from the table in the database. The matching row will be returned in a promise - use await to read the value.
216
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L4063">packages/saltcorn-data/models/table.ts:4063</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getrow"><span>get<wbr/>Row</span><a href="#getrow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getrow-1"><span class="tsd-kind-call-signature">getRow</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">selopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span><a href="#getrow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get one row from the table in the database. The matching row will be returned in a promise - use await to read the value.
216
217
  If no matching rule can be found, null will be returned. If more than one row matches, the first found row
217
218
  will be returned.</p>
218
219
  <p>The first argument to get row is a where-expression With the conditions the returned row should match.</p>
@@ -226,7 +227,7 @@ Where expression that uniquely determines the row to return, if it exisits.</p>
226
227
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">where</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol"> = {}</span></span></li><li><span><span class="tsd-kind-parameter">selopts</span>: <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-5">Example<a href="#example-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">bookTable</span><span class="hl-1"> = </span><span class="hl-0">Table</span><span class="hl-1">.</span><span class="hl-2">findOne</span><span class="hl-1">({</span><span class="hl-0">name:</span><span class="hl-1"> </span><span class="hl-3">&quot;books&quot;</span><span class="hl-1">})</span><br/><br/><br/><span class="hl-4">// get the row in the book table with id = 5</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">myBook</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">getRow</span><span class="hl-1">({</span><span class="hl-0">id:</span><span class="hl-1"> </span><span class="hl-5">5</span><span class="hl-1">})</span><br/><br/><span class="hl-4">// get the row for the last book published by Leo Tolstoy</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">myBook</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">getRow</span><span class="hl-1">({</span><span class="hl-0">author:</span><span class="hl-1"> </span><span class="hl-3">&quot;Leo Tolstoy&quot;</span><span class="hl-1">}, {</span><span class="hl-0">orderBy:</span><span class="hl-1"> </span><span class="hl-3">&quot;published&quot;</span><span class="hl-1">, </span><span class="hl-0">orderDesc:</span><span class="hl-1"> </span><span class="hl-6">true</span><span class="hl-1">})</span>
227
228
  </code><button>Copy</button></pre>
228
229
 
229
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1168">packages/saltcorn-data/models/table.ts:1168</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getrows"><span>get<wbr/>Rows</span><a href="#getrows" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getrows-1"><span class="tsd-kind-call-signature">getRows</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">selopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#getrows-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get all matching rows from the table in the database.</p>
230
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1184">packages/saltcorn-data/models/table.ts:1184</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getrows"><span>get<wbr/>Rows</span><a href="#getrows" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getrows-1"><span class="tsd-kind-call-signature">getRows</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">selopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#getrows-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get all matching rows from the table in the database.</p>
230
231
  <p>The arguments are the same as for getRow. The first argument is where-expression with the conditions to match,
231
232
  and the second argument is an optional object and allows you to set ordering and limit options. Keywords that
232
233
  can be used in the second argument are orderBy, orderDesc, limit and offset.</p>
@@ -235,9 +236,9 @@ can be used in the second argument are orderBy, orderDesc, limit and offset.</p>
235
236
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">where</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol"> = {}</span></span></li><li><span><span class="tsd-kind-parameter">selopts</span>: <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-6">Example<a href="#example-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">bookTable</span><span class="hl-1"> = </span><span class="hl-0">Table</span><span class="hl-1">.</span><span class="hl-2">findOne</span><span class="hl-1">({</span><span class="hl-0">name:</span><span class="hl-1"> </span><span class="hl-3">&quot;books&quot;</span><span class="hl-1">})</span><br/><br/><span class="hl-4">// get the rows in the book table with author = &quot;Henrik Pontoppidan&quot;</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">myBooks</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">getRows</span><span class="hl-1">({</span><span class="hl-0">author:</span><span class="hl-1"> </span><span class="hl-3">&quot;Henrik Pontoppidan&quot;</span><span class="hl-1">})</span><br/><br/><span class="hl-4">// get the 3 most recent books written by &quot;Henrik Pontoppidan&quot; with more than 500 pages</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">myBooks</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">getRows</span><span class="hl-1">({</span><span class="hl-0">author:</span><span class="hl-1"> </span><span class="hl-3">&quot;Henrik Pontoppidan&quot;</span><span class="hl-1">, </span><span class="hl-0">pages:</span><span class="hl-1"> {</span><span class="hl-0">gt:</span><span class="hl-1"> </span><span class="hl-5">500</span><span class="hl-1">}}, {</span><span class="hl-0">orderBy:</span><span class="hl-1"> </span><span class="hl-3">&quot;published&quot;</span><span class="hl-1">, </span><span class="hl-0">orderDesc:</span><span class="hl-1"> </span><span class="hl-6">true</span><span class="hl-1">})</span>
236
237
  </code><button>Copy</button></pre>
237
238
 
238
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1226">packages/saltcorn-data/models/table.ts:1226</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gettags"><span>get<wbr/>Tags</span><a href="#gettags" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="gettags-1"><span class="tsd-kind-call-signature">getTags</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_saltcorn_types.model-abstracts_abstract_tag.AbstractTag.html" class="tsd-signature-type tsd-kind-interface">AbstractTag</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#gettags-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_saltcorn_types.model-abstracts_abstract_tag.AbstractTag.html" class="tsd-signature-type tsd-kind-interface">AbstractTag</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#gettags">getTags</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L4069">packages/saltcorn-data/models/table.ts:4069</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="import_csv_file"><span>import_<wbr/>csv_<wbr/>file</span><a href="#import_csv_file" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="import_csv_file-1"><span class="tsd-kind-call-signature">import_csv_file</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">method</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;Auto&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;copy&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;row-by-row&quot;</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">no_table_write</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">no_transaction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">recalc_stored</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">skip_first_data_row</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#import_csv_file-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Import CSV file to existing table</p>
239
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-kind-property">method</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;Auto&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;copy&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;row-by-row&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">no_table_write</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">no_transaction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">recalc_stored</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">skip_first_data_row</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2995">packages/saltcorn-data/models/table.ts:2995</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="import_json_file"><span>import_<wbr/>json_<wbr/>file</span><a href="#import_json_file" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="import_json_file-1"><span class="tsd-kind-call-signature">import_json_file</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">skip_first_data_row</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#import_json_file-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Import JSON table description</p>
240
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">skip_first_data_row</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3363">packages/saltcorn-data/models/table.ts:3363</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="import_json_history_file"><span>import_<wbr/>json_<wbr/>history_<wbr/>file</span><a href="#import_json_history_file" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="import_json_history_file-1"><span class="tsd-kind-call-signature">import_json_history_file</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#import_json_history_file-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3351">packages/saltcorn-data/models/table.ts:3351</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="insert_history_row"><span>insert_<wbr/>history_<wbr/>row</span><a href="#insert_history_row" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="insert_history_row-1"><span class="tsd-kind-call-signature">insert_history_row</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v0</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">retry</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#insert_history_row-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v0</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li><li><span><span class="tsd-kind-parameter">retry</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1717">packages/saltcorn-data/models/table.ts:1717</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="insertrow"><span>insert<wbr/>Row</span><a href="#insertrow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="insertrow-1"><span class="tsd-kind-call-signature">insertRow</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">v_in0</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">noTrigger</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">syncTimestamp</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><a href="#insertrow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Insert row into the table. By passing in the user as
239
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1242">packages/saltcorn-data/models/table.ts:1242</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gettags"><span>get<wbr/>Tags</span><a href="#gettags" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="gettags-1"><span class="tsd-kind-call-signature">getTags</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_saltcorn_types.model-abstracts_abstract_tag.AbstractTag.html" class="tsd-signature-type tsd-kind-interface">AbstractTag</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#gettags-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_saltcorn_types.model-abstracts_abstract_tag.AbstractTag.html" class="tsd-signature-type tsd-kind-interface">AbstractTag</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html">AbstractTable</a>.<a href="../interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html#gettags">getTags</a></p><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L4167">packages/saltcorn-data/models/table.ts:4167</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="import_csv_file"><span>import_<wbr/>csv_<wbr/>file</span><a href="#import_csv_file" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="import_csv_file-1"><span class="tsd-kind-call-signature">import_csv_file</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">method</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;Auto&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;copy&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;row-by-row&quot;</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">no_table_write</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">no_transaction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">recalc_stored</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">skip_first_data_row</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#import_csv_file-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Import CSV file to existing table</p>
240
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-kind-property">method</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;Auto&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;copy&quot;</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">&quot;row-by-row&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">no_table_write</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">no_transaction</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">recalc_stored</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">skip_first_data_row</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3093">packages/saltcorn-data/models/table.ts:3093</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="import_json_file"><span>import_<wbr/>json_<wbr/>file</span><a href="#import_json_file" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="import_json_file-1"><span class="tsd-kind-call-signature">import_json_file</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">skip_first_data_row</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#import_json_file-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Import JSON table description</p>
241
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">skip_first_data_row</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3461">packages/saltcorn-data/models/table.ts:3461</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="import_json_history_file"><span>import_<wbr/>json_<wbr/>history_<wbr/>file</span><a href="#import_json_history_file" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="import_json_history_file-1"><span class="tsd-kind-call-signature">import_json_history_file</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#import_json_history_file-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3449">packages/saltcorn-data/models/table.ts:3449</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="insert_history_row"><span>insert_<wbr/>history_<wbr/>row</span><a href="#insert_history_row" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="insert_history_row-1"><span class="tsd-kind-call-signature">insert_history_row</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v0</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">retry</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#insert_history_row-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v0</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li><li><span><span class="tsd-kind-parameter">retry</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1741">packages/saltcorn-data/models/table.ts:1741</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="insertrow"><span>insert<wbr/>Row</span><a href="#insertrow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="insertrow-1"><span class="tsd-kind-call-signature">insertRow</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">v_in0</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">noTrigger</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">syncTimestamp</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><a href="#insertrow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Insert row into the table. By passing in the user as
241
242
  the second argument, it will check write rights. If a user object is not
242
243
  supplied, the insert goes ahead without checking write permissions.</p>
243
244
  <p>Returns the primary key value of the inserted row.</p>
@@ -247,48 +248,49 @@ with a function that can return an error message, use <a href="#tryinsertrow" cl
247
248
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v_in0</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">resultCollector</span>: <span class="tsd-signature-type">object</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">noTrigger</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">syncTimestamp</span>: <span class="tsd-signature-type">Date</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-7">Example<a href="#example-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">Table</span><span class="hl-1">.</span><span class="hl-2">findOne</span><span class="hl-1">(</span><span class="hl-3">&quot;People&quot;</span><span class="hl-1">).</span><span class="hl-2">insertRow</span><span class="hl-1">({ </span><span class="hl-0">name:</span><span class="hl-1"> </span><span class="hl-3">&quot;Jim&quot;</span><span class="hl-1">, </span><span class="hl-0">age:</span><span class="hl-1"> </span><span class="hl-5">35</span><span class="hl-1"> })</span>
248
249
  </code><button>Copy</button></pre>
249
250
 
250
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1958">packages/saltcorn-data/models/table.ts:1958</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="is_owner"><span>is_<wbr/>owner</span><a href="#is_owner" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="is_owner-1"><span class="tsd-kind-call-signature">is_owner</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">row</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#is_owner-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check if user is owner of row</p>
251
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2021">packages/saltcorn-data/models/table.ts:2021</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="is_owner"><span>is_<wbr/>owner</span><a href="#is_owner" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="is_owner-1"><span class="tsd-kind-call-signature">is_owner</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">row</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#is_owner-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check if user is owner of row</p>
251
252
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">user</span>: <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span><div class="tsd-comment tsd-typography"><p>user</p>
252
253
  </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">row</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span><div class="tsd-comment tsd-typography"><p>table row</p>
253
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L517">packages/saltcorn-data/models/table.ts:517</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="latestsyncinfo"><span>latest<wbr/>Sync<wbr/>Info</span><a href="#latestsyncinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="latestsyncinfo-1"><span class="tsd-kind-call-signature">latestSyncInfo</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><a href="#latestsyncinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1739">packages/saltcorn-data/models/table.ts:1739</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="latestsyncinfos"><span>latest<wbr/>Sync<wbr/>Infos</span><a href="#latestsyncinfos" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="latestsyncinfos-1"><span class="tsd-kind-call-signature">latestSyncInfos</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ids</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><a href="#latestsyncinfos-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ids</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1744">packages/saltcorn-data/models/table.ts:1744</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="move_include_fts_to_search_context"><span>move_<wbr/>include_<wbr/>fts_<wbr/>to_<wbr/>search_<wbr/>context</span><a href="#move_include_fts_to_search_context" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="move_include_fts_to_search_context-1"><span class="tsd-kind-call-signature">move_include_fts_to_search_context</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#move_include_fts_to_search_context-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L4154">packages/saltcorn-data/models/table.ts:4154</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="normalise_error_message"><span>normalise_<wbr/>error_<wbr/>message</span><a href="#normalise_error_message" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="normalise_error_message-1"><span class="tsd-kind-call-signature">normalise_error_message</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">msg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#normalise_error_message-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">msg</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2367">packages/saltcorn-data/models/table.ts:2367</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="normalise_fkey_values"><span>normalise_<wbr/>fkey_<wbr/>values</span><a href="#normalise_fkey_values" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="normalise_fkey_values-1"><span class="tsd-kind-call-signature">normalise_fkey_values</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v_in</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#normalise_fkey_values-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v_in</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1924">packages/saltcorn-data/models/table.ts:1924</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="owner_fieldname"><span>owner_<wbr/>fieldname</span><a href="#owner_fieldname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="owner_fieldname-1"><span class="tsd-kind-call-signature">owner_fieldname</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><a href="#owner_fieldname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get owner column name</p>
254
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L505">packages/saltcorn-data/models/table.ts:505</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="owner_fieldname_from_fields"><span>owner_<wbr/>fieldname_<wbr/>from_<wbr/>fields</span><a href="#owner_fieldname_from_fields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="owner_fieldname_from_fields-1"><span class="tsd-kind-call-signature">owner_fieldname_from_fields</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fields</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><a href="#owner_fieldname_from_fields-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get owner column name</p>
255
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">fields</span>: <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="_saltcorn_data.models_field.export_.html" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>fields list</p>
254
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L516">packages/saltcorn-data/models/table.ts:516</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="latestsyncinfo"><span>latest<wbr/>Sync<wbr/>Info</span><a href="#latestsyncinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="latestsyncinfo-1"><span class="tsd-kind-call-signature">latestSyncInfo</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span><a href="#latestsyncinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1763">packages/saltcorn-data/models/table.ts:1763</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="latestsyncinfos"><span>latest<wbr/>Sync<wbr/>Infos</span><a href="#latestsyncinfos" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="latestsyncinfos-1"><span class="tsd-kind-call-signature">latestSyncInfos</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ids</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#latestsyncinfos-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ids</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1768">packages/saltcorn-data/models/table.ts:1768</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="move_include_fts_to_search_context"><span>move_<wbr/>include_<wbr/>fts_<wbr/>to_<wbr/>search_<wbr/>context</span><a href="#move_include_fts_to_search_context" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="move_include_fts_to_search_context-1"><span class="tsd-kind-call-signature">move_include_fts_to_search_context</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#move_include_fts_to_search_context-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L4251">packages/saltcorn-data/models/table.ts:4251</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="normalise_error_message"><span>normalise_<wbr/>error_<wbr/>message</span><a href="#normalise_error_message" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="normalise_error_message-1"><span class="tsd-kind-call-signature">normalise_error_message</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">msg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#normalise_error_message-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">msg</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2440">packages/saltcorn-data/models/table.ts:2440</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="normalise_fkey_values"><span>normalise_<wbr/>fkey_<wbr/>values</span><a href="#normalise_fkey_values" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="normalise_fkey_values-1"><span class="tsd-kind-call-signature">normalise_fkey_values</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v_in</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#normalise_fkey_values-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v_in</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1985">packages/saltcorn-data/models/table.ts:1985</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="owner_fieldname"><span>owner_<wbr/>fieldname</span><a href="#owner_fieldname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="owner_fieldname-1"><span class="tsd-kind-call-signature">owner_fieldname</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><a href="#owner_fieldname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get owner column name</p>
255
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L504">packages/saltcorn-data/models/table.ts:504</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="owner_fieldname_from_fields"><span>owner_<wbr/>fieldname_<wbr/>from_<wbr/>fields</span><a href="#owner_fieldname_from_fields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="owner_fieldname_from_fields-1"><span class="tsd-kind-call-signature">owner_fieldname_from_fields</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fields</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><a href="#owner_fieldname_from_fields-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get owner column name</p>
256
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">fields</span>: <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="_saltcorn_data.models_field.Field.html" class="tsd-signature-type tsd-kind-class">Field</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>fields list</p>
256
257
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span></h4><p>null or owner column name</p>
257
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L495">packages/saltcorn-data/models/table.ts:495</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ownership_formula_where"><span>ownership_<wbr/>formula_<wbr/>where</span><a href="#ownership_formula_where" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="ownership_formula_where-1"><span class="tsd-kind-call-signature">ownership_formula_where</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><a href="#ownership_formula_where-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3719">packages/saltcorn-data/models/table.ts:3719</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ownership_options"><span>ownership_<wbr/>options</span><a href="#ownership_options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="ownership_options-1"><span class="tsd-kind-call-signature">ownership_options</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#ownership_options-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get Ownership options
258
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L494">packages/saltcorn-data/models/table.ts:494</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ownership_formula_where"><span>ownership_<wbr/>formula_<wbr/>where</span><a href="#ownership_formula_where" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="ownership_formula_where-1"><span class="tsd-kind-call-signature">ownership_formula_where</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><a href="#ownership_formula_where-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3817">packages/saltcorn-data/models/table.ts:3817</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ownership_options"><span>ownership_<wbr/>options</span><a href="#ownership_options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="ownership_options-1"><span class="tsd-kind-call-signature">ownership_options</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#ownership_options-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>get Ownership options
258
259
  user interface...</p>
259
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L540">packages/saltcorn-data/models/table.ts:540</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="parse_json_fields"><span>parse_<wbr/>json_<wbr/>fields</span><a href="#parse_json_fields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="parse_json_fields-1"><span class="tsd-kind-call-signature">parse_json_fields</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v1</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><a href="#parse_json_fields-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v1</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3338">packages/saltcorn-data/models/table.ts:3338</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="processselectoptions"><span>process<wbr/>Select<wbr/>Options</span><a href="#processselectoptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="processselectoptions-1"><span class="tsd-kind-call-signature">processSelectOptions</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">selopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><a href="#processselectoptions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">selopts</span>: <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1268">packages/saltcorn-data/models/table.ts:1268</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="read_state_strict"><span>read_<wbr/>state_<wbr/>strict</span><a href="#read_state_strict" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="read_state_strict-1"><span class="tsd-kind-call-signature">read_state_strict</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><a href="#read_state_strict-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">state</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2933">packages/saltcorn-data/models/table.ts:2933</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="redo_row_changes"><span>redo_<wbr/>row_<wbr/>changes</span><a href="#redo_row_changes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="redo_row_changes-1"><span class="tsd-kind-call-signature">redo_row_changes</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#redo_row_changes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Redo row changes</p>
260
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2611">packages/saltcorn-data/models/table.ts:2611</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="rename"><span>rename</span><a href="#rename" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="rename-1"><span class="tsd-kind-call-signature">rename</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">new_name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#rename-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Rename table</p>
261
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">new_name</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2706">packages/saltcorn-data/models/table.ts:2706</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="repaircompositeprimary"><span>repair<wbr/>Composite<wbr/>Primary</span><a href="#repaircompositeprimary" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="repaircompositeprimary-1"><span class="tsd-kind-call-signature">repairCompositePrimary</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#repaircompositeprimary-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L4096">packages/saltcorn-data/models/table.ts:4096</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="resetsequence"><span>reset<wbr/>Sequence</span><a href="#resetsequence" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="resetsequence-1"><span class="tsd-kind-call-signature">resetSequence</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#resetsequence-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Reset Sequence</p>
262
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L875">packages/saltcorn-data/models/table.ts:875</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="restore_row_version"><span>restore_<wbr/>row_<wbr/>version</span><a href="#restore_row_version" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="restore_row_version-1"><span class="tsd-kind-call-signature">restore_row_version</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">version</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#restore_row_version-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Restore Row Version</p>
263
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><span class="tsd-kind-parameter">version</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2556">packages/saltcorn-data/models/table.ts:2556</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="slug_options"><span>slug_<wbr/>options</span><a href="#slug_options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="slug_options-1"><span class="tsd-kind-call-signature">slug_options</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">steps</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.base_types.SlugStepType.html" class="tsd-signature-type tsd-kind-type-alias">SlugStepType</a><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#slug_options-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">steps</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.base_types.SlugStepType.html" class="tsd-signature-type tsd-kind-type-alias">SlugStepType</a><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L4021">packages/saltcorn-data/models/table.ts:4021</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="stringify_json_fields"><span>stringify_<wbr/>json_<wbr/>fields</span><a href="#stringify_json_fields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="stringify_json_fields-1"><span class="tsd-kind-call-signature">stringify_json_fields</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v1</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#stringify_json_fields-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v1</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L3329">packages/saltcorn-data/models/table.ts:3329</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="to_provided_table"><span>to_<wbr/>provided_<wbr/>table</span><a href="#to_provided_table" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="to_provided_table-1"><span class="tsd-kind-call-signature">to_provided_table</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><a href="#to_provided_table-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L312">packages/saltcorn-data/models/table.ts:312</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="togglebool"><span>toggle<wbr/>Bool</span><a href="#togglebool" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="togglebool-1"><span class="tsd-kind-call-signature">toggleBool</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">field_name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#togglebool-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>????</p>
264
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><span class="tsd-kind-parameter">field_name</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1841">packages/saltcorn-data/models/table.ts:1841</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tryinsertrow"><span>try<wbr/>Insert<wbr/>Row</span><a href="#tryinsertrow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="tryinsertrow-1"><span class="tsd-kind-call-signature">tryInsertRow</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">error</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">success</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span><a href="#tryinsertrow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Try to Insert row</p>
265
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">resultCollector</span>: <span class="tsd-signature-type">object</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">error</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">success</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2346">packages/saltcorn-data/models/table.ts:2346</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tryupdaterow"><span>try<wbr/>Update<wbr/>Row</span><a href="#tryupdaterow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="tryupdaterow-1"><span class="tsd-kind-call-signature">tryUpdateRow</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#tryupdaterow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Try to Update row</p>
266
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">resultCollector</span>: <span class="tsd-signature-type">object</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1814">packages/saltcorn-data/models/table.ts:1814</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="undo_row_changes"><span>undo_<wbr/>row_<wbr/>changes</span><a href="#undo_row_changes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="undo_row_changes-1"><span class="tsd-kind-call-signature">undo_row_changes</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#undo_row_changes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Undo row chnages</p>
267
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2579">packages/saltcorn-data/models/table.ts:2579</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="update"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="update-1"><span class="tsd-kind-call-signature">update</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">new_table_rec</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#update-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Update Table description in _sc_table
260
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L539">packages/saltcorn-data/models/table.ts:539</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="parse_json_fields"><span>parse_<wbr/>json_<wbr/>fields</span><a href="#parse_json_fields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="parse_json_fields-1"><span class="tsd-kind-call-signature">parse_json_fields</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v1</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><a href="#parse_json_fields-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v1</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3436">packages/saltcorn-data/models/table.ts:3436</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="processselectoptions"><span>process<wbr/>Select<wbr/>Options</span><a href="#processselectoptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="processselectoptions-1"><span class="tsd-kind-call-signature">processSelectOptions</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">selopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><a href="#processselectoptions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">selopts</span>: <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">&amp;</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html" class="tsd-signature-type tsd-kind-interface">ForUserRequest</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1284">packages/saltcorn-data/models/table.ts:1284</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="read_state_strict"><span>read_<wbr/>state_<wbr/>strict</span><a href="#read_state_strict" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="read_state_strict-1"><span class="tsd-kind-call-signature">read_state_strict</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><a href="#read_state_strict-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">state</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3031">packages/saltcorn-data/models/table.ts:3031</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="redo_row_changes"><span>redo_<wbr/>row_<wbr/>changes</span><a href="#redo_row_changes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="redo_row_changes-1"><span class="tsd-kind-call-signature">redo_row_changes</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#redo_row_changes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Redo row changes</p>
261
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2708">packages/saltcorn-data/models/table.ts:2708</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="rename"><span>rename</span><a href="#rename" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="rename-1"><span class="tsd-kind-call-signature">rename</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">new_name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#rename-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Rename table</p>
262
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">new_name</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2803">packages/saltcorn-data/models/table.ts:2803</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="repaircompositeprimary"><span>repair<wbr/>Composite<wbr/>Primary</span><a href="#repaircompositeprimary" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="repaircompositeprimary-1"><span class="tsd-kind-call-signature">repairCompositePrimary</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#repaircompositeprimary-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L4194">packages/saltcorn-data/models/table.ts:4194</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="resetsequence"><span>reset<wbr/>Sequence</span><a href="#resetsequence" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="resetsequence-1"><span class="tsd-kind-call-signature">resetSequence</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#resetsequence-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Reset Sequence</p>
263
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L872">packages/saltcorn-data/models/table.ts:872</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="restore_row_version"><span>restore_<wbr/>row_<wbr/>version</span><a href="#restore_row_version" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="restore_row_version-1"><span class="tsd-kind-call-signature">restore_row_version</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">version</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#restore_row_version-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Restore Row Version</p>
264
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><span class="tsd-kind-parameter">version</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2653">packages/saltcorn-data/models/table.ts:2653</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="slug_options"><span>slug_<wbr/>options</span><a href="#slug_options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="slug_options-1"><span class="tsd-kind-call-signature">slug_options</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">steps</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.base_types.SlugStepType.html" class="tsd-signature-type tsd-kind-type-alias">SlugStepType</a><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#slug_options-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">steps</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.base_types.SlugStepType.html" class="tsd-signature-type tsd-kind-type-alias">SlugStepType</a><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L4119">packages/saltcorn-data/models/table.ts:4119</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="stringify_json_fields"><span>stringify_<wbr/>json_<wbr/>fields</span><a href="#stringify_json_fields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="stringify_json_fields-1"><span class="tsd-kind-call-signature">stringify_json_fields</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v1</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#stringify_json_fields-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v1</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L3427">packages/saltcorn-data/models/table.ts:3427</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="to_provided_table"><span>to_<wbr/>provided_<wbr/>table</span><a href="#to_provided_table" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="to_provided_table-1"><span class="tsd-kind-call-signature">to_provided_table</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><a href="#to_provided_table-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L313">packages/saltcorn-data/models/table.ts:313</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="togglebool"><span>toggle<wbr/>Bool</span><a href="#togglebool" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="togglebool-1"><span class="tsd-kind-call-signature">toggleBool</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">field_name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#togglebool-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>????</p>
265
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><span class="tsd-kind-parameter">field_name</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1894">packages/saltcorn-data/models/table.ts:1894</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tryinsertrow"><span>try<wbr/>Insert<wbr/>Row</span><a href="#tryinsertrow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="tryinsertrow-1"><span class="tsd-kind-call-signature">tryInsertRow</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">error</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">success</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span><a href="#tryinsertrow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Try to Insert row</p>
266
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">resultCollector</span>: <span class="tsd-signature-type">object</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">error</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">success</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2419">packages/saltcorn-data/models/table.ts:2419</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tryupdaterow"><span>try<wbr/>Update<wbr/>Row</span><a href="#tryupdaterow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="tryupdaterow-1"><span class="tsd-kind-call-signature">tryUpdateRow</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">extraArgs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#tryupdaterow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Try to Update row</p>
267
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">resultCollector</span>: <span class="tsd-signature-type">object</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">extraArgs</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1868">packages/saltcorn-data/models/table.ts:1868</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="undo_row_changes"><span>undo_<wbr/>row_<wbr/>changes</span><a href="#undo_row_changes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="undo_row_changes-1"><span class="tsd-kind-call-signature">undo_row_changes</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#undo_row_changes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Undo row chnages</p>
268
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2676">packages/saltcorn-data/models/table.ts:2676</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="update"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="update-1"><span class="tsd-kind-call-signature">update</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">new_table_rec</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">Table</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#update-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Update Table description in _sc_table
268
269
  Also creates / drops history table for table</p>
269
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">new_table_rec</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2743">packages/saltcorn-data/models/table.ts:2743</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="updaterow"><span>update<wbr/>Row</span><a href="#updaterow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="updaterow-1"><span class="tsd-kind-call-signature">updateRow</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">v_in</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">id_in</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">noTrigger</span><span class="tsd-signature-symbol">?:</span><br/>        <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">boolean</span><br/>        <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span><br/>            <span class="tsd-kind-property">additionalTriggerValues</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">autoRecalcIterations</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">noTrigger</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">restore_of_version</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">syncTimestamp</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">restore_of_version</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">syncTimestamp</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">additionalTriggerValues</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">autoRecalcIterations</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#updaterow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Update a single row in the table database.</p>
270
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">new_table_rec</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">Table</a><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2839">packages/saltcorn-data/models/table.ts:2839</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="updaterow"><span>update<wbr/>Row</span><a href="#updaterow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="updaterow-1"><span class="tsd-kind-call-signature">updateRow</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">v_in</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">id_in</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">noTrigger</span><span class="tsd-signature-symbol">?:</span><br/>        <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">boolean</span><br/>        <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span><br/>            <span class="tsd-kind-property">additionalTriggerValues</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">autoRecalcIterations</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">extraArgs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">noTrigger</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">restore_of_version</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">;</span><br/>            <span class="tsd-kind-property">syncTimestamp</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">restore_of_version</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">syncTimestamp</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">additionalTriggerValues</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">autoRecalcIterations</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">extraArgs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#updaterow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Update a single row in the table database.</p>
270
271
  <p>The first two arguments are mandatory. The first is an object with the new values to set in the row.
271
272
  The second argument is the value of the primary key of the row to update. Typically this is the id
272
273
  field of an existing row object</p>
273
274
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">v_in</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span><div class="tsd-comment tsd-typography"><p>columns with values to update</p>
274
- </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">id_in</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">noTrigger</span>: <br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">boolean</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">additionalTriggerValues</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">autoRecalcIterations</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">noTrigger</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">restore_of_version</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">syncTimestamp</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">resultCollector</span>: <span class="tsd-signature-type">object</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">restore_of_version</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">syncTimestamp</span>: <span class="tsd-signature-type">Date</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">additionalTriggerValues</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">autoRecalcIterations</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-8">Example<a href="#example-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">bookTable</span><span class="hl-1"> = </span><span class="hl-0">Table</span><span class="hl-1">.</span><span class="hl-2">findOne</span><span class="hl-1">({</span><span class="hl-0">name:</span><span class="hl-1"> </span><span class="hl-3">&quot;books&quot;</span><span class="hl-1">})</span><br/><br/><span class="hl-4">// get the row in the book table for Moby Dick</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">moby_dick</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">getRow</span><span class="hl-1">({</span><span class="hl-0">title:</span><span class="hl-1"> </span><span class="hl-3">&quot;Moby Dick&quot;</span><span class="hl-1">})</span><br/><br/><span class="hl-4">// Update the read field to true and the rating field to 5</span><br/><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">updateRow</span><span class="hl-1">({</span><span class="hl-0">read:</span><span class="hl-1"> </span><span class="hl-6">true</span><span class="hl-1">, </span><span class="hl-0">rating:</span><span class="hl-1"> </span><span class="hl-5">5</span><span class="hl-1">}, </span><span class="hl-0">moby_dick</span><span class="hl-1">.</span><span class="hl-0">id</span><span class="hl-1">)</span><br/><br/><span class="hl-4">// if you want to update more than one row, you must first retrieve all the rows and</span><br/><span class="hl-4">// then update them individually</span><br/><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">allBooks</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">getRows</span><span class="hl-1">()</span><br/><span class="hl-8">for</span><span class="hl-1">(</span><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">book</span><span class="hl-1"> </span><span class="hl-6">of</span><span class="hl-1"> </span><span class="hl-0">allBooks</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">updateRow</span><span class="hl-1">({</span><span class="hl-0">price:</span><span class="hl-1"> </span><span class="hl-0">book</span><span class="hl-1">.</span><span class="hl-0">price</span><span class="hl-1">*</span><span class="hl-5">0.8</span><span class="hl-1">}, </span><span class="hl-0">book</span><span class="hl-1">.</span><span class="hl-0">id</span><span class="hl-1">)</span><br/><span class="hl-1">}</span>
275
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">id_in</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.PrimaryKeyValue.html" class="tsd-signature-type tsd-kind-type-alias">PrimaryKeyValue</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="../interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html" class="tsd-signature-type tsd-kind-interface">AbstractUser</a></span><div class="tsd-comment tsd-typography"><p>user</p>
276
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">noTrigger</span>: <br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">boolean</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">additionalTriggerValues</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">autoRecalcIterations</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">extraArgs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">noTrigger</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">restore_of_version</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">resultCollector</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">syncTimestamp</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">resultCollector</span>: <span class="tsd-signature-type">object</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">restore_of_version</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">syncTimestamp</span>: <span class="tsd-signature-type">Date</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">additionalTriggerValues</span>: <a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">autoRecalcIterations</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">extraArgs</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link" id="example-8">Example<a href="#example-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">bookTable</span><span class="hl-1"> = </span><span class="hl-0">Table</span><span class="hl-1">.</span><span class="hl-2">findOne</span><span class="hl-1">({</span><span class="hl-0">name:</span><span class="hl-1"> </span><span class="hl-3">&quot;books&quot;</span><span class="hl-1">})</span><br/><br/><span class="hl-4">// get the row in the book table for Moby Dick</span><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">moby_dick</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">getRow</span><span class="hl-1">({</span><span class="hl-0">title:</span><span class="hl-1"> </span><span class="hl-3">&quot;Moby Dick&quot;</span><span class="hl-1">})</span><br/><br/><span class="hl-4">// Update the read field to true and the rating field to 5</span><br/><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">updateRow</span><span class="hl-1">({</span><span class="hl-0">read:</span><span class="hl-1"> </span><span class="hl-6">true</span><span class="hl-1">, </span><span class="hl-0">rating:</span><span class="hl-1"> </span><span class="hl-5">5</span><span class="hl-1">}, </span><span class="hl-0">moby_dick</span><span class="hl-1">.</span><span class="hl-0">id</span><span class="hl-1">)</span><br/><br/><span class="hl-4">// if you want to update more than one row, you must first retrieve all the rows and</span><br/><span class="hl-4">// then update them individually</span><br/><br/><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">allBooks</span><span class="hl-1"> = </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">getRows</span><span class="hl-1">()</span><br/><span class="hl-8">for</span><span class="hl-1">(</span><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">book</span><span class="hl-1"> </span><span class="hl-6">of</span><span class="hl-1"> </span><span class="hl-0">allBooks</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-0">bookTable</span><span class="hl-1">.</span><span class="hl-2">updateRow</span><span class="hl-1">({</span><span class="hl-0">price:</span><span class="hl-1"> </span><span class="hl-0">book</span><span class="hl-1">.</span><span class="hl-0">price</span><span class="hl-1">*</span><span class="hl-5">0.8</span><span class="hl-1">}, </span><span class="hl-0">book</span><span class="hl-1">.</span><span class="hl-0">id</span><span class="hl-1">)</span><br/><span class="hl-1">}</span>
275
277
  </code><button>Copy</button></pre>
276
278
 
277
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L1381">packages/saltcorn-data/models/table.ts:1381</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="allslugoptions"><code class="tsd-tag">Static</code><span>all<wbr/>Slug<wbr/>Options</span><a href="#allslugoptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="allslugoptions-1"><span class="tsd-kind-call-signature">allSlugOptions</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">nm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">steps</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.base_types.SlugStepType.html" class="tsd-signature-type tsd-kind-type-alias">SlugStepType</a><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><a href="#allslugoptions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">nm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">steps</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.base_types.SlugStepType.html" class="tsd-signature-type tsd-kind-type-alias">SlugStepType</a><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L4053">packages/saltcorn-data/models/table.ts:4053</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="create"><code class="tsd-tag">Static</code><span>create</span><a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="create-1"><span class="tsd-kind-call-signature">create</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.model-abstracts_abstract_table.TablePack.html" class="tsd-signature-type tsd-kind-type-alias">TablePack</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">&gt;</span><a href="#create-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create table</p>
279
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L1402">packages/saltcorn-data/models/table.ts:1402</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="allslugoptions"><code class="tsd-tag">Static</code><span>all<wbr/>Slug<wbr/>Options</span><a href="#allslugoptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="allslugoptions-1"><span class="tsd-kind-call-signature">allSlugOptions</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">nm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">steps</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.base_types.SlugStepType.html" class="tsd-signature-type tsd-kind-type-alias">SlugStepType</a><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><a href="#allslugoptions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">nm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">steps</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.base_types.SlugStepType.html" class="tsd-signature-type tsd-kind-type-alias">SlugStepType</a><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L4151">packages/saltcorn-data/models/table.ts:4151</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="create"><code class="tsd-tag">Static</code><span>create</span><a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="create-1"><span class="tsd-kind-call-signature">create</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.model-abstracts_abstract_table.TablePack.html" class="tsd-signature-type tsd-kind-type-alias">TablePack</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">Table</a><span class="tsd-signature-symbol">&gt;</span><a href="#create-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create table</p>
278
280
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>table name</p>
279
281
  </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">options</span>: <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.model-abstracts_abstract_table.TablePack.html" class="tsd-signature-type tsd-kind-type-alias">TablePack</a><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>table fields</p>
280
282
  </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">id</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>optional id, if set, no '_sc_tables' entry is inserted</p>
281
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">&gt;</span></h4><p>table</p>
282
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L714">packages/saltcorn-data/models/table.ts:714</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="create_from_csv"><code class="tsd-tag">Static</code><span>create_<wbr/>from_<wbr/>csv</span><a href="#create_from_csv" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="create_from_csv-1"><span class="tsd-kind-call-signature">create_from_csv</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#create_from_csv-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Table Create from CSV</p>
283
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2805">packages/saltcorn-data/models/table.ts:2805</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="createindb"><code class="tsd-tag">Static</code><span>create<wbr/>In<wbr/>Db</span><a href="#createindb" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="createindb-1"><span class="tsd-kind-call-signature">createInDb</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">table</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#createindb-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create the table structure
283
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">Table</a><span class="tsd-signature-symbol">&gt;</span></h4><p>table</p>
284
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L713">packages/saltcorn-data/models/table.ts:713</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="create_from_csv"><code class="tsd-tag">Static</code><span>create_<wbr/>from_<wbr/>csv</span><a href="#create_from_csv" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="create_from_csv-1"><span class="tsd-kind-call-signature">create_from_csv</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">filePath</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#create_from_csv-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Table Create from CSV</p>
285
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">filePath</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ResultMessage.html" class="tsd-signature-type tsd-kind-type-alias">ResultMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2904">packages/saltcorn-data/models/table.ts:2904</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="createindb"><code class="tsd-tag">Static</code><span>create<wbr/>In<wbr/>Db</span><a href="#createindb" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="createindb-1"><span class="tsd-kind-call-signature">createInDb</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">table</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">Table</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#createindb-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create the table structure
284
286
  generates a CREATE TABLE cmd with all field and runs it
285
287
  TODO field defaults for pg</p>
286
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">table</span>: <a href="" class="tsd-signature-type tsd-kind-class">export=</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L797">packages/saltcorn-data/models/table.ts:797</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="find"><code class="tsd-tag">Static</code><span>find</span><a href="#find" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="find-1"><span class="tsd-kind-call-signature">find</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">selectopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#find-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find Tables</p>
288
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">table</span>: <a href="" class="tsd-signature-type tsd-kind-class">Table</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L795">packages/saltcorn-data/models/table.ts:795</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="find"><code class="tsd-tag">Static</code><span>find</span><a href="#find" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="find-1"><span class="tsd-kind-call-signature">find</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">selectopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">Table</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#find-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find Tables</p>
287
289
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">where</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span><div class="tsd-comment tsd-typography"><p>where condition</p>
288
290
  </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">selectopts</span>: <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a><span class="tsd-signature-symbol"> = ...</span></span><div class="tsd-comment tsd-typography"><p>options</p>
289
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><p>table list</p>
290
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L389">packages/saltcorn-data/models/table.ts:389</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="find_with_external"><code class="tsd-tag">Static</code><span>find_<wbr/>with_<wbr/>external</span><a href="#find_with_external" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="find_with_external-1"><span class="tsd-kind-call-signature">find_with_external</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">where0</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">selectopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#find_with_external-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find Tables including external tables</p>
291
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">where0</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol"> = {}</span></span></li><li><span><span class="tsd-kind-parameter">selectopts</span>: <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a><span class="tsd-signature-symbol"> = ...</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L445">packages/saltcorn-data/models/table.ts:445</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="findone"><code class="tsd-tag">Static</code><span>find<wbr/>One</span><a href="#findone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="findone-1"><span class="tsd-kind-call-signature">findOne</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">export=</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">export=</a><a href="#findone-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find one Table</p>
292
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">where</span>: <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">export=</a></span><div class="tsd-comment tsd-typography"><p>where condition</p>
293
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">export=</a></h4><p>table or null</p>
294
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L350">packages/saltcorn-data/models/table.ts:350</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="state_refresh"><code class="tsd-tag">Static</code><span>state_<wbr/>refresh</span><a href="#state_refresh" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="state_refresh-1"><span class="tsd-kind-call-signature">state_refresh</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#state_refresh-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/ff213c6d70f8904a29799f8fe8fea00e7d94120c/packages/saltcorn-data/models/table.ts#L2773">packages/saltcorn-data/models/table.ts:2773</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#querying-table-rows"><span>Querying table rows</span></a><a href="#updating-a-row"><span>Updating a <wbr/>Row</span></a><a href="#inserting-a-new-row"><span>Inserting a new <wbr/>Row</span></a><a href="#deleting-rows"><span>Deleting rows</span></a><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#constraints"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>constraints</span></a><a href="#description"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>description</span></a><a href="#external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>external</span></a><a href="#fields"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fields</span></a><a href="#has_sync_info"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has_<wbr/>sync_<wbr/>info</span></a><a href="#id"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a><a href="#is_user_group"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is_<wbr/>user_<wbr/>group</span></a><a href="#min_role_read"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>min_<wbr/>role_<wbr/>read</span></a><a href="#min_role_write"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>min_<wbr/>role_<wbr/>write</span></a><a href="#name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#ownership_field_id"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ownership_<wbr/>field_<wbr/>id</span></a><a href="#ownership_formula"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ownership_<wbr/>formula</span></a><a href="#provider_cfg"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>provider_<wbr/>cfg</span></a><a href="#provider_name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>provider_<wbr/>name</span></a><a href="#versioned"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>versioned</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#composite_pk_names"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>composite_<wbr/>pk_<wbr/>names</span></a><a href="#pk_name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pk_<wbr/>name</span></a><a href="#pk_type"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pk_<wbr/>type</span></a><a href="#santized_name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>santized_<wbr/>name</span></a><a href="#sql_name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>sql_<wbr/>name</span></a><a href="#to_json"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>to_<wbr/>json</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#aggregationquery"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>aggregation<wbr/>Query</span></a><a href="#check_table_constraints"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check_<wbr/>table_<wbr/>constraints</span></a><a href="#compress_history"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>compress_<wbr/>history</span></a><a href="#countrows"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>count<wbr/>Rows</span></a><a href="#delete"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete</span></a><a href="#deleterows"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Rows</span></a><a href="#distinctvalues"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>distinct<wbr/>Values</span></a><a href="#dump_history_to_json"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dump_<wbr/>history_<wbr/>to_<wbr/>json</span></a><a href="#dump_to_json"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dump_<wbr/>to_<wbr/>json</span></a><a href="#enable_fkey_constraints"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable_<wbr/>fkey_<wbr/>constraints</span></a><a href="#field_options"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>field_<wbr/>options</span></a><a href="#get_child_relations"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>child_<wbr/>relations</span></a><a href="#get_history"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>history</span></a><a href="#get_join_field_options"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>join_<wbr/>field_<wbr/>options</span></a><a href="#get_models"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>models</span></a><a href="#get_parent_relations"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>parent_<wbr/>relations</span></a><a href="#get_relation_data"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>relation_<wbr/>data</span></a><a href="#get_relation_options"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>relation_<wbr/>options</span></a><a href="#getfield"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Field</span></a><a href="#getfields"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fields</span></a><a href="#getforeignkeys"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Foreign<wbr/>Keys</span></a><a href="#getforeigntables"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Foreign<wbr/>Tables</span></a><a href="#getformulaexamples"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Formula<wbr/>Examples</span></a><a href="#getjoinedquery"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Joined<wbr/>Query</span></a><a href="#getjoinedrow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Joined<wbr/>Row</span></a><a href="#getjoinedrows"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Joined<wbr/>Rows</span></a><a href="#getrow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Row</span></a><a href="#getrows"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Rows</span></a><a href="#gettags"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tags</span></a><a href="#import_csv_file"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>import_<wbr/>csv_<wbr/>file</span></a><a href="#import_json_file"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>import_<wbr/>json_<wbr/>file</span></a><a href="#import_json_history_file"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>import_<wbr/>json_<wbr/>history_<wbr/>file</span></a><a href="#insert_history_row"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>insert_<wbr/>history_<wbr/>row</span></a><a href="#insertrow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>insert<wbr/>Row</span></a><a href="#is_owner"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is_<wbr/>owner</span></a><a href="#latestsyncinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>latest<wbr/>Sync<wbr/>Info</span></a><a href="#latestsyncinfos"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>latest<wbr/>Sync<wbr/>Infos</span></a><a href="#move_include_fts_to_search_context"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move_<wbr/>include_<wbr/>fts_<wbr/>to_<wbr/>search_<wbr/>context</span></a><a href="#normalise_error_message"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>normalise_<wbr/>error_<wbr/>message</span></a><a href="#normalise_fkey_values"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>normalise_<wbr/>fkey_<wbr/>values</span></a><a href="#owner_fieldname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>owner_<wbr/>fieldname</span></a><a href="#owner_fieldname_from_fields"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>owner_<wbr/>fieldname_<wbr/>from_<wbr/>fields</span></a><a href="#ownership_formula_where"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ownership_<wbr/>formula_<wbr/>where</span></a><a href="#ownership_options"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ownership_<wbr/>options</span></a><a href="#parse_json_fields"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>parse_<wbr/>json_<wbr/>fields</span></a><a href="#processselectoptions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>process<wbr/>Select<wbr/>Options</span></a><a href="#read_state_strict"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>read_<wbr/>state_<wbr/>strict</span></a><a href="#redo_row_changes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>redo_<wbr/>row_<wbr/>changes</span></a><a href="#rename"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rename</span></a><a href="#repaircompositeprimary"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>repair<wbr/>Composite<wbr/>Primary</span></a><a href="#resetsequence"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Sequence</span></a><a href="#restore_row_version"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>restore_<wbr/>row_<wbr/>version</span></a><a href="#slug_options"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>slug_<wbr/>options</span></a><a href="#stringify_json_fields"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stringify_<wbr/>json_<wbr/>fields</span></a><a href="#to_provided_table"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>to_<wbr/>provided_<wbr/>table</span></a><a href="#togglebool"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Bool</span></a><a href="#tryinsertrow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Insert<wbr/>Row</span></a><a href="#tryupdaterow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Update<wbr/>Row</span></a><a href="#undo_row_changes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>undo_<wbr/>row_<wbr/>changes</span></a><a href="#update"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update</span></a><a href="#updaterow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Row</span></a><a href="#allslugoptions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>all<wbr/>Slug<wbr/>Options</span></a><a href="#create"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create</span></a><a href="#create_from_csv"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create_<wbr/>from_<wbr/>csv</span></a><a href="#createindb"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>In<wbr/>Db</span></a><a href="#find"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find</span></a><a href="#find_with_external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find_<wbr/>with_<wbr/>external</span></a><a href="#findone"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>One</span></a><a href="#state_refresh"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>state_<wbr/>refresh</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Documentation</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
291
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">Table</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><p>table list</p>
292
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L388">packages/saltcorn-data/models/table.ts:388</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="find_with_external"><code class="tsd-tag">Static</code><span>find_<wbr/>with_<wbr/>external</span><a href="#find_with_external" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="find_with_external-1"><span class="tsd-kind-call-signature">find_with_external</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where0</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">selectopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">Table</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#find_with_external-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find Tables including external tables</p>
293
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">where0</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol"> = {}</span></span></li><li><span><span class="tsd-kind-parameter">selectopts</span>: <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a><span class="tsd-signature-symbol"> = ...</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">Table</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L444">packages/saltcorn-data/models/table.ts:444</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="findone"><code class="tsd-tag">Static</code><span>find<wbr/>One</span><a href="#findone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="findone-1"><span class="tsd-kind-call-signature">findOne</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">Table</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">Table</a><a href="#findone-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find one Table</p>
294
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">where</span>: <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">Table</a></span><div class="tsd-comment tsd-typography"><p>where condition</p>
295
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">Table</a></h4><p>table or null</p>
296
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L349">packages/saltcorn-data/models/table.ts:349</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="state_refresh"><code class="tsd-tag">Static</code><span>state_<wbr/>refresh</span><a href="#state_refresh" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="state_refresh-1"><span class="tsd-kind-call-signature">state_refresh</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">noSignal</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#state_refresh-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">noSignal</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/a7537e87de7949ac6df12e7f86a8ae94a9a2aec3/packages/saltcorn-data/models/table.ts#L2868">packages/saltcorn-data/models/table.ts:2868</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#querying-table-rows"><span>Querying table rows</span></a><a href="#updating-a-row"><span>Updating a <wbr/>Row</span></a><a href="#inserting-a-new-row"><span>Inserting a new <wbr/>Row</span></a><a href="#deleting-rows"><span>Deleting rows</span></a><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#constraints"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>constraints</span></a><a href="#description"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>description</span></a><a href="#external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>external</span></a><a href="#fields"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fields</span></a><a href="#has_sync_info"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has_<wbr/>sync_<wbr/>info</span></a><a href="#id"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a><a href="#is_user_group"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is_<wbr/>user_<wbr/>group</span></a><a href="#min_role_read"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>min_<wbr/>role_<wbr/>read</span></a><a href="#min_role_write"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>min_<wbr/>role_<wbr/>write</span></a><a href="#name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#ownership_field_id"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ownership_<wbr/>field_<wbr/>id</span></a><a href="#ownership_formula"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ownership_<wbr/>formula</span></a><a href="#provider_cfg"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>provider_<wbr/>cfg</span></a><a href="#provider_name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>provider_<wbr/>name</span></a><a href="#versioned"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>versioned</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#composite_pk_names"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>composite_<wbr/>pk_<wbr/>names</span></a><a href="#pk_name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pk_<wbr/>name</span></a><a href="#pk_type"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pk_<wbr/>type</span></a><a href="#santized_name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>santized_<wbr/>name</span></a><a href="#sql_name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>sql_<wbr/>name</span></a><a href="#to_json"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>to_<wbr/>json</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#aggregationquery"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>aggregation<wbr/>Query</span></a><a href="#check_table_constraints"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check_<wbr/>table_<wbr/>constraints</span></a><a href="#compress_history"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>compress_<wbr/>history</span></a><a href="#countrows"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>count<wbr/>Rows</span></a><a href="#delete"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete</span></a><a href="#delete_url"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete_<wbr/>url</span></a><a href="#deleterows"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Rows</span></a><a href="#distinctvalues"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>distinct<wbr/>Values</span></a><a href="#dump_history_to_json"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dump_<wbr/>history_<wbr/>to_<wbr/>json</span></a><a href="#dump_to_json"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dump_<wbr/>to_<wbr/>json</span></a><a href="#enable_fkey_constraints"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable_<wbr/>fkey_<wbr/>constraints</span></a><a href="#field_options"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>field_<wbr/>options</span></a><a href="#get_child_relations"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>child_<wbr/>relations</span></a><a href="#get_history"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>history</span></a><a href="#get_join_field_options"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>join_<wbr/>field_<wbr/>options</span></a><a href="#get_models"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>models</span></a><a href="#get_parent_relations"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>parent_<wbr/>relations</span></a><a href="#get_relation_data"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>relation_<wbr/>data</span></a><a href="#get_relation_options"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>relation_<wbr/>options</span></a><a href="#getfield"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Field</span></a><a href="#getfields"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fields</span></a><a href="#getforeignkeys"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Foreign<wbr/>Keys</span></a><a href="#getforeigntables"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Foreign<wbr/>Tables</span></a><a href="#getformulaexamples"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Formula<wbr/>Examples</span></a><a href="#getjoinedquery"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Joined<wbr/>Query</span></a><a href="#getjoinedrow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Joined<wbr/>Row</span></a><a href="#getjoinedrows"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Joined<wbr/>Rows</span></a><a href="#getrow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Row</span></a><a href="#getrows"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Rows</span></a><a href="#gettags"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tags</span></a><a href="#import_csv_file"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>import_<wbr/>csv_<wbr/>file</span></a><a href="#import_json_file"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>import_<wbr/>json_<wbr/>file</span></a><a href="#import_json_history_file"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>import_<wbr/>json_<wbr/>history_<wbr/>file</span></a><a href="#insert_history_row"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>insert_<wbr/>history_<wbr/>row</span></a><a href="#insertrow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>insert<wbr/>Row</span></a><a href="#is_owner"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is_<wbr/>owner</span></a><a href="#latestsyncinfo"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>latest<wbr/>Sync<wbr/>Info</span></a><a href="#latestsyncinfos"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>latest<wbr/>Sync<wbr/>Infos</span></a><a href="#move_include_fts_to_search_context"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move_<wbr/>include_<wbr/>fts_<wbr/>to_<wbr/>search_<wbr/>context</span></a><a href="#normalise_error_message"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>normalise_<wbr/>error_<wbr/>message</span></a><a href="#normalise_fkey_values"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>normalise_<wbr/>fkey_<wbr/>values</span></a><a href="#owner_fieldname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>owner_<wbr/>fieldname</span></a><a href="#owner_fieldname_from_fields"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>owner_<wbr/>fieldname_<wbr/>from_<wbr/>fields</span></a><a href="#ownership_formula_where"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ownership_<wbr/>formula_<wbr/>where</span></a><a href="#ownership_options"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ownership_<wbr/>options</span></a><a href="#parse_json_fields"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>parse_<wbr/>json_<wbr/>fields</span></a><a href="#processselectoptions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>process<wbr/>Select<wbr/>Options</span></a><a href="#read_state_strict"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>read_<wbr/>state_<wbr/>strict</span></a><a href="#redo_row_changes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>redo_<wbr/>row_<wbr/>changes</span></a><a href="#rename"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rename</span></a><a href="#repaircompositeprimary"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>repair<wbr/>Composite<wbr/>Primary</span></a><a href="#resetsequence"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Sequence</span></a><a href="#restore_row_version"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>restore_<wbr/>row_<wbr/>version</span></a><a href="#slug_options"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>slug_<wbr/>options</span></a><a href="#stringify_json_fields"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stringify_<wbr/>json_<wbr/>fields</span></a><a href="#to_provided_table"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>to_<wbr/>provided_<wbr/>table</span></a><a href="#togglebool"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Bool</span></a><a href="#tryinsertrow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Insert<wbr/>Row</span></a><a href="#tryupdaterow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Update<wbr/>Row</span></a><a href="#undo_row_changes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>undo_<wbr/>row_<wbr/>changes</span></a><a href="#update"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update</span></a><a href="#updaterow"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Row</span></a><a href="#allslugoptions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>all<wbr/>Slug<wbr/>Options</span></a><a href="#create"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create</span></a><a href="#create_from_csv"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create_<wbr/>from_<wbr/>csv</span></a><a href="#createindb"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>In<wbr/>Db</span></a><a href="#find"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find</span></a><a href="#find_with_external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find_<wbr/>with_<wbr/>external</span></a><a href="#findone"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>One</span></a><a href="#state_refresh"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>state_<wbr/>refresh</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Documentation</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>