diff --git a/hugo/hugo_0.90.0_Linux-64bit.deb b/hugo/hugo_0.90.0_Linux-64bit.deb new file mode 100644 index 0000000000..9b18b11461 Binary files /dev/null and b/hugo/hugo_0.90.0_Linux-64bit.deb differ diff --git a/hugo/hugo_0.90.0_Linux-64bit.tar.gz b/hugo/hugo_0.90.0_Linux-64bit.tar.gz new file mode 100644 index 0000000000..3267bf5495 Binary files /dev/null and b/hugo/hugo_0.90.0_Linux-64bit.tar.gz differ diff --git a/themes/hugo-theme-learn b/themes/hugo-theme-learn index 69712d839d..ff71eefe67 160000 --- a/themes/hugo-theme-learn +++ b/themes/hugo-theme-learn @@ -1 +1 @@ -Subproject commit 69712d839ddc35ffe4be37e8e913a67e1a9440c2 +Subproject commit ff71eefe67803c7ddd1cf11fe65080899651d746 diff --git a/v1/content/collection-api/_index.md b/v1/content/collection-api/_index.md index ded20c3a67..e964282b51 100644 --- a/v1/content/collection-api/_index.md +++ b/v1/content/collection-api/_index.md @@ -1,6 +1,6 @@ --- title: "Collection API" -weight: 201 +weight: 202 chapter: true --- diff --git a/v1/content/collection-api/alt_raise.md b/v1/content/collection-api/alt_raise.md index f69809383c..c177262bf3 100644 --- a/v1/content/collection-api/alt_raise.md +++ b/v1/content/collection-api/alt_raise.md @@ -1,6 +1,6 @@ --- title: "alt_raise" -weight: 202 +weight: 203 --- This function will try a statement. If the statement is successful it will just return the result but in case of an error, it will re-raise the error using a given error code. diff --git a/v1/content/collection-api/assert.md b/v1/content/collection-api/assert.md index 037ece95c9..ae0daa41bf 100644 --- a/v1/content/collection-api/assert.md +++ b/v1/content/collection-api/assert.md @@ -1,6 +1,6 @@ --- title: "assert" -weight: 203 +weight: 204 --- Raises an [assert_err()](../../errors/assert_err) if the specified expression evaluates to `false`. diff --git a/v1/content/collection-api/base64_decode.md b/v1/content/collection-api/base64_decode.md index 44dd4bc46a..ac2b1c67e4 100644 --- a/v1/content/collection-api/base64_decode.md +++ b/v1/content/collection-api/base64_decode.md @@ -1,6 +1,6 @@ --- title: "base64_decode" -weight: 204 +weight: 205 --- Decode a Base64 encoded string. diff --git a/v1/content/collection-api/base64_encode.md b/v1/content/collection-api/base64_encode.md index 5eadd53c32..05daf302de 100644 --- a/v1/content/collection-api/base64_encode.md +++ b/v1/content/collection-api/base64_encode.md @@ -1,6 +1,6 @@ --- title: "base64_encode" -weight: 205 +weight: 206 --- Encode a [str](../../data-types/str) or [bytes](../../data-types/bytes) value using Base64. diff --git a/v1/content/collection-api/bool.md b/v1/content/collection-api/bool.md index a2444979a9..aba06095e7 100644 --- a/v1/content/collection-api/bool.md +++ b/v1/content/collection-api/bool.md @@ -1,6 +1,6 @@ --- title: "bool" -weight: 206 +weight: 207 --- Returns a [bool](../../data-types/bool) from a specified value. diff --git a/v1/content/collection-api/bytes.md b/v1/content/collection-api/bytes.md index 61f2807b82..c8cdc4e0f1 100644 --- a/v1/content/collection-api/bytes.md +++ b/v1/content/collection-api/bytes.md @@ -1,6 +1,6 @@ --- title: "bytes" -weight: 207 +weight: 208 --- Convert a value to a byte sequence. If no value is given, an empty byte sequence is returned. diff --git a/v1/content/collection-api/change_id.md b/v1/content/collection-api/change_id.md index 7ca19fc520..545e439c29 100644 --- a/v1/content/collection-api/change_id.md +++ b/v1/content/collection-api/change_id.md @@ -1,6 +1,6 @@ --- title: "change_id" -weight: 208 +weight: 209 --- Returns the current change Id for the running query. The return value will be `nil` if the query does not require a *change*. diff --git a/v1/content/collection-api/closure.md b/v1/content/collection-api/closure.md index 53d43fd8e0..3ce5e945a0 100644 --- a/v1/content/collection-api/closure.md +++ b/v1/content/collection-api/closure.md @@ -1,6 +1,6 @@ --- title: "closure" -weight: 209 +weight: 210 --- Returns an [closure](../../data-types/closure) from a given string. diff --git a/v1/content/collection-api/datetime.md b/v1/content/collection-api/datetime.md index eb6b75a7fe..cb655f94e0 100644 --- a/v1/content/collection-api/datetime.md +++ b/v1/content/collection-api/datetime.md @@ -1,6 +1,6 @@ --- title: "datetime" -weight: 210 +weight: 211 --- Returns a [datetime](../../data-types/datetime) depending on some optional values. diff --git a/v1/content/collection-api/deep.md b/v1/content/collection-api/deep.md index 399917346f..eed871a9b9 100644 --- a/v1/content/collection-api/deep.md +++ b/v1/content/collection-api/deep.md @@ -1,6 +1,6 @@ --- title: "deep" -weight: 211 +weight: 212 --- Set or return the current `deep` value for the **running query**. The deep value indicates how far down the result of a query is returned. For example, *thing1* may contain a *thing2* that contains a *thing3*. A deep value of 1 would only show the content of *thing1* and a deep value of 3 will go as deep as the content of *thing3*. ThingsDB allows *deep* to have a value between `0` and `127`. diff --git a/v1/content/collection-api/del_enum.md b/v1/content/collection-api/del_enum.md index 94a9f8c849..ba08bb848c 100644 --- a/v1/content/collection-api/del_enum.md +++ b/v1/content/collection-api/del_enum.md @@ -1,6 +1,6 @@ --- title: "del_enum" -weight: 212 +weight: 213 --- Deletes an existing [enumerator type](../../data-types/enum). diff --git a/v1/content/collection-api/del_type.md b/v1/content/collection-api/del_type.md index 28bf02b3e1..59d76030c2 100644 --- a/v1/content/collection-api/del_type.md +++ b/v1/content/collection-api/del_type.md @@ -1,6 +1,6 @@ --- title: "del_type" -weight: 213 +weight: 214 --- Deletes an existing [Type](../../overview/type). diff --git a/v1/content/collection-api/enum.md b/v1/content/collection-api/enum.md index 57d87f584a..5714ba7240 100644 --- a/v1/content/collection-api/enum.md +++ b/v1/content/collection-api/enum.md @@ -1,6 +1,6 @@ --- title: "enum" -weight: 214 +weight: 215 --- Returns a [enum](../../data-types/enum) member from a given value. diff --git a/v1/content/collection-api/enum_info.md b/v1/content/collection-api/enum_info.md index bdab6db8ce..e9502b89a5 100644 --- a/v1/content/collection-api/enum_info.md +++ b/v1/content/collection-api/enum_info.md @@ -1,6 +1,6 @@ --- title: "enum_info" -weight: 215 +weight: 216 --- Returns information about a given [enumeration type](../../data-types/enum). diff --git a/v1/content/collection-api/enum_map.md b/v1/content/collection-api/enum_map.md index bff58722a9..2e57d11f95 100644 --- a/v1/content/collection-api/enum_map.md +++ b/v1/content/collection-api/enum_map.md @@ -1,6 +1,6 @@ --- title: "enum_map" -weight: 216 +weight: 217 --- Returns a thing with key/value pairs for all the members of a given enum. diff --git a/v1/content/collection-api/enums_info.md b/v1/content/collection-api/enums_info.md index f56eb7cd4e..3d42c98067 100644 --- a/v1/content/collection-api/enums_info.md +++ b/v1/content/collection-api/enums_info.md @@ -1,6 +1,6 @@ --- title: "enums_info" -weight: 217 +weight: 218 --- Returns [enumeration type](../../data-types/enum) information about all the enum's within a collection scope. diff --git a/v1/content/collection-api/err.md b/v1/content/collection-api/err.md index c8f10abf61..77955d7e65 100644 --- a/v1/content/collection-api/err.md +++ b/v1/content/collection-api/err.md @@ -1,6 +1,6 @@ --- title: "err" -weight: 218 +weight: 219 --- Returns an [error](../../data-types/error). diff --git a/v1/content/collection-api/export.md b/v1/content/collection-api/export.md index 6e47b08bc0..8870d8896e 100644 --- a/v1/content/collection-api/export.md +++ b/v1/content/collection-api/export.md @@ -1,6 +1,6 @@ --- title: "export" -weight: 219 +weight: 220 --- This function can be used to export the collection structure as a readable string with ThingsDB code. diff --git a/v1/content/collection-api/float.md b/v1/content/collection-api/float.md index 2218e726c9..415895d417 100644 --- a/v1/content/collection-api/float.md +++ b/v1/content/collection-api/float.md @@ -1,6 +1,6 @@ --- title: "float" -weight: 220 +weight: 221 --- Returns a [float](../../data-types/float) from a specified value. diff --git a/v1/content/collection-api/future.md b/v1/content/collection-api/future.md index 98c75e7367..9ee600919d 100644 --- a/v1/content/collection-api/future.md +++ b/v1/content/collection-api/future.md @@ -1,6 +1,6 @@ --- title: "future" -weight: 221 +weight: 222 --- Returns a [future](../../data-types/future). It is *not* possible to assign a future to diff --git a/v1/content/collection-api/has_enum.md b/v1/content/collection-api/has_enum.md index 5d58ea259f..97061b58b6 100644 --- a/v1/content/collection-api/has_enum.md +++ b/v1/content/collection-api/has_enum.md @@ -1,6 +1,6 @@ --- title: "has_enum" -weight: 222 +weight: 223 --- Determines if a [enumerator type](../../data-types/enum) exists in the current `@collection` scope. diff --git a/v1/content/collection-api/has_type.md b/v1/content/collection-api/has_type.md index 2f6720ce30..455096d388 100644 --- a/v1/content/collection-api/has_type.md +++ b/v1/content/collection-api/has_type.md @@ -1,6 +1,6 @@ --- title: "has_type" -weight: 223 +weight: 224 --- Determines if a [Type](../../overview/type) exists in the current `@collection` scope. diff --git a/v1/content/collection-api/import.md b/v1/content/collection-api/import.md index 1b0f8c8a7b..804298cf00 100644 --- a/v1/content/collection-api/import.md +++ b/v1/content/collection-api/import.md @@ -1,6 +1,6 @@ --- title: "import" -weight: 224 +weight: 225 --- This function can be used to import a collection which was exported using the [export(..)](../import) function with the option `dump` enabled. diff --git a/v1/content/collection-api/int.md b/v1/content/collection-api/int.md index 947d3bef6d..e6f50ea4bd 100644 --- a/v1/content/collection-api/int.md +++ b/v1/content/collection-api/int.md @@ -1,6 +1,6 @@ --- title: "int" -weight: 225 +weight: 226 --- Returns an [int](../../data-types/int) from a specified value. diff --git a/v1/content/collection-api/is/_index.md b/v1/content/collection-api/is/_index.md index c045e12a38..9892531909 100644 --- a/v1/content/collection-api/is/_index.md +++ b/v1/content/collection-api/is/_index.md @@ -1,6 +1,6 @@ --- title: "is..." -weight: 226 +weight: 227 --- There are many functions in ThingsDB to check if a value is compatible with some specification. diff --git a/v1/content/collection-api/is/is_array.md b/v1/content/collection-api/is/is_array.md index f41378bd08..22634425e0 100644 --- a/v1/content/collection-api/is/is_array.md +++ b/v1/content/collection-api/is/is_array.md @@ -1,6 +1,6 @@ --- title: "is_array" -weight: 227 +weight: 228 --- This function determines whether the provided value is of type [list](../../../data-types/list) or [tuple](../../../data-types/tuple) or not. The functions [is_list](../../../collection-api/is/is_list) and diff --git a/v1/content/collection-api/is/is_ascii.md b/v1/content/collection-api/is/is_ascii.md index c09840de37..3c425aafdc 100644 --- a/v1/content/collection-api/is/is_ascii.md +++ b/v1/content/collection-api/is/is_ascii.md @@ -1,6 +1,6 @@ --- title: "is_ascii" -weight: 228 +weight: 229 --- This function determines whether the provided value is of diff --git a/v1/content/collection-api/is/is_bool.md b/v1/content/collection-api/is/is_bool.md index 1ee9ab7719..a7736e959f 100644 --- a/v1/content/collection-api/is/is_bool.md +++ b/v1/content/collection-api/is/is_bool.md @@ -1,6 +1,6 @@ --- title: "is_bool" -weight: 229 +weight: 230 --- This function determines whether the provided value is a [bool](../../../data-types/bool) or not. diff --git a/v1/content/collection-api/is/is_bytes.md b/v1/content/collection-api/is/is_bytes.md index 7f7d0918f6..0cbe1531c3 100644 --- a/v1/content/collection-api/is/is_bytes.md +++ b/v1/content/collection-api/is/is_bytes.md @@ -1,6 +1,6 @@ --- title: "is_bytes" -weight: 230 +weight: 231 --- This function determines whether the provided value is of type [bytes](../../../data-types/bytes) or not. diff --git a/v1/content/collection-api/is/is_closure.md b/v1/content/collection-api/is/is_closure.md index 51e552d333..6780fbcc06 100644 --- a/v1/content/collection-api/is/is_closure.md +++ b/v1/content/collection-api/is/is_closure.md @@ -1,6 +1,6 @@ --- title: "is_closure" -weight: 231 +weight: 232 --- This function determines whether the provided value is a [closure](../../../data-types/closure) or not. diff --git a/v1/content/collection-api/is/is_datetime.md b/v1/content/collection-api/is/is_datetime.md index f8ef3db456..901761d7d1 100644 --- a/v1/content/collection-api/is/is_datetime.md +++ b/v1/content/collection-api/is/is_datetime.md @@ -1,6 +1,6 @@ --- title: "is_datetime" -weight: 232 +weight: 233 --- This function determines whether the provided value is of diff --git a/v1/content/collection-api/is/is_email.md b/v1/content/collection-api/is/is_email.md index 7d542a7d38..042cab5b29 100644 --- a/v1/content/collection-api/is/is_email.md +++ b/v1/content/collection-api/is/is_email.md @@ -1,6 +1,6 @@ --- title: "is_email" -weight: 233 +weight: 234 --- This function determines whether the provided value is of diff --git a/v1/content/collection-api/is/is_enum.md b/v1/content/collection-api/is/is_enum.md index 83a569b3c3..d7b93997a3 100644 --- a/v1/content/collection-api/is/is_enum.md +++ b/v1/content/collection-api/is/is_enum.md @@ -1,6 +1,6 @@ --- title: "is_enum" -weight: 234 +weight: 235 --- This function determines whether the provided value is an [enumeration type](../../../data-types/enum) member or not. diff --git a/v1/content/collection-api/is/is_err.md b/v1/content/collection-api/is/is_err.md index 3884b6fcfc..8bc992c70b 100644 --- a/v1/content/collection-api/is/is_err.md +++ b/v1/content/collection-api/is/is_err.md @@ -1,6 +1,6 @@ --- title: "is_err" -weight: 235 +weight: 236 --- This function determines whether the provided value is a [error](../../../data-types/error) or not. diff --git a/v1/content/collection-api/is/is_float.md b/v1/content/collection-api/is/is_float.md index 53a0c9ffc4..b1f7b0dc39 100644 --- a/v1/content/collection-api/is/is_float.md +++ b/v1/content/collection-api/is/is_float.md @@ -1,6 +1,6 @@ --- title: "is_float" -weight: 236 +weight: 237 --- This function determines whether the provided value is a [floating point](../../../data-types/float) value or not. diff --git a/v1/content/collection-api/is/is_future.md b/v1/content/collection-api/is/is_future.md index c155682cd6..e7cc86a49d 100644 --- a/v1/content/collection-api/is/is_future.md +++ b/v1/content/collection-api/is/is_future.md @@ -1,6 +1,6 @@ --- title: "is_future" -weight: 237 +weight: 238 --- This function determines whether the provided value is a [future](../../../data-types/future) value or not. diff --git a/v1/content/collection-api/is/is_inf.md b/v1/content/collection-api/is/is_inf.md index d79229638f..d1e25ffa3e 100644 --- a/v1/content/collection-api/is/is_inf.md +++ b/v1/content/collection-api/is/is_inf.md @@ -1,6 +1,6 @@ --- title: "is_inf" -weight: 238 +weight: 239 --- This function determines whether the provided value is a positive or negative *infinity*. diff --git a/v1/content/collection-api/is/is_int.md b/v1/content/collection-api/is/is_int.md index a5c94ea5d8..61bc86c7f6 100644 --- a/v1/content/collection-api/is/is_int.md +++ b/v1/content/collection-api/is/is_int.md @@ -1,6 +1,6 @@ --- title: "is_int" -weight: 239 +weight: 240 --- This function determines whether the provided value is an [integer](../../../data-types/int) or not. diff --git a/v1/content/collection-api/is/is_list.md b/v1/content/collection-api/is/is_list.md index bb9067e46f..72919b256d 100644 --- a/v1/content/collection-api/is/is_list.md +++ b/v1/content/collection-api/is/is_list.md @@ -1,6 +1,6 @@ --- title: "is_list" -weight: 240 +weight: 241 --- This function determines whether the provided value is a [list](../../../data-types/list) or not. diff --git a/v1/content/collection-api/is/is_module.md b/v1/content/collection-api/is/is_module.md index 09a5b5e056..d47dbbd788 100644 --- a/v1/content/collection-api/is/is_module.md +++ b/v1/content/collection-api/is/is_module.md @@ -1,6 +1,6 @@ --- title: "is_module" -weight: 241 +weight: 242 --- This function determines whether the provided value is a [module](../../../modules) value or not. diff --git a/v1/content/collection-api/is/is_mpdata.md b/v1/content/collection-api/is/is_mpdata.md index c708f6914b..4fc4f090e8 100644 --- a/v1/content/collection-api/is/is_mpdata.md +++ b/v1/content/collection-api/is/is_mpdata.md @@ -1,6 +1,6 @@ --- title: "is_mpdata" -weight: 242 +weight: 243 --- This function determines whether the provided value is of type [mpdata](../../../data-types/) or not. diff --git a/v1/content/collection-api/is/is_nan.md b/v1/content/collection-api/is/is_nan.md index 73976288b5..48f4f563b9 100644 --- a/v1/content/collection-api/is/is_nan.md +++ b/v1/content/collection-api/is/is_nan.md @@ -1,6 +1,6 @@ --- title: "is_nan" -weight: 243 +weight: 244 --- This function determines whether the provided value is not a number. diff --git a/v1/content/collection-api/is/is_nil.md b/v1/content/collection-api/is/is_nil.md index f405cc12ee..d57de81a55 100644 --- a/v1/content/collection-api/is/is_nil.md +++ b/v1/content/collection-api/is/is_nil.md @@ -1,6 +1,6 @@ --- title: "is_nil" -weight: 244 +weight: 245 --- This function determines whether the provided value is [nil](../../../data-types/nil). diff --git a/v1/content/collection-api/is/is_raw.md b/v1/content/collection-api/is/is_raw.md index 569cb4a1a3..3f1949e82c 100644 --- a/v1/content/collection-api/is/is_raw.md +++ b/v1/content/collection-api/is/is_raw.md @@ -1,6 +1,6 @@ --- title: "is_raw" -weight: 245 +weight: 246 --- This function determines whether the provided value is of type [str](../../../data-types/str) *or* [bytes](../../../data-types/bytes). diff --git a/v1/content/collection-api/is/is_regex.md b/v1/content/collection-api/is/is_regex.md index ddf892fa87..d8a610070e 100644 --- a/v1/content/collection-api/is/is_regex.md +++ b/v1/content/collection-api/is/is_regex.md @@ -1,6 +1,6 @@ --- title: "is_regex" -weight: 246 +weight: 247 --- This function determines whether the provided value is of type [regex](../../../data-types/regex) or not. diff --git a/v1/content/collection-api/is/is_room.md b/v1/content/collection-api/is/is_room.md index fc95667b6a..c0761f2f30 100644 --- a/v1/content/collection-api/is/is_room.md +++ b/v1/content/collection-api/is/is_room.md @@ -1,6 +1,6 @@ --- title: "is_room" -weight: 247 +weight: 248 --- This function determines whether the provided value is a [room](../../../data-types/room) or not. diff --git a/v1/content/collection-api/is/is_set.md b/v1/content/collection-api/is/is_set.md index b282dfce80..ba5c307272 100644 --- a/v1/content/collection-api/is/is_set.md +++ b/v1/content/collection-api/is/is_set.md @@ -1,6 +1,6 @@ --- title: "is_set" -weight: 248 +weight: 249 --- This function determines whether the provided value is a [set](../../../data-types/set) or not. diff --git a/v1/content/collection-api/is/is_str.md b/v1/content/collection-api/is/is_str.md index a36a6ead6a..ad1d085bf7 100644 --- a/v1/content/collection-api/is/is_str.md +++ b/v1/content/collection-api/is/is_str.md @@ -1,6 +1,6 @@ --- title: "is_str" -weight: 249 +weight: 250 --- This function determines whether the provided value is of type [str](../../../data-types/str). diff --git a/v1/content/collection-api/is/is_task.md b/v1/content/collection-api/is/is_task.md index 332bafc61f..c71eb285b3 100644 --- a/v1/content/collection-api/is/is_task.md +++ b/v1/content/collection-api/is/is_task.md @@ -1,6 +1,6 @@ --- title: "is_task" -weight: 250 +weight: 251 --- This function determines whether the provided value is a [task](../../../data-types/task) or not. diff --git a/v1/content/collection-api/is/is_tel.md b/v1/content/collection-api/is/is_tel.md index c7be3b5be6..3f36d28965 100644 --- a/v1/content/collection-api/is/is_tel.md +++ b/v1/content/collection-api/is/is_tel.md @@ -1,6 +1,6 @@ --- title: "is_tel" -weight: 251 +weight: 252 --- This function determines whether the provided value is of diff --git a/v1/content/collection-api/is/is_thing.md b/v1/content/collection-api/is/is_thing.md index f2123f9303..5924896979 100644 --- a/v1/content/collection-api/is/is_thing.md +++ b/v1/content/collection-api/is/is_thing.md @@ -1,6 +1,6 @@ --- title: "is_thing" -weight: 252 +weight: 253 --- This function determines whether the provided value is a [thing](../../../data-types/thing) or not. diff --git a/v1/content/collection-api/is/is_time_zone.md b/v1/content/collection-api/is/is_time_zone.md index 5710065705..219c8d2798 100644 --- a/v1/content/collection-api/is/is_time_zone.md +++ b/v1/content/collection-api/is/is_time_zone.md @@ -1,6 +1,6 @@ --- title: "is_time_zone" -weight: 253 +weight: 254 --- This function determines whether the provided value is of diff --git a/v1/content/collection-api/is/is_timeval.md b/v1/content/collection-api/is/is_timeval.md index b3c2c24905..de02cf45ec 100644 --- a/v1/content/collection-api/is/is_timeval.md +++ b/v1/content/collection-api/is/is_timeval.md @@ -1,6 +1,6 @@ --- title: "is_timeval" -weight: 254 +weight: 255 --- This function determines whether the provided value is of diff --git a/v1/content/collection-api/is/is_tuple.md b/v1/content/collection-api/is/is_tuple.md index d0e781217a..28aa8eb8e1 100644 --- a/v1/content/collection-api/is/is_tuple.md +++ b/v1/content/collection-api/is/is_tuple.md @@ -1,6 +1,6 @@ --- title: "is_tuple" -weight: 255 +weight: 256 --- This function determines whether the provided value is a [tuple](../../../data-types/tuple) or not. At least nested arrays are of kind tuple. diff --git a/v1/content/collection-api/is/is_url.md b/v1/content/collection-api/is/is_url.md index d2a3f998b6..7b92f15181 100644 --- a/v1/content/collection-api/is/is_url.md +++ b/v1/content/collection-api/is/is_url.md @@ -1,6 +1,6 @@ --- title: "is_url" -weight: 256 +weight: 257 --- This function determines whether the provided value is of diff --git a/v1/content/collection-api/is/is_utf8.md b/v1/content/collection-api/is/is_utf8.md index 88df4e1f3e..fc25778710 100644 --- a/v1/content/collection-api/is/is_utf8.md +++ b/v1/content/collection-api/is/is_utf8.md @@ -1,6 +1,6 @@ --- title: "is_utf8" -weight: 257 +weight: 258 --- This function determines whether the provided value is of diff --git a/v1/content/collection-api/json_dump.md b/v1/content/collection-api/json_dump.md index 9d3449cedc..82233ec32c 100644 --- a/v1/content/collection-api/json_dump.md +++ b/v1/content/collection-api/json_dump.md @@ -1,6 +1,6 @@ --- title: "json_dump" -weight: 258 +weight: 259 --- Converts a ThingsDB value in to a JSON [string](../../data-types/str). diff --git a/v1/content/collection-api/json_load.md b/v1/content/collection-api/json_load.md index 75f6fc5d3a..65650e2c6a 100644 --- a/v1/content/collection-api/json_load.md +++ b/v1/content/collection-api/json_load.md @@ -1,6 +1,6 @@ --- title: "json_load" -weight: 259 +weight: 260 --- Converts a JSON [string](../../data-types/str) into a ThingsDB value. diff --git a/v1/content/collection-api/list.md b/v1/content/collection-api/list.md index 4b38b54ebb..f7783f0751 100644 --- a/v1/content/collection-api/list.md +++ b/v1/content/collection-api/list.md @@ -1,6 +1,6 @@ --- title: "list" -weight: 260 +weight: 261 --- Returns a new empty [list](../../data-types/list) or returns a list for a given `set`. diff --git a/v1/content/collection-api/log.md b/v1/content/collection-api/log.md index 0418b65f57..2786ea9c9f 100644 --- a/v1/content/collection-api/log.md +++ b/v1/content/collection-api/log.md @@ -1,6 +1,6 @@ --- title: "log" -weight: 261 +weight: 262 --- Might be used for debugging code. The message will be logged as a warning message on the console of the node which is processing the request. diff --git a/v1/content/collection-api/math/_index.md b/v1/content/collection-api/math/_index.md index b06f3b5264..f49e4cf570 100644 --- a/v1/content/collection-api/math/_index.md +++ b/v1/content/collection-api/math/_index.md @@ -1,6 +1,6 @@ --- title: "math..." -weight: 262 +weight: 263 --- The following mathematical functions and constants are supported by ThingsDB: diff --git a/v1/content/collection-api/math/abs.md b/v1/content/collection-api/math/abs.md index 422ea8c8dd..521e2d9bb7 100644 --- a/v1/content/collection-api/math/abs.md +++ b/v1/content/collection-api/math/abs.md @@ -1,6 +1,6 @@ --- title: "abs" -weight: 263 +weight: 264 --- Return the absolute value of a given number. diff --git a/v1/content/collection-api/math/ceil.md b/v1/content/collection-api/math/ceil.md index 8c485bde0b..c699d6acae 100644 --- a/v1/content/collection-api/math/ceil.md +++ b/v1/content/collection-api/math/ceil.md @@ -1,6 +1,6 @@ --- title: "ceil" -weight: 264 +weight: 265 --- Return the ceiling of a given number. This is the smallest integer >= the given number. diff --git a/v1/content/collection-api/math/cos.md b/v1/content/collection-api/math/cos.md index 51a7ecaa93..238fd9395b 100644 --- a/v1/content/collection-api/math/cos.md +++ b/v1/content/collection-api/math/cos.md @@ -1,6 +1,6 @@ --- title: "cos" -weight: 265 +weight: 266 --- Return the cosine of a given number. The value passed in this function should be in radians. diff --git a/v1/content/collection-api/math/exp.md b/v1/content/collection-api/math/exp.md index 90c3da52b2..2ea1c7470a 100644 --- a/v1/content/collection-api/math/exp.md +++ b/v1/content/collection-api/math/exp.md @@ -1,6 +1,6 @@ --- title: "exp" -weight: 266 +weight: 267 --- Returns _e_ raised to the power of _x_. diff --git a/v1/content/collection-api/math/floor.md b/v1/content/collection-api/math/floor.md index 2cd601661b..f8ef605c93 100644 --- a/v1/content/collection-api/math/floor.md +++ b/v1/content/collection-api/math/floor.md @@ -1,6 +1,6 @@ --- title: "floor" -weight: 267 +weight: 268 --- Return the floor of a given number. This is the largest integer <= the given number. diff --git a/v1/content/collection-api/math/log10.md b/v1/content/collection-api/math/log10.md index d45cf8ac38..b0fdbd8e5b 100644 --- a/v1/content/collection-api/math/log10.md +++ b/v1/content/collection-api/math/log10.md @@ -1,6 +1,6 @@ --- title: "log10" -weight: 268 +weight: 269 --- Return the base 10 logarithm of a given number. diff --git a/v1/content/collection-api/math/log2.md b/v1/content/collection-api/math/log2.md index 8fa1b36c2d..bfe2baf8e2 100644 --- a/v1/content/collection-api/math/log2.md +++ b/v1/content/collection-api/math/log2.md @@ -1,6 +1,6 @@ --- title: "log2" -weight: 269 +weight: 270 --- Return the base 2 logarithm of a given number. diff --git a/v1/content/collection-api/math/loge.md b/v1/content/collection-api/math/loge.md index 832f6c5c22..3724bb2aa7 100644 --- a/v1/content/collection-api/math/loge.md +++ b/v1/content/collection-api/math/loge.md @@ -1,6 +1,6 @@ --- title: "loge" -weight: 270 +weight: 271 --- Returns the natural logarithm (base _e_) of a given number. diff --git a/v1/content/collection-api/math/pow.md b/v1/content/collection-api/math/pow.md index bd32ad36f5..13008e2442 100644 --- a/v1/content/collection-api/math/pow.md +++ b/v1/content/collection-api/math/pow.md @@ -1,6 +1,6 @@ --- title: "pow" -weight: 271 +weight: 272 --- Returns _x_ to the power of _y_. diff --git a/v1/content/collection-api/math/round.md b/v1/content/collection-api/math/round.md index ff8d4698fc..99aaba2ca4 100644 --- a/v1/content/collection-api/math/round.md +++ b/v1/content/collection-api/math/round.md @@ -1,6 +1,6 @@ --- title: "round" -weight: 272 +weight: 273 --- Return a number that will be rounded to the decimal places which are given as input. diff --git a/v1/content/collection-api/math/sin.md b/v1/content/collection-api/math/sin.md index a52a5151a7..b8f22b2de5 100644 --- a/v1/content/collection-api/math/sin.md +++ b/v1/content/collection-api/math/sin.md @@ -1,6 +1,6 @@ --- title: "sin" -weight: 273 +weight: 274 --- Return the sine of a given number. The value passed in this function should be in radians. diff --git a/v1/content/collection-api/math/sqrt.md b/v1/content/collection-api/math/sqrt.md index 4482e5eb56..2bd3d110e1 100644 --- a/v1/content/collection-api/math/sqrt.md +++ b/v1/content/collection-api/math/sqrt.md @@ -1,6 +1,6 @@ --- title: "sqrt" -weight: 274 +weight: 275 --- Return the square root of a given number. diff --git a/v1/content/collection-api/math/tan.md b/v1/content/collection-api/math/tan.md index b1eb336ef2..84cc58f50c 100644 --- a/v1/content/collection-api/math/tan.md +++ b/v1/content/collection-api/math/tan.md @@ -1,6 +1,6 @@ --- title: "tan" -weight: 275 +weight: 276 --- Return the tangent of a given number. The value passed in this function should be in radians. diff --git a/v1/content/collection-api/mod_enum/_index.md b/v1/content/collection-api/mod_enum/_index.md index 192dee54e0..d18b6feff9 100644 --- a/v1/content/collection-api/mod_enum/_index.md +++ b/v1/content/collection-api/mod_enum/_index.md @@ -1,6 +1,6 @@ --- title: "mod_enum" -weight: 276 +weight: 277 --- This function is used to modify an existing [enumerator type](../../data-types/enum). A number of actions can be performed with this function. diff --git a/v1/content/collection-api/mod_enum/add.md b/v1/content/collection-api/mod_enum/add.md index de641045aa..c5ddee0fcb 100644 --- a/v1/content/collection-api/mod_enum/add.md +++ b/v1/content/collection-api/mod_enum/add.md @@ -1,6 +1,6 @@ --- title: "add" -weight: 277 +weight: 278 --- Adds a member or method to an existing [enumerator type](../../../data-types/enum). diff --git a/v1/content/collection-api/mod_enum/def.md b/v1/content/collection-api/mod_enum/def.md index 05598254f1..82d1454ee6 100644 --- a/v1/content/collection-api/mod_enum/def.md +++ b/v1/content/collection-api/mod_enum/def.md @@ -1,6 +1,6 @@ --- title: "def" -weight: 278 +weight: 279 --- Set a member from an existing [enumerator type](../../../data-types/enum) as default member. diff --git a/v1/content/collection-api/mod_enum/del.md b/v1/content/collection-api/mod_enum/del.md index 2c5ed0e765..58a0f43a01 100644 --- a/v1/content/collection-api/mod_enum/del.md +++ b/v1/content/collection-api/mod_enum/del.md @@ -1,6 +1,6 @@ --- title: "del" -weight: 279 +weight: 280 --- Delete a member or method from an existing [enumerator type](../../../data-types/enum). diff --git a/v1/content/collection-api/mod_enum/mod.md b/v1/content/collection-api/mod_enum/mod.md index 772dd5d4ac..495d5a6ba1 100644 --- a/v1/content/collection-api/mod_enum/mod.md +++ b/v1/content/collection-api/mod_enum/mod.md @@ -1,6 +1,6 @@ --- title: "mod" -weight: 280 +weight: 281 --- Modify a member value or method closure from an existing [enumerator type](../../../data-types/enum). diff --git a/v1/content/collection-api/mod_enum/ren.md b/v1/content/collection-api/mod_enum/ren.md index e4967a98e9..333016eeb2 100644 --- a/v1/content/collection-api/mod_enum/ren.md +++ b/v1/content/collection-api/mod_enum/ren.md @@ -1,6 +1,6 @@ --- title: "ren" -weight: 281 +weight: 282 --- Rename a member value from an existing [enumerator type](../../../data-types/enum). diff --git a/v1/content/collection-api/mod_type/_index.md b/v1/content/collection-api/mod_type/_index.md index 870e1d199e..aa91978b08 100644 --- a/v1/content/collection-api/mod_type/_index.md +++ b/v1/content/collection-api/mod_type/_index.md @@ -1,6 +1,6 @@ --- title: "mod_type" -weight: 282 +weight: 283 --- This function is used to modify an existing [Type](../../overview/type). A number of actions can be performed with this function. diff --git a/v1/content/collection-api/mod_type/add.md b/v1/content/collection-api/mod_type/add.md index 555633c8a2..a8c63519e1 100644 --- a/v1/content/collection-api/mod_type/add.md +++ b/v1/content/collection-api/mod_type/add.md @@ -1,6 +1,6 @@ --- title: "add" -weight: 283 +weight: 284 --- Adds a property or method to an existing [Type](../../../overview/type). diff --git a/v1/content/collection-api/mod_type/all.md b/v1/content/collection-api/mod_type/all.md index 972eccfe1a..c3ff26e00d 100644 --- a/v1/content/collection-api/mod_type/all.md +++ b/v1/content/collection-api/mod_type/all.md @@ -1,6 +1,6 @@ --- title: "all" -weight: 284 +weight: 285 --- Run a given callback on all the instances of a given Type. diff --git a/v1/content/collection-api/mod_type/del.md b/v1/content/collection-api/mod_type/del.md index f4a77763b5..3f7fe6c7ec 100644 --- a/v1/content/collection-api/mod_type/del.md +++ b/v1/content/collection-api/mod_type/del.md @@ -1,6 +1,6 @@ --- title: "del" -weight: 285 +weight: 286 --- Deletes a property or method from an existing [Type](../../../overview/type). diff --git a/v1/content/collection-api/mod_type/hid.md b/v1/content/collection-api/mod_type/hid.md index 8530d87d67..3795099163 100644 --- a/v1/content/collection-api/mod_type/hid.md +++ b/v1/content/collection-api/mod_type/hid.md @@ -1,6 +1,6 @@ --- title: "hid" -weight: 286 +weight: 287 --- Enable or disable *hide-id* for an existing [Type](../../../overview/type). diff --git a/v1/content/collection-api/mod_type/mod.md b/v1/content/collection-api/mod_type/mod.md index aee0504985..e79166e909 100644 --- a/v1/content/collection-api/mod_type/mod.md +++ b/v1/content/collection-api/mod_type/mod.md @@ -1,6 +1,6 @@ --- title: "mod" -weight: 287 +weight: 288 --- Modifies the type definition of a property or the closure of a method from an existing [Type](../../../overview/type). diff --git a/v1/content/collection-api/mod_type/rel.md b/v1/content/collection-api/mod_type/rel.md index c48116feaa..a2ed3b7da8 100644 --- a/v1/content/collection-api/mod_type/rel.md +++ b/v1/content/collection-api/mod_type/rel.md @@ -1,6 +1,6 @@ --- title: "rel" -weight: 288 +weight: 289 --- Add or delete a relation between properties of the same or different types. diff --git a/v1/content/collection-api/mod_type/ren.md b/v1/content/collection-api/mod_type/ren.md index 007c763b51..d109cb73a6 100644 --- a/v1/content/collection-api/mod_type/ren.md +++ b/v1/content/collection-api/mod_type/ren.md @@ -1,6 +1,6 @@ --- title: "ren" -weight: 289 +weight: 290 --- Rename a property or method from an existing [Type](../../../overview/type). diff --git a/v1/content/collection-api/mod_type/wpo.md b/v1/content/collection-api/mod_type/wpo.md index 7ca8e2dde3..3a4afe609a 100644 --- a/v1/content/collection-api/mod_type/wpo.md +++ b/v1/content/collection-api/mod_type/wpo.md @@ -1,6 +1,6 @@ --- title: "wpo" -weight: 290 +weight: 291 --- Enable or disable *wrap-only* mode for an existing [Type](../../../overview/type). diff --git a/v1/content/collection-api/new.md b/v1/content/collection-api/new.md index 682474eede..91f5d91703 100644 --- a/v1/content/collection-api/new.md +++ b/v1/content/collection-api/new.md @@ -1,6 +1,6 @@ --- title: "new" -weight: 291 +weight: 292 --- Creates a new typed thing of a defined [Type](../../overview/type). diff --git a/v1/content/collection-api/new_type.md b/v1/content/collection-api/new_type.md index a9fc593b2c..ee45f7d4a3 100644 --- a/v1/content/collection-api/new_type.md +++ b/v1/content/collection-api/new_type.md @@ -1,6 +1,6 @@ --- title: "new_type" -weight: 292 +weight: 293 --- Creates a new [Type](../../overview/type). This function *only* creates a new type diff --git a/v1/content/collection-api/now.md b/v1/content/collection-api/now.md index be31036484..f0cd043ace 100644 --- a/v1/content/collection-api/now.md +++ b/v1/content/collection-api/now.md @@ -1,6 +1,6 @@ --- title: "now" -weight: 293 +weight: 294 --- Return the time in seconds since the epoch as a [floating point](../../data-types/float) number. diff --git a/v1/content/collection-api/nse.md b/v1/content/collection-api/nse.md index b11e033896..0055e7c25e 100644 --- a/v1/content/collection-api/nse.md +++ b/v1/content/collection-api/nse.md @@ -1,6 +1,6 @@ --- title: "nse" -weight: 294 +weight: 295 --- This function promises ThingsDB that your code has _no-side-effects_ and therefore does not require a [change](../../overview/changes). diff --git a/v1/content/collection-api/raise.md b/v1/content/collection-api/raise.md index e0db02eb2b..c1a03b29f5 100644 --- a/v1/content/collection-api/raise.md +++ b/v1/content/collection-api/raise.md @@ -1,6 +1,6 @@ --- title: "raise" -weight: 295 +weight: 296 --- Raises an [error](../../data-types/error). diff --git a/v1/content/collection-api/rand.md b/v1/content/collection-api/rand.md index 49d93d3d18..032b02cbb1 100644 --- a/v1/content/collection-api/rand.md +++ b/v1/content/collection-api/rand.md @@ -1,6 +1,6 @@ --- title: "rand" -weight: 296 +weight: 297 --- Returns **pseudo-random** number between `0.0` and `1.0`. diff --git a/v1/content/collection-api/randint.md b/v1/content/collection-api/randint.md index 801829be48..f6a8ac31da 100644 --- a/v1/content/collection-api/randint.md +++ b/v1/content/collection-api/randint.md @@ -1,6 +1,6 @@ --- title: "randint" -weight: 297 +weight: 298 --- Returns **pseudo-random** [integer](../../data-types/int) number between a given range. diff --git a/v1/content/collection-api/randstr.md b/v1/content/collection-api/randstr.md index e5561e586b..598e2c3bd5 100644 --- a/v1/content/collection-api/randstr.md +++ b/v1/content/collection-api/randstr.md @@ -1,6 +1,6 @@ --- title: "randstr" -weight: 298 +weight: 299 --- Returns a [string](../../data-types/str) with random characters. diff --git a/v1/content/collection-api/range.md b/v1/content/collection-api/range.md index a6922630f5..47a1fd95ad 100644 --- a/v1/content/collection-api/range.md +++ b/v1/content/collection-api/range.md @@ -1,6 +1,6 @@ --- title: "range" -weight: 299 +weight: 300 --- This function returns a [list](../../data-types/list) of numbers, starting from 0 (by default), increments by 1 (by default), and ends at a specified number. diff --git a/v1/content/collection-api/refs.md b/v1/content/collection-api/refs.md index e73a913f1d..02b149ee7c 100644 --- a/v1/content/collection-api/refs.md +++ b/v1/content/collection-api/refs.md @@ -1,6 +1,6 @@ --- title: "refs" -weight: 300 +weight: 301 --- Returns the reference count of a value. diff --git a/v1/content/collection-api/regex.md b/v1/content/collection-api/regex.md index e928ef72c0..91a759bc4d 100644 --- a/v1/content/collection-api/regex.md +++ b/v1/content/collection-api/regex.md @@ -1,6 +1,6 @@ --- title: "regex" -weight: 301 +weight: 302 --- Create a new regular expression. diff --git a/v1/content/collection-api/rename_enum.md b/v1/content/collection-api/rename_enum.md index 99505abd38..ce9531aef7 100644 --- a/v1/content/collection-api/rename_enum.md +++ b/v1/content/collection-api/rename_enum.md @@ -1,6 +1,6 @@ --- title: "rename_enum" -weight: 302 +weight: 303 --- Rename an [enum](../../data-types/enum) type. diff --git a/v1/content/collection-api/rename_type.md b/v1/content/collection-api/rename_type.md index ce72e4b1ac..d65c0585b4 100644 --- a/v1/content/collection-api/rename_type.md +++ b/v1/content/collection-api/rename_type.md @@ -1,6 +1,6 @@ --- title: "rename_type" -weight: 303 +weight: 304 --- Rename a [type](../../overview/type). diff --git a/v1/content/collection-api/room.md b/v1/content/collection-api/room.md index c2d5a3cb0b..d30ceab94b 100644 --- a/v1/content/collection-api/room.md +++ b/v1/content/collection-api/room.md @@ -1,6 +1,6 @@ --- title: "room" -weight: 304 +weight: 305 --- Returns a [room](../../data-types/room) from a specified value, that may be dynamic. If no value is given, a new room is returned. @@ -15,7 +15,7 @@ This function does *not* generate a [change](../../overview/changes). Argument | Type | Description -------- | ---- | ----------- -id | int (optional) | The Id for the room to return. +id | int/str (optional) | The Id for the room to return. The Id can also be a _name_ for a room (see [set_name](../../data-types/room/set_name)). ### Return value diff --git a/v1/content/collection-api/root.md b/v1/content/collection-api/root.md index 9963bd0699..4fbd8b16da 100644 --- a/v1/content/collection-api/root.md +++ b/v1/content/collection-api/root.md @@ -1,6 +1,6 @@ --- title: "root" -weight: 305 +weight: 306 --- Returns the `root` for the current collection or `nil` when the current scope is not a collection scope. diff --git a/v1/content/collection-api/set.md b/v1/content/collection-api/set.md index 53506d95db..2fbdc56737 100644 --- a/v1/content/collection-api/set.md +++ b/v1/content/collection-api/set.md @@ -1,6 +1,6 @@ --- title: "set" -weight: 306 +weight: 307 --- Returns a new empty [set](../../data-types/set). If an array is given, then all items in the diff --git a/v1/content/collection-api/set_enum.md b/v1/content/collection-api/set_enum.md index 4e5b12f834..50a9d375d9 100644 --- a/v1/content/collection-api/set_enum.md +++ b/v1/content/collection-api/set_enum.md @@ -1,6 +1,6 @@ --- title: "set_enum" -weight: 307 +weight: 308 --- Creates a new [enumerator type](../../data-types/enum). diff --git a/v1/content/collection-api/set_type.md b/v1/content/collection-api/set_type.md index 8fcccc63d5..f565d7e797 100644 --- a/v1/content/collection-api/set_type.md +++ b/v1/content/collection-api/set_type.md @@ -1,6 +1,6 @@ --- title: "set_type" -weight: 308 +weight: 309 --- Defines the properties of a [Type](../../overview/type). Function `set_type` works only on a new Type. Use `mod_type()` if you want to change an existing Type, see [mod_type](../mod_type). diff --git a/v1/content/collection-api/str.md b/v1/content/collection-api/str.md index eebb63cb3d..71733e55ff 100644 --- a/v1/content/collection-api/str.md +++ b/v1/content/collection-api/str.md @@ -1,6 +1,6 @@ --- title: "str" -weight: 309 +weight: 310 --- Convert a value to a string. If no value is given, an empty string `""` is returned. diff --git a/v1/content/collection-api/task.md b/v1/content/collection-api/task.md index 8a3c31edbe..a8c9d5828f 100644 --- a/v1/content/collection-api/task.md +++ b/v1/content/collection-api/task.md @@ -1,6 +1,6 @@ --- title: "task" -weight: 310 +weight: 311 --- Create a new task or get an existing task by Id. diff --git a/v1/content/collection-api/tasks.md b/v1/content/collection-api/tasks.md index f719d9acac..9517cdaaca 100644 --- a/v1/content/collection-api/tasks.md +++ b/v1/content/collection-api/tasks.md @@ -1,6 +1,6 @@ --- title: "tasks" -weight: 311 +weight: 312 --- Return a list with all the tasks in the current scope. diff --git a/v1/content/collection-api/thing.md b/v1/content/collection-api/thing.md index 2ac30dc38f..262e1f5a52 100644 --- a/v1/content/collection-api/thing.md +++ b/v1/content/collection-api/thing.md @@ -1,6 +1,6 @@ --- title: "thing" -weight: 312 +weight: 313 --- Returns a [thing](../../data-types/thing) from a specified value, that may be dynamic. If no value is given, a new thing is returned. diff --git a/v1/content/collection-api/time_zones_info.md b/v1/content/collection-api/time_zones_info.md index 507e7f0dee..ece911a6b6 100644 --- a/v1/content/collection-api/time_zones_info.md +++ b/v1/content/collection-api/time_zones_info.md @@ -1,6 +1,6 @@ --- title: "time_zones_info" -weight: 313 +weight: 314 --- Returns all available time zones in ThingsDB. diff --git a/v1/content/collection-api/timeit.md b/v1/content/collection-api/timeit.md index 4aa4292668..03f9f3a596 100644 --- a/v1/content/collection-api/timeit.md +++ b/v1/content/collection-api/timeit.md @@ -1,6 +1,6 @@ --- title: "timeit" -weight: 314 +weight: 315 --- The _timeit_ function can be used to check the duration of some code. It only measures the execution time of the code and does not include additional change creation and does not wait for futures to be completed. diff --git a/v1/content/collection-api/timeval.md b/v1/content/collection-api/timeval.md index 16e2ecfd35..a85e28be5e 100644 --- a/v1/content/collection-api/timeval.md +++ b/v1/content/collection-api/timeval.md @@ -1,6 +1,6 @@ --- title: "timeval" -weight: 315 +weight: 316 --- Returns a [timeval](../../data-types/timeval) depending on some optional values. diff --git a/v1/content/collection-api/try.md b/v1/content/collection-api/try.md index a2674dd43e..2a944fcbc8 100644 --- a/v1/content/collection-api/try.md +++ b/v1/content/collection-api/try.md @@ -1,6 +1,6 @@ --- title: "try" -weight: 316 +weight: 317 --- Try a statement and if the statement fails with an error, then the error is returned. diff --git a/v1/content/collection-api/type.md b/v1/content/collection-api/type.md index d5addf10bc..7b737d4277 100644 --- a/v1/content/collection-api/type.md +++ b/v1/content/collection-api/type.md @@ -1,6 +1,6 @@ --- title: "type" -weight: 317 +weight: 318 --- Returns the type name of a value. diff --git a/v1/content/collection-api/type_assert.md b/v1/content/collection-api/type_assert.md index 3a364f58e3..f06c7acbf2 100644 --- a/v1/content/collection-api/type_assert.md +++ b/v1/content/collection-api/type_assert.md @@ -1,6 +1,6 @@ --- title: "type_assert" -weight: 318 +weight: 319 --- Raises a [type_err()](../../errors/type_err) if the specified expression evaluates to `false`. diff --git a/v1/content/collection-api/type_count.md b/v1/content/collection-api/type_count.md index a96a35483d..c2decbbe49 100644 --- a/v1/content/collection-api/type_count.md +++ b/v1/content/collection-api/type_count.md @@ -1,6 +1,6 @@ --- title: "type_count" -weight: 319 +weight: 320 --- Returns the number of instances of a given [Type](../../overview/type) within a collection. diff --git a/v1/content/collection-api/type_info.md b/v1/content/collection-api/type_info.md index 8a3b622674..aaadd772da 100644 --- a/v1/content/collection-api/type_info.md +++ b/v1/content/collection-api/type_info.md @@ -1,6 +1,6 @@ --- title: "type_info" -weight: 320 +weight: 321 --- Returns information about a given [Type](../../overview/type). diff --git a/v1/content/collection-api/types_info.md b/v1/content/collection-api/types_info.md index f33f3a85df..ec1e1b9f08 100644 --- a/v1/content/collection-api/types_info.md +++ b/v1/content/collection-api/types_info.md @@ -1,6 +1,6 @@ --- title: "types_info" -weight: 321 +weight: 322 --- Returns [Type](../../overview/type) information about all the Types within a collection. diff --git a/v1/content/collection-api/wse.md b/v1/content/collection-api/wse.md index b8cda2c332..79f343defb 100644 --- a/v1/content/collection-api/wse.md +++ b/v1/content/collection-api/wse.md @@ -1,6 +1,6 @@ --- title: "wse" -weight: 322 +weight: 323 --- This function enforces ThingsDB to create a [change](../../overview/changes). diff --git a/v1/content/data-types/regex/_index.md b/v1/content/data-types/regex/_index.md index 99ac114aaa..860965c03f 100644 --- a/v1/content/data-types/regex/_index.md +++ b/v1/content/data-types/regex/_index.md @@ -1,6 +1,6 @@ --- title: "regex" -weight: 113 +weight: 114 --- Regular expression can be constructed using a literal which consists of a pattern enclosed between slashes, as follows: `re = /ab+c/;`. diff --git a/v1/content/data-types/regex/test.md b/v1/content/data-types/regex/test.md index cb21272b06..f7e23dd436 100644 --- a/v1/content/data-types/regex/test.md +++ b/v1/content/data-types/regex/test.md @@ -1,6 +1,6 @@ --- title: "test" -weight: 114 +weight: 115 --- diff --git a/v1/content/data-types/room/_index.md b/v1/content/data-types/room/_index.md index a72c5df3e7..bfa34227e1 100644 --- a/v1/content/data-types/room/_index.md +++ b/v1/content/data-types/room/_index.md @@ -13,4 +13,6 @@ Function | Description ------ | ----------- [emit](./emit) | Emit a *change*. [id](./id) | Return `id` of the room or `nil` when the room is not stored. +[name](./name) | Return the _name_ of the room or `nil` when the room has no name. +[set_name](./set_name) | Set or remove the _name_ for a room. diff --git a/v1/content/data-types/room/name.md b/v1/content/data-types/room/name.md new file mode 100644 index 0000000000..bfc285744d --- /dev/null +++ b/v1/content/data-types/room/name.md @@ -0,0 +1,38 @@ +--- +title: "name" +weight: 113 +--- + +Returns the name of the room or [nil](../../nil) if the room is nameless. + +This function does *not* generate a [change](../../../overview/changes). + +### Function + +*room*.`name()` + +### Arguments + +None + +### Return value + +Returns the name of the room or `nil`. + +### Example + +> This code creates a room, gives the room a name and uses the _name()_ function to return the name. + +```thingsdb,json_response +.room = room(); +.room.set_name('my_room'); + +// Return the name +.room.name(); +``` + +> Return value in JSON format + +```json +"my_room" +``` diff --git a/v1/content/data-types/room/set_name.md b/v1/content/data-types/room/set_name.md new file mode 100644 index 0000000000..389633e12e --- /dev/null +++ b/v1/content/data-types/room/set_name.md @@ -0,0 +1,40 @@ +--- +title: "set_name" +weight: 113 +--- + +Set the _name_ of a room. Provide a `nil` argument to remove the current name. + +This function generates a [change](../../overview/changes). + +### Function + +*room*.`set_name(name_or_nil)` + +### Arguments + +Argument | Type | Description +-------- | ---- | ----------- +`name_or_nil` | str/nil (required) | Name for the room or `nil` to remove the name. + +### Return value + +The value `nil`. + +### Example + +> This code creates a room, gives the room a name and uses the _name()_ function to return the name. + +```thingsdb,json_response +.room = room(); +.room.set_name('my_room'); + +// Return the name +.room.name(); +``` + +> Return value in JSON format + +```json +"my_room" +``` diff --git a/v1/content/data-types/set/_index.md b/v1/content/data-types/set/_index.md index d145de7ccf..5ed44394a6 100644 --- a/v1/content/data-types/set/_index.md +++ b/v1/content/data-types/set/_index.md @@ -1,6 +1,6 @@ --- title: "set" -weight: 115 +weight: 116 --- A set is a collection which is unordered and can only contain things. diff --git a/v1/content/data-types/set/add.md b/v1/content/data-types/set/add.md index 46203f3121..daff2b3528 100644 --- a/v1/content/data-types/set/add.md +++ b/v1/content/data-types/set/add.md @@ -1,6 +1,6 @@ --- title: "add" -weight: 116 +weight: 117 --- Adds a new thing to the [set](..) and returns the number of things which are diff --git a/v1/content/data-types/set/clear.md b/v1/content/data-types/set/clear.md index 6cfee51ef0..1cb8f1db39 100644 --- a/v1/content/data-types/set/clear.md +++ b/v1/content/data-types/set/clear.md @@ -1,6 +1,6 @@ --- title: "clear" -weight: 117 +weight: 118 --- Removes all things from a [set](..). diff --git a/v1/content/data-types/set/copy.md b/v1/content/data-types/set/copy.md index c90a66608c..8bdea44dc0 100644 --- a/v1/content/data-types/set/copy.md +++ b/v1/content/data-types/set/copy.md @@ -1,6 +1,6 @@ --- title: "copy" -weight: 118 +weight: 119 --- Copy a *set*. diff --git a/v1/content/data-types/set/dup.md b/v1/content/data-types/set/dup.md index 5da0c51292..e541c7fb97 100644 --- a/v1/content/data-types/set/dup.md +++ b/v1/content/data-types/set/dup.md @@ -1,6 +1,6 @@ --- title: "dup" -weight: 119 +weight: 120 --- Duplicate a *set*. diff --git a/v1/content/data-types/set/each.md b/v1/content/data-types/set/each.md index 9807775ac4..82c5491b18 100644 --- a/v1/content/data-types/set/each.md +++ b/v1/content/data-types/set/each.md @@ -1,6 +1,6 @@ --- title: "each" -weight: 120 +weight: 121 --- Iterate over items in a [set](..). diff --git a/v1/content/data-types/set/every.md b/v1/content/data-types/set/every.md index 53d221ebd8..7da9c1d2ea 100644 --- a/v1/content/data-types/set/every.md +++ b/v1/content/data-types/set/every.md @@ -1,6 +1,6 @@ --- title: "every" -weight: 121 +weight: 122 --- This function checks if all things in the [set](..) pass a given test. It returns a [boolean](../../bool) value. diff --git a/v1/content/data-types/set/filter.md b/v1/content/data-types/set/filter.md index 0e14f941e9..a7c72aa065 100644 --- a/v1/content/data-types/set/filter.md +++ b/v1/content/data-types/set/filter.md @@ -1,6 +1,6 @@ --- title: "filter" -weight: 122 +weight: 123 --- The function returns a new set with things that pass the test. diff --git a/v1/content/data-types/set/find.md b/v1/content/data-types/set/find.md index 0dcb328433..b20bc42f21 100644 --- a/v1/content/data-types/set/find.md +++ b/v1/content/data-types/set/find.md @@ -1,6 +1,6 @@ --- title: "find" -weight: 123 +weight: 124 --- This function returns the value of the first item in the [set](..) that passes the test. diff --git a/v1/content/data-types/set/has.md b/v1/content/data-types/set/has.md index 687c1358cd..e68957868e 100644 --- a/v1/content/data-types/set/has.md +++ b/v1/content/data-types/set/has.md @@ -1,6 +1,6 @@ --- title: "has" -weight: 124 +weight: 125 --- Determines if a [set](..) has a given thing. diff --git a/v1/content/data-types/set/len.md b/v1/content/data-types/set/len.md index e6cce5f0cd..1ff53fbbce 100644 --- a/v1/content/data-types/set/len.md +++ b/v1/content/data-types/set/len.md @@ -1,6 +1,6 @@ --- title: "len" -weight: 125 +weight: 126 --- Returns the length of a [set](..). diff --git a/v1/content/data-types/set/map.md b/v1/content/data-types/set/map.md index fbed327248..b50b5e8f7a 100644 --- a/v1/content/data-types/set/map.md +++ b/v1/content/data-types/set/map.md @@ -1,6 +1,6 @@ --- title: "map" -weight: 126 +weight: 127 --- The function iterates over items in a [set](..) and diff --git a/v1/content/data-types/set/map_id.md b/v1/content/data-types/set/map_id.md index 994a164cc3..d4b6d05ed1 100644 --- a/v1/content/data-types/set/map_id.md +++ b/v1/content/data-types/set/map_id.md @@ -1,6 +1,6 @@ --- title: "map_id" -weight: 127 +weight: 128 --- The function returns a `list` with the Ids of all the things in the `set`. diff --git a/v1/content/data-types/set/map_wrap.md b/v1/content/data-types/set/map_wrap.md index 02b5dfeaa3..3a5efd9909 100644 --- a/v1/content/data-types/set/map_wrap.md +++ b/v1/content/data-types/set/map_wrap.md @@ -1,6 +1,6 @@ --- title: "map_wrap" -weight: 128 +weight: 129 --- The function returns a `list` with every thing wrapped according the given type. diff --git a/v1/content/data-types/set/one.md b/v1/content/data-types/set/one.md index 881f2d6fbf..b8f7ae8dcb 100644 --- a/v1/content/data-types/set/one.md +++ b/v1/content/data-types/set/one.md @@ -1,6 +1,6 @@ --- title: "one" -weight: 129 +weight: 130 --- This function returns a _thing_ from a [set](..). The set must contain at least one diff --git a/v1/content/data-types/set/reduce.md b/v1/content/data-types/set/reduce.md index 0b278f5de3..50d950d1d5 100644 --- a/v1/content/data-types/set/reduce.md +++ b/v1/content/data-types/set/reduce.md @@ -1,6 +1,6 @@ --- title: "reduce" -weight: 130 +weight: 131 --- Executes a given reducer [closure](../../closure) on every thing in the set, accumulating to a single return value. diff --git a/v1/content/data-types/set/remove.md b/v1/content/data-types/set/remove.md index 422659fd19..951bee6653 100644 --- a/v1/content/data-types/set/remove.md +++ b/v1/content/data-types/set/remove.md @@ -1,6 +1,6 @@ --- title: "remove" -weight: 131 +weight: 132 --- This function can be used to remove `things` from a `set`. diff --git a/v1/content/data-types/set/restriction.md b/v1/content/data-types/set/restriction.md index 5772176ad5..42e01e56fe 100644 --- a/v1/content/data-types/set/restriction.md +++ b/v1/content/data-types/set/restriction.md @@ -1,6 +1,6 @@ --- title: "restriction" -weight: 132 +weight: 133 --- Returns the set restriction as type [str](../../str) or [nil](../../nil) when the set is *not* value restricted. A set can *only* be restricted if the set is a property of a *typed* thing (see the [example](#example)). diff --git a/v1/content/data-types/set/some.md b/v1/content/data-types/set/some.md index 2692d7ed37..57d2855159 100644 --- a/v1/content/data-types/set/some.md +++ b/v1/content/data-types/set/some.md @@ -1,6 +1,6 @@ --- title: "some" -weight: 133 +weight: 134 --- This function checks if at least one thing in the [set](..) passes a given test. It returns a [boolean](../../bool) value. diff --git a/v1/content/data-types/str/_index.md b/v1/content/data-types/str/_index.md index 73e1c07315..f6d9f75d6b 100644 --- a/v1/content/data-types/str/_index.md +++ b/v1/content/data-types/str/_index.md @@ -1,6 +1,6 @@ --- title: "str" -weight: 134 +weight: 135 --- This is the `string` type of ThingsDB. A value of type `str` *should* contain valid UTF-8 characters. This diff --git a/v1/content/data-types/str/contains.md b/v1/content/data-types/str/contains.md index 28e3a2713d..699388a791 100644 --- a/v1/content/data-types/str/contains.md +++ b/v1/content/data-types/str/contains.md @@ -1,6 +1,6 @@ --- title: "contains" -weight: 135 +weight: 136 --- Determines if a given string is a substring of a [string](..). diff --git a/v1/content/data-types/str/ends_with.md b/v1/content/data-types/str/ends_with.md index 9807bed48a..3ab607e7f9 100644 --- a/v1/content/data-types/str/ends_with.md +++ b/v1/content/data-types/str/ends_with.md @@ -1,6 +1,6 @@ --- title: "ends_with" -weight: 136 +weight: 137 --- Determines if a [string](..) ends with characters given by another string. diff --git a/v1/content/data-types/str/len.md b/v1/content/data-types/str/len.md index abe361bf34..ba2a124da2 100644 --- a/v1/content/data-types/str/len.md +++ b/v1/content/data-types/str/len.md @@ -1,6 +1,6 @@ --- title: "len" -weight: 137 +weight: 138 --- Returns the length of a [string](..). diff --git a/v1/content/data-types/str/lower.md b/v1/content/data-types/str/lower.md index 92953b8db1..74aba1a0af 100644 --- a/v1/content/data-types/str/lower.md +++ b/v1/content/data-types/str/lower.md @@ -1,6 +1,6 @@ --- title: "lower" -weight: 138 +weight: 139 --- Return a new [string](..) in which all case-based characters are in lower case. diff --git a/v1/content/data-types/str/replace.md b/v1/content/data-types/str/replace.md index f46c71d7e1..e9f9650c04 100644 --- a/v1/content/data-types/str/replace.md +++ b/v1/content/data-types/str/replace.md @@ -1,6 +1,6 @@ --- title: "replace" -weight: 139 +weight: 140 --- Return a new [string](..) in which in which the occurrences of *old* have been replaced with *new*. Instead of an *old* string it is also possible to use a regular expression and the *new* string may also be a closure which then in turn should return a new string to replace the *old* part with. diff --git a/v1/content/data-types/str/split.md b/v1/content/data-types/str/split.md index dd918c66e8..fc07ffd14d 100644 --- a/v1/content/data-types/str/split.md +++ b/v1/content/data-types/str/split.md @@ -1,6 +1,6 @@ --- title: "split" -weight: 140 +weight: 141 --- Return a new [string](..) in which all case-based characters are in lower case. diff --git a/v1/content/data-types/str/starts_with.md b/v1/content/data-types/str/starts_with.md index 34cc40163d..83899c35ad 100644 --- a/v1/content/data-types/str/starts_with.md +++ b/v1/content/data-types/str/starts_with.md @@ -1,6 +1,6 @@ --- title: "starts_with" -weight: 141 +weight: 142 --- Determines if a [string](..) starts with characters given by another string. diff --git a/v1/content/data-types/str/trim.md b/v1/content/data-types/str/trim.md index 4f20a09d81..ba38cde4a4 100644 --- a/v1/content/data-types/str/trim.md +++ b/v1/content/data-types/str/trim.md @@ -1,6 +1,6 @@ --- title: "trim" -weight: 142 +weight: 143 --- This function can be used to remove all white-space characters from both the start and end of a string. diff --git a/v1/content/data-types/str/trim_left.md b/v1/content/data-types/str/trim_left.md index fa3ebb079f..9921ee3769 100644 --- a/v1/content/data-types/str/trim_left.md +++ b/v1/content/data-types/str/trim_left.md @@ -1,6 +1,6 @@ --- title: "trim_left" -weight: 143 +weight: 144 --- This function can be used to remove all white-space characters from the start of a string. diff --git a/v1/content/data-types/str/trim_right.md b/v1/content/data-types/str/trim_right.md index 1f0f3f159b..0b73334aa0 100644 --- a/v1/content/data-types/str/trim_right.md +++ b/v1/content/data-types/str/trim_right.md @@ -1,6 +1,6 @@ --- title: "trim_right" -weight: 144 +weight: 145 --- This function can be used to remove all white-space characters from the end of a string. diff --git a/v1/content/data-types/str/upper.md b/v1/content/data-types/str/upper.md index 4f998fae7d..3c3ad30d29 100644 --- a/v1/content/data-types/str/upper.md +++ b/v1/content/data-types/str/upper.md @@ -1,6 +1,6 @@ --- title: "upper" -weight: 145 +weight: 146 --- Return a new [string](..) in which all case-based characters are in upper case. diff --git a/v1/content/data-types/task/_index.md b/v1/content/data-types/task/_index.md index 0da7fdfa10..6eb45e2d3d 100644 --- a/v1/content/data-types/task/_index.md +++ b/v1/content/data-types/task/_index.md @@ -1,6 +1,6 @@ --- title: "task" -weight: 146 +weight: 147 --- ### Functions diff --git a/v1/content/data-types/task/again_at.md b/v1/content/data-types/task/again_at.md index c98b1f0460..8b4231411c 100644 --- a/v1/content/data-types/task/again_at.md +++ b/v1/content/data-types/task/again_at.md @@ -1,6 +1,6 @@ --- title: "again_at" -weight: 147 +weight: 148 --- Re-schedules the task to a new date/time. The task will run again at the new date/time, even if the task returns with an error. diff --git a/v1/content/data-types/task/again_in.md b/v1/content/data-types/task/again_in.md index 447121ccb1..aeaa32b93b 100644 --- a/v1/content/data-types/task/again_in.md +++ b/v1/content/data-types/task/again_in.md @@ -1,6 +1,6 @@ --- title: "again_in" -weight: 148 +weight: 149 --- Re-schedules the task to a new date/time relative to the original start time. The task will run again at the new date/time, even if the task returns with an error. diff --git a/v1/content/data-types/task/args.md b/v1/content/data-types/task/args.md index f0edcb7187..e8c41a253f 100644 --- a/v1/content/data-types/task/args.md +++ b/v1/content/data-types/task/args.md @@ -1,6 +1,6 @@ --- title: "args" -weight: 149 +weight: 150 --- Get task arguments as a new list. diff --git a/v1/content/data-types/task/at.md b/v1/content/data-types/task/at.md index a36bddb3ad..54af83b274 100644 --- a/v1/content/data-types/task/at.md +++ b/v1/content/data-types/task/at.md @@ -1,6 +1,6 @@ --- title: "at" -weight: 150 +weight: 151 --- Get the scheduled start time of a task or `nil` if the task is not scheduled. diff --git a/v1/content/data-types/task/cancel.md b/v1/content/data-types/task/cancel.md index f1ecd01d21..ea24b58232 100644 --- a/v1/content/data-types/task/cancel.md +++ b/v1/content/data-types/task/cancel.md @@ -1,6 +1,6 @@ --- title: "cancel" -weight: 152 +weight: 153 --- Cancel a task. Using this function sets the task error to *[cancelled_err](../../../errors//cancelled_err)* and the task will not be executed. This function differs from [del()](../del) as it will not remove the task. diff --git a/v1/content/data-types/task/closure.md b/v1/content/data-types/task/closure.md index 4cd19b037b..4a03c48bd5 100644 --- a/v1/content/data-types/task/closure.md +++ b/v1/content/data-types/task/closure.md @@ -1,6 +1,6 @@ --- title: "closure" -weight: 153 +weight: 154 --- Get the closure of a task. diff --git a/v1/content/data-types/task/del.md b/v1/content/data-types/task/del.md index 25d79df028..8def2d6e76 100644 --- a/v1/content/data-types/task/del.md +++ b/v1/content/data-types/task/del.md @@ -1,6 +1,6 @@ --- title: "del" -weight: 154 +weight: 155 --- Delete a task. After calling this function, the task will be removed from ThingsDB. If there are references to this task, then those references will no longer contain the original task but an empty task instead. diff --git a/v1/content/data-types/task/err.md b/v1/content/data-types/task/err.md index f040f7b6e2..b3d97568f0 100644 --- a/v1/content/data-types/task/err.md +++ b/v1/content/data-types/task/err.md @@ -1,6 +1,6 @@ --- title: "err" -weight: 151 +weight: 152 --- When a task as failed with an error, the error is stored on the task and the task will not be removed automatically. diff --git a/v1/content/data-types/task/id.md b/v1/content/data-types/task/id.md index 38a2a0e7af..635088caf6 100644 --- a/v1/content/data-types/task/id.md +++ b/v1/content/data-types/task/id.md @@ -1,6 +1,6 @@ --- title: "id" -weight: 155 +weight: 156 --- Returns the `id` of a [task](..) or `nil` if the task is removed *(empty)*. diff --git a/v1/content/data-types/task/owner.md b/v1/content/data-types/task/owner.md index a3886a5206..c75667c503 100644 --- a/v1/content/data-types/task/owner.md +++ b/v1/content/data-types/task/owner.md @@ -1,6 +1,6 @@ --- title: "owner" -weight: 156 +weight: 157 --- Get the owner of the the task as string value. diff --git a/v1/content/data-types/task/set_args.md b/v1/content/data-types/task/set_args.md index 5b8be17e26..16f8a6ba0c 100644 --- a/v1/content/data-types/task/set_args.md +++ b/v1/content/data-types/task/set_args.md @@ -1,6 +1,6 @@ --- title: "set_args" -weight: 157 +weight: 158 --- Set task arguments. diff --git a/v1/content/data-types/task/set_closure.md b/v1/content/data-types/task/set_closure.md index 1bfa273684..f913d7d645 100644 --- a/v1/content/data-types/task/set_closure.md +++ b/v1/content/data-types/task/set_closure.md @@ -1,6 +1,6 @@ --- title: "set_closure" -weight: 158 +weight: 159 --- Change the closure to execute. Obsolete closure arguments will be removed when the new closure accepts less arguments than the previous closure. diff --git a/v1/content/data-types/task/set_owner.md b/v1/content/data-types/task/set_owner.md index c4458cde18..3f81793fbd 100644 --- a/v1/content/data-types/task/set_owner.md +++ b/v1/content/data-types/task/set_owner.md @@ -1,6 +1,6 @@ --- title: "set_owner" -weight: 159 +weight: 160 --- Change the owner of a task. The new owner must have at least **CHANGE** permissions on scope where the task is created and access rights may not exceed the access rights of the user who is calling this method. diff --git a/v1/content/data-types/thing/_index.md b/v1/content/data-types/thing/_index.md index 821ac9d00e..c0ee6e54e7 100644 --- a/v1/content/data-types/thing/_index.md +++ b/v1/content/data-types/thing/_index.md @@ -1,6 +1,6 @@ --- title: "thing" -weight: 160 +weight: 161 --- A Thing in ThingsDB is a _key/value_ object where each key must be of type [str](../str) _(except for some [reserved properties](../../overview/properties))_ and values can be any type. diff --git a/v1/content/data-types/thing/assign.md b/v1/content/data-types/thing/assign.md index df712ba9d8..faf70605d9 100644 --- a/v1/content/data-types/thing/assign.md +++ b/v1/content/data-types/thing/assign.md @@ -1,6 +1,6 @@ --- title: "assign" -weight: 161 +weight: 162 --- Copies properties from a given [thing](..). Existing properties will be overwritten and new properties will be added. If this function is used on a *[typed](../../typed)* thing, *all* properties of the source must be valid according the type specification, otherwise an exception will be raised and no properties will be copied. diff --git a/v1/content/data-types/thing/clear.md b/v1/content/data-types/thing/clear.md index c7d752917e..898a45bbb8 100644 --- a/v1/content/data-types/thing/clear.md +++ b/v1/content/data-types/thing/clear.md @@ -1,6 +1,6 @@ --- title: "clear" -weight: 162 +weight: 163 --- Removes all properties from a [thing](..). diff --git a/v1/content/data-types/thing/copy.md b/v1/content/data-types/thing/copy.md index e3a2edeb7e..8dbcb607bd 100644 --- a/v1/content/data-types/thing/copy.md +++ b/v1/content/data-types/thing/copy.md @@ -1,6 +1,6 @@ --- title: "copy" -weight: 163 +weight: 164 --- Copy a *thing*. diff --git a/v1/content/data-types/thing/del.md b/v1/content/data-types/thing/del.md index 8aa5233396..0a67eaa834 100644 --- a/v1/content/data-types/thing/del.md +++ b/v1/content/data-types/thing/del.md @@ -1,6 +1,6 @@ --- title: "del" -weight: 164 +weight: 165 --- Delete a property from a [thing](..). diff --git a/v1/content/data-types/thing/dup.md b/v1/content/data-types/thing/dup.md index e102b4f13d..5769652a29 100644 --- a/v1/content/data-types/thing/dup.md +++ b/v1/content/data-types/thing/dup.md @@ -1,6 +1,6 @@ --- title: "dup" -weight: 165 +weight: 166 --- Create a duplicate of a *thing*. diff --git a/v1/content/data-types/thing/each.md b/v1/content/data-types/thing/each.md index 6854e2754c..9604532a2f 100644 --- a/v1/content/data-types/thing/each.md +++ b/v1/content/data-types/thing/each.md @@ -1,6 +1,6 @@ --- title: "each" -weight: 166 +weight: 167 --- Iterate over all properties on a [thing](..). diff --git a/v1/content/data-types/thing/equals.md b/v1/content/data-types/thing/equals.md index 116235a8e7..6711c837f7 100644 --- a/v1/content/data-types/thing/equals.md +++ b/v1/content/data-types/thing/equals.md @@ -1,6 +1,6 @@ --- title: "equals" -weight: 167 +weight: 168 --- Determines if a [thing](..) is equal to another thing. diff --git a/v1/content/data-types/thing/filter.md b/v1/content/data-types/thing/filter.md index ac942f18d4..57a2585498 100644 --- a/v1/content/data-types/thing/filter.md +++ b/v1/content/data-types/thing/filter.md @@ -1,6 +1,6 @@ --- title: "filter" -weight: 168 +weight: 169 --- The function returns a new thing with properties that pass the test. diff --git a/v1/content/data-types/thing/get.md b/v1/content/data-types/thing/get.md index da566d46b3..f924f96708 100644 --- a/v1/content/data-types/thing/get.md +++ b/v1/content/data-types/thing/get.md @@ -1,6 +1,6 @@ --- title: "get" -weight: 169 +weight: 170 --- Return the value of a property on a [thing](..) by a given property name. diff --git a/v1/content/data-types/thing/has.md b/v1/content/data-types/thing/has.md index 652d712dbf..183eb17397 100644 --- a/v1/content/data-types/thing/has.md +++ b/v1/content/data-types/thing/has.md @@ -1,6 +1,6 @@ --- title: "has" -weight: 170 +weight: 171 --- Determines if a [thing](..) has a given property. diff --git a/v1/content/data-types/thing/id.md b/v1/content/data-types/thing/id.md index 5af2074da2..e0844887be 100644 --- a/v1/content/data-types/thing/id.md +++ b/v1/content/data-types/thing/id.md @@ -1,6 +1,6 @@ --- title: "id" -weight: 171 +weight: 172 --- Returns the `id` of a [thing](..) or `nil` if the thing is not stored. diff --git a/v1/content/data-types/thing/keys.md b/v1/content/data-types/thing/keys.md index 6dc07cd73d..dd24183556 100644 --- a/v1/content/data-types/thing/keys.md +++ b/v1/content/data-types/thing/keys.md @@ -1,6 +1,6 @@ --- title: "keys" -weight: 172 +weight: 173 --- ## keys diff --git a/v1/content/data-types/thing/len.md b/v1/content/data-types/thing/len.md index eee3071cdc..06f1062977 100644 --- a/v1/content/data-types/thing/len.md +++ b/v1/content/data-types/thing/len.md @@ -1,6 +1,6 @@ --- title: "len" -weight: 173 +weight: 174 --- Returns the number of items in a [thing](..). diff --git a/v1/content/data-types/thing/map.md b/v1/content/data-types/thing/map.md index 4054440c42..36fd1b8258 100644 --- a/v1/content/data-types/thing/map.md +++ b/v1/content/data-types/thing/map.md @@ -1,6 +1,6 @@ --- title: "map" -weight: 174 +weight: 175 --- The function iterates over all properties on a [thing](..) and diff --git a/v1/content/data-types/thing/remove.md b/v1/content/data-types/thing/remove.md index dfbd05a6a1..4e4a7cd8ec 100644 --- a/v1/content/data-types/thing/remove.md +++ b/v1/content/data-types/thing/remove.md @@ -1,6 +1,6 @@ --- title: "remove" -weight: 175 +weight: 176 --- This function removes all properties from a [thing](../../thing) that satisfies the callback function. diff --git a/v1/content/data-types/thing/ren.md b/v1/content/data-types/thing/ren.md index fe6a35f24e..e9349d5fed 100644 --- a/v1/content/data-types/thing/ren.md +++ b/v1/content/data-types/thing/ren.md @@ -1,6 +1,6 @@ --- title: "ren" -weight: 176 +weight: 177 --- Rename a property on a [thing](..). diff --git a/v1/content/data-types/thing/restrict.md b/v1/content/data-types/thing/restrict.md index 077123bf4b..23272fbeea 100644 --- a/v1/content/data-types/thing/restrict.md +++ b/v1/content/data-types/thing/restrict.md @@ -1,6 +1,6 @@ --- title: "restrict" -weight: 177 +weight: 178 --- Set or remove a value restriction on a thing. Function [restriction()](../restriction) can be used to view the current restriction. diff --git a/v1/content/data-types/thing/restriction.md b/v1/content/data-types/thing/restriction.md index 2e2bd06233..829112c6b9 100644 --- a/v1/content/data-types/thing/restriction.md +++ b/v1/content/data-types/thing/restriction.md @@ -1,6 +1,6 @@ --- title: "restriction" -weight: 178 +weight: 179 --- Returns the value restriction of a thing as type [str](../../str) or [nil](../../nil) when the thing is *not* value restricted. A thing can be restricted when the thing is a property of a *typed* thing or by using the [restrict(..)](../restrict) function (see the [example](#example)). diff --git a/v1/content/data-types/thing/search.md b/v1/content/data-types/thing/search.md index 0c3c70b282..100f2d8d8e 100644 --- a/v1/content/data-types/thing/search.md +++ b/v1/content/data-types/thing/search.md @@ -1,6 +1,6 @@ --- title: "search" -weight: 179 +weight: 180 --- Find the parent(s) of a given thing. diff --git a/v1/content/data-types/thing/set.md b/v1/content/data-types/thing/set.md index dce87f17e6..30287f2d7c 100644 --- a/v1/content/data-types/thing/set.md +++ b/v1/content/data-types/thing/set.md @@ -1,6 +1,6 @@ --- title: "set" -weight: 180 +weight: 181 --- Creates a new property on a [thing](..). If the property already exists then the old diff --git a/v1/content/data-types/thing/to_type.md b/v1/content/data-types/thing/to_type.md index 8363e28430..2c09c483f9 100644 --- a/v1/content/data-types/thing/to_type.md +++ b/v1/content/data-types/thing/to_type.md @@ -1,6 +1,6 @@ --- title: "to_type" -weight: 181 +weight: 182 --- Converts a *[thing](../../thing)* into a *[typed](../../typed)* thing. diff --git a/v1/content/data-types/thing/values.md b/v1/content/data-types/thing/values.md index bbec468ac5..e08216e3f3 100644 --- a/v1/content/data-types/thing/values.md +++ b/v1/content/data-types/thing/values.md @@ -1,6 +1,6 @@ --- title: "values" -weight: 182 +weight: 183 --- Returns a list with all the property values of a [thing](..). diff --git a/v1/content/data-types/thing/vmap.md b/v1/content/data-types/thing/vmap.md index c817dd33d2..648586d6ab 100644 --- a/v1/content/data-types/thing/vmap.md +++ b/v1/content/data-types/thing/vmap.md @@ -1,6 +1,6 @@ --- title: "vmap" -weight: 183 +weight: 184 --- The function returns a new thing with equal keys but values computed as a result of a given closure callback. diff --git a/v1/content/data-types/thing/wrap.md b/v1/content/data-types/thing/wrap.md index ba5c444bec..6e091ab32d 100644 --- a/v1/content/data-types/thing/wrap.md +++ b/v1/content/data-types/thing/wrap.md @@ -1,6 +1,6 @@ --- title: "wrap" -weight: 184 +weight: 185 --- Wrap a thing with a [Type](../../../overview/type) to filter out properties, while preserving the Id. diff --git a/v1/content/data-types/timeval.md b/v1/content/data-types/timeval.md index 79f7749a1b..54d600e4bb 100644 --- a/v1/content/data-types/timeval.md +++ b/v1/content/data-types/timeval.md @@ -1,6 +1,6 @@ --- title: "timeval" -weight: 185 +weight: 186 --- Type `timeval` is exactly the same as type [datetime](../datetime). The only difference is the diff --git a/v1/content/data-types/tuple.md b/v1/content/data-types/tuple.md index f9e10cf030..8464a5cdf6 100644 --- a/v1/content/data-types/tuple.md +++ b/v1/content/data-types/tuple.md @@ -1,6 +1,6 @@ --- title: "tuple" -weight: 186 +weight: 187 --- All nested *arrays* are immutable and thus tuples. diff --git a/v1/content/data-types/typed/_index.md b/v1/content/data-types/typed/_index.md index 020a962027..2b846a5245 100644 --- a/v1/content/data-types/typed/_index.md +++ b/v1/content/data-types/typed/_index.md @@ -1,6 +1,6 @@ --- title: "typed" -weight: 187 +weight: 188 --- diff --git a/v1/content/data-types/typed/to_thing.md b/v1/content/data-types/typed/to_thing.md index fb0c380ac7..0a0bccb50f 100644 --- a/v1/content/data-types/typed/to_thing.md +++ b/v1/content/data-types/typed/to_thing.md @@ -1,6 +1,6 @@ --- title: "to_thing" -weight: 188 +weight: 189 --- Converts a *[typed](../../typed)* thing into a *[thing](../../thing)*. diff --git a/v1/content/data-types/wtype/_index.md b/v1/content/data-types/wtype/_index.md index bb5eab3d6c..fc24d2a0e1 100644 --- a/v1/content/data-types/wtype/_index.md +++ b/v1/content/data-types/wtype/_index.md @@ -1,6 +1,6 @@ --- title: "˂Type˃" -weight: 189 +weight: 190 --- diff --git a/v1/content/data-types/wtype/copy.md b/v1/content/data-types/wtype/copy.md index 613d4573c9..434bd03183 100644 --- a/v1/content/data-types/wtype/copy.md +++ b/v1/content/data-types/wtype/copy.md @@ -1,6 +1,6 @@ --- title: "copy" -weight: 190 +weight: 191 --- Copy a [wrapped](../) thing. diff --git a/v1/content/data-types/wtype/dup.md b/v1/content/data-types/wtype/dup.md index a10e78ccc6..2c5429d16b 100644 --- a/v1/content/data-types/wtype/dup.md +++ b/v1/content/data-types/wtype/dup.md @@ -1,6 +1,6 @@ --- title: "dup" -weight: 191 +weight: 192 --- Duplicate a [wrapped](../) thing. diff --git a/v1/content/data-types/wtype/id.md b/v1/content/data-types/wtype/id.md index 3f683256a8..a032de7345 100644 --- a/v1/content/data-types/wtype/id.md +++ b/v1/content/data-types/wtype/id.md @@ -1,6 +1,6 @@ --- title: "id" -weight: 192 +weight: 193 --- Returns the `id` of a _wrapped_ [thing](..) or `nil` if the thing is not stored. diff --git a/v1/content/data-types/wtype/unwrap.md b/v1/content/data-types/wtype/unwrap.md index d98cae2f93..d46a683e5d 100644 --- a/v1/content/data-types/wtype/unwrap.md +++ b/v1/content/data-types/wtype/unwrap.md @@ -1,6 +1,6 @@ --- title: "unwrap" -weight: 193 +weight: 194 --- Unwrap a [wrapped](../) thing. diff --git a/v1/content/errors/_index.md b/v1/content/errors/_index.md index 2166a65cbc..21ed531e51 100644 --- a/v1/content/errors/_index.md +++ b/v1/content/errors/_index.md @@ -1,6 +1,6 @@ --- title: "Errors" -weight: 394 +weight: 395 chapter: false --- diff --git a/v1/content/errors/assert_err.md b/v1/content/errors/assert_err.md index ffd0f56381..f25fb5cc56 100644 --- a/v1/content/errors/assert_err.md +++ b/v1/content/errors/assert_err.md @@ -1,6 +1,6 @@ --- title: "assert_err" -weight: 395 +weight: 396 --- Returns an [error](../../data-types/error) when an assertion has failed. diff --git a/v1/content/errors/auth_err.md b/v1/content/errors/auth_err.md index 9a5a63699d..65fa12f2c6 100644 --- a/v1/content/errors/auth_err.md +++ b/v1/content/errors/auth_err.md @@ -1,6 +1,6 @@ --- title: "auth_err" -weight: 396 +weight: 397 --- Returns an [error](../../data-types/error) when authentication has failed. diff --git a/v1/content/errors/bad_data_err.md b/v1/content/errors/bad_data_err.md index 81273077b9..12531b163c 100644 --- a/v1/content/errors/bad_data_err.md +++ b/v1/content/errors/bad_data_err.md @@ -1,6 +1,6 @@ --- title: "bad_data_err" -weight: 397 +weight: 398 --- Returns an [error](../../data-types/error) when a request is malformed. diff --git a/v1/content/errors/cancelled_err.md b/v1/content/errors/cancelled_err.md index 8713b6decb..a45259572c 100644 --- a/v1/content/errors/cancelled_err.md +++ b/v1/content/errors/cancelled_err.md @@ -1,6 +1,6 @@ --- title: "cancelled_err" -weight: 408 +weight: 409 --- Returns an [error](../../data-types/error) when an operation is cancelled before completion. Fox example by a time-out or stop of service. diff --git a/v1/content/errors/forbidden_err.md b/v1/content/errors/forbidden_err.md index bb3c4a43e7..01126c13cf 100644 --- a/v1/content/errors/forbidden_err.md +++ b/v1/content/errors/forbidden_err.md @@ -1,6 +1,6 @@ --- title: "forbidden_err" -weight: 398 +weight: 399 --- Returns an [error](../../data-types/error) when the client or user is missing the required privileges. diff --git a/v1/content/errors/lookup_err.md b/v1/content/errors/lookup_err.md index 228a424d24..d4b2a9d565 100644 --- a/v1/content/errors/lookup_err.md +++ b/v1/content/errors/lookup_err.md @@ -1,6 +1,6 @@ --- title: "lookup_err" -weight: 399 +weight: 400 --- Returns an [error](../../data-types/error) when a requested resource is not found or when an index is out-of-range. diff --git a/v1/content/errors/max_quota_err.md b/v1/content/errors/max_quota_err.md index a07fb2c88e..675d3acae2 100644 --- a/v1/content/errors/max_quota_err.md +++ b/v1/content/errors/max_quota_err.md @@ -1,6 +1,6 @@ --- title: "max_quota_err" -weight: 400 +weight: 401 --- Returns an [error](../../data-types/error) when a quota limit is reached. diff --git a/v1/content/errors/node_err.md b/v1/content/errors/node_err.md index ce4d57ba09..639d7ad765 100644 --- a/v1/content/errors/node_err.md +++ b/v1/content/errors/node_err.md @@ -1,6 +1,6 @@ --- title: "node_err" -weight: 401 +weight: 402 --- Returns an [error](../../data-types/error) when a node was not able to handle the request. diff --git a/v1/content/errors/num_arguments_err.md b/v1/content/errors/num_arguments_err.md index 7e422c7a25..75ee28a254 100644 --- a/v1/content/errors/num_arguments_err.md +++ b/v1/content/errors/num_arguments_err.md @@ -1,6 +1,6 @@ --- title: "num_arguments_err" -weight: 402 +weight: 403 --- Returns an [error](../../data-types/error) when a wrong number of arguments is given. diff --git a/v1/content/errors/operation_err.md b/v1/content/errors/operation_err.md index fc54db99fe..bd03ebedde 100644 --- a/v1/content/errors/operation_err.md +++ b/v1/content/errors/operation_err.md @@ -1,6 +1,6 @@ --- title: "operation_err" -weight: 403 +weight: 404 --- Returns an [error](../../data-types/error) when an operation is not valid within the current context. diff --git a/v1/content/errors/overflow_err.md b/v1/content/errors/overflow_err.md index f3048ee52a..becb633fad 100644 --- a/v1/content/errors/overflow_err.md +++ b/v1/content/errors/overflow_err.md @@ -1,6 +1,6 @@ --- title: "overflow_err" -weight: 404 +weight: 405 --- Returns an [error](../../data-types/error) when an attempt is made to create an integer value out of the supported 64Bit (signed) range. diff --git a/v1/content/errors/syntax_err.md b/v1/content/errors/syntax_err.md index dd41da369f..b4ec805102 100644 --- a/v1/content/errors/syntax_err.md +++ b/v1/content/errors/syntax_err.md @@ -1,6 +1,6 @@ --- title: "syntax_err" -weight: 405 +weight: 406 --- Returns an [error](../../data-types/error) when the given ThingsDB code contains a syntax error. diff --git a/v1/content/errors/type_err.md b/v1/content/errors/type_err.md index b82e830de3..d1fc85248c 100644 --- a/v1/content/errors/type_err.md +++ b/v1/content/errors/type_err.md @@ -1,6 +1,6 @@ --- title: "type_err" -weight: 406 +weight: 407 --- Returns an [error](../../data-types/error) when a given value is of the incorrect type. diff --git a/v1/content/errors/value_err.md b/v1/content/errors/value_err.md index 5b8d563b2d..bd3e54384b 100644 --- a/v1/content/errors/value_err.md +++ b/v1/content/errors/value_err.md @@ -1,6 +1,6 @@ --- title: "value_err" -weight: 407 +weight: 408 --- Returns an [error](../../data-types/error) when a given value has the correct type but contains invalid data. diff --git a/v1/content/errors/zero_div_err.md b/v1/content/errors/zero_div_err.md index f75e863984..9c2e34e13e 100644 --- a/v1/content/errors/zero_div_err.md +++ b/v1/content/errors/zero_div_err.md @@ -1,6 +1,6 @@ --- title: "zero_div_err" -weight: 409 +weight: 410 --- Returns an [error](../../data-types/error) when an attempt is made to divide or take a modulo by zero. diff --git a/v1/content/listening/_index.md b/v1/content/listening/_index.md index 79cb702d07..9f68e0d8e0 100644 --- a/v1/content/listening/_index.md +++ b/v1/content/listening/_index.md @@ -1,6 +1,6 @@ --- title: "Listening" -weight: 387 +weight: 388 chapter: false --- diff --git a/v1/content/listening/node-status.md b/v1/content/listening/node-status.md index 01a20917d0..1be934fa64 100644 --- a/v1/content/listening/node-status.md +++ b/v1/content/listening/node-status.md @@ -1,6 +1,6 @@ --- title: "node-status" -weight: 388 +weight: 389 --- The body of a *Node Status* event contains both the node Id and status of the node. diff --git a/v1/content/listening/on-delete.md b/v1/content/listening/on-delete.md index 34ae67d329..13a73bc1d3 100644 --- a/v1/content/listening/on-delete.md +++ b/v1/content/listening/on-delete.md @@ -1,6 +1,6 @@ --- title: "on-delete" -weight: 392 +weight: 393 --- A delete event will be pushed as soon as a joined [room](../../data-types/room) is removed from ThingsDB. diff --git a/v1/content/listening/on-emit.md b/v1/content/listening/on-emit.md index e17cef5ab3..0bc0fb4330 100644 --- a/v1/content/listening/on-emit.md +++ b/v1/content/listening/on-emit.md @@ -1,6 +1,6 @@ --- title: "on-emit" -weight: 391 +weight: 392 --- An emit event is triggered when a *change* is emitted using the [emit(..)](../../data-types/room/emit) function on a [room](../../data-types/room). diff --git a/v1/content/listening/on-join.md b/v1/content/listening/on-join.md index 23f79f3c13..ed3c1c88b5 100644 --- a/v1/content/listening/on-join.md +++ b/v1/content/listening/on-join.md @@ -1,6 +1,6 @@ --- title: "on-join" -weight: 389 +weight: 390 --- This event will be pushed when a [room](../../data-types/room) is joined. diff --git a/v1/content/listening/on-leave.md b/v1/content/listening/on-leave.md index b587db6095..a5aadcdfc6 100644 --- a/v1/content/listening/on-leave.md +++ b/v1/content/listening/on-leave.md @@ -1,6 +1,6 @@ --- title: "on-leave" -weight: 390 +weight: 391 --- This event will be pushed when a [room](../../data-types/room) is joined. diff --git a/v1/content/listening/warning.md b/v1/content/listening/warning.md index 7b5e17c35b..a904a1413f 100644 --- a/v1/content/listening/warning.md +++ b/v1/content/listening/warning.md @@ -1,6 +1,6 @@ --- title: "warning" -weight: 393 +weight: 394 --- ThingsDB might send a warning events to a client. The `warn_code` can be used diff --git a/v1/content/modules/_index.md b/v1/content/modules/_index.md index ea4eb495bf..4431842118 100644 --- a/v1/content/modules/_index.md +++ b/v1/content/modules/_index.md @@ -1,6 +1,6 @@ --- title: "Modules" -weight: 383 +weight: 384 chapter: true --- diff --git a/v1/content/modules/hello-world-module.md b/v1/content/modules/hello-world-module.md index 5a036476c4..f790dfef98 100644 --- a/v1/content/modules/hello-world-module.md +++ b/v1/content/modules/hello-world-module.md @@ -1,6 +1,6 @@ --- title: "Hello World Module" -weight: 384 +weight: 385 --- In this section we will create and use a module to help you understand how a module can be used. diff --git a/v1/content/modules/publish-a-module.md b/v1/content/modules/publish-a-module.md index 0032b85343..21526d7ad8 100644 --- a/v1/content/modules/publish-a-module.md +++ b/v1/content/modules/publish-a-module.md @@ -1,6 +1,6 @@ --- title: "Publish a module" -weight: 385 +weight: 386 --- Modules can be published using a [GitHub](https://github.com) repository. A module repository mush at least contain a `module.json` file and the module file to start. diff --git a/v1/content/modules/supported-modules.md b/v1/content/modules/supported-modules.md index 3a3691a533..def68dd6fd 100644 --- a/v1/content/modules/supported-modules.md +++ b/v1/content/modules/supported-modules.md @@ -1,6 +1,6 @@ --- title: "Supported Modules" -weight: 386 +weight: 387 --- Unlock powerful functionalities with these production-ready modules, rigorously tested and maintained by the ThingsDB team. diff --git a/v1/content/node-api/_index.md b/v1/content/node-api/_index.md index 641dfa16e9..6611b50d90 100644 --- a/v1/content/node-api/_index.md +++ b/v1/content/node-api/_index.md @@ -1,6 +1,6 @@ --- title: "Node API" -weight: 323 +weight: 324 chapter: true --- diff --git a/v1/content/node-api/backup_info.md b/v1/content/node-api/backup_info.md index 625f047f22..263dbce046 100644 --- a/v1/content/node-api/backup_info.md +++ b/v1/content/node-api/backup_info.md @@ -1,6 +1,6 @@ --- title: "backup_info" -weight: 324 +weight: 325 --- diff --git a/v1/content/node-api/backups_info.md b/v1/content/node-api/backups_info.md index 0fa3aac8be..6383ffa23a 100644 --- a/v1/content/node-api/backups_info.md +++ b/v1/content/node-api/backups_info.md @@ -1,6 +1,6 @@ --- title: "backups_info" -weight: 325 +weight: 326 --- Returns backup schedule information about all backup schedules in the selected node scope. diff --git a/v1/content/node-api/backups_ok.md b/v1/content/node-api/backups_ok.md index c0eea01896..4542411fbb 100644 --- a/v1/content/node-api/backups_ok.md +++ b/v1/content/node-api/backups_ok.md @@ -1,6 +1,6 @@ --- title: "backups_ok" -weight: 326 +weight: 327 --- Returns `false` if at least one backup had failed _(result code != 0)_. diff --git a/v1/content/node-api/counters.md b/v1/content/node-api/counters.md index 5239659f36..a37761850a 100644 --- a/v1/content/node-api/counters.md +++ b/v1/content/node-api/counters.md @@ -1,6 +1,6 @@ --- title: "counters" -weight: 327 +weight: 328 --- Returns `counters` for the ThingsDB node in the selected scope. Counters start all at zero when ThingsDB diff --git a/v1/content/node-api/del_backup.md b/v1/content/node-api/del_backup.md index 6d83fa9626..9754977b33 100644 --- a/v1/content/node-api/del_backup.md +++ b/v1/content/node-api/del_backup.md @@ -1,6 +1,6 @@ --- title: "del_backup" -weight: 328 +weight: 329 --- diff --git a/v1/content/node-api/has_backup.md b/v1/content/node-api/has_backup.md index 13f73eb2b4..726d9f6865 100644 --- a/v1/content/node-api/has_backup.md +++ b/v1/content/node-api/has_backup.md @@ -1,6 +1,6 @@ --- title: "has_backup" -weight: 329 +weight: 330 --- Determines if a backup exists in ThingsDB. diff --git a/v1/content/node-api/new_backup.md b/v1/content/node-api/new_backup.md index c37d69f74a..cd1dad6a90 100644 --- a/v1/content/node-api/new_backup.md +++ b/v1/content/node-api/new_backup.md @@ -1,6 +1,6 @@ --- title: "new_backup" -weight: 330 +weight: 331 --- Schedule a new backup. diff --git a/v1/content/node-api/node_info.md b/v1/content/node-api/node_info.md index 56f5043920..9d594467b0 100644 --- a/v1/content/node-api/node_info.md +++ b/v1/content/node-api/node_info.md @@ -1,6 +1,6 @@ --- title: "node_info" -weight: 331 +weight: 332 --- Returns information about the node in the selected scope. diff --git a/v1/content/node-api/nodes_info.md b/v1/content/node-api/nodes_info.md index 347f191891..1f4f7805c0 100644 --- a/v1/content/node-api/nodes_info.md +++ b/v1/content/node-api/nodes_info.md @@ -1,6 +1,6 @@ --- title: "nodes_info" -weight: 332 +weight: 333 --- Returns information about all ThingsDB nodes. diff --git a/v1/content/node-api/reset_counters.md b/v1/content/node-api/reset_counters.md index ef31cac79d..490eded901 100644 --- a/v1/content/node-api/reset_counters.md +++ b/v1/content/node-api/reset_counters.md @@ -1,6 +1,6 @@ --- title: "reset_counters" -weight: 333 +weight: 334 --- Resets the [counters](../../node-api/counters) for the ThingsDB node you are connected too. diff --git a/v1/content/node-api/restart_module.md b/v1/content/node-api/restart_module.md index fe09f23d6d..eb2f2d5b84 100644 --- a/v1/content/node-api/restart_module.md +++ b/v1/content/node-api/restart_module.md @@ -1,6 +1,6 @@ --- title: "restart_module" -weight: 334 +weight: 335 --- Restarts a given module on the select node scope. diff --git a/v1/content/node-api/set_log_level.md b/v1/content/node-api/set_log_level.md index 8ea3f25600..6cd99f21bb 100644 --- a/v1/content/node-api/set_log_level.md +++ b/v1/content/node-api/set_log_level.md @@ -1,6 +1,6 @@ --- title: "set_log_level" -weight: 335 +weight: 336 --- Change the log level for the node in the selected scope. diff --git a/v1/content/node-api/shutdown.md b/v1/content/node-api/shutdown.md index 712f0f627e..e3ab3a42f4 100644 --- a/v1/content/node-api/shutdown.md +++ b/v1/content/node-api/shutdown.md @@ -1,6 +1,6 @@ --- title: "shutdown" -weight: 336 +weight: 337 --- Shutdown the node in the selected scope. This is a clean shutdown, allowing all other nodes (and clients) to disconnect. diff --git a/v1/content/operators/_index.md b/v1/content/operators/_index.md index 248daaf5b8..a542d74336 100644 --- a/v1/content/operators/_index.md +++ b/v1/content/operators/_index.md @@ -1,6 +1,6 @@ --- title: "Operators" -weight: 194 +weight: 195 chapter: true --- diff --git a/v1/content/operators/arithmetic-operators.md b/v1/content/operators/arithmetic-operators.md index ef750ff9f5..834ff9f223 100644 --- a/v1/content/operators/arithmetic-operators.md +++ b/v1/content/operators/arithmetic-operators.md @@ -1,6 +1,6 @@ --- title: "Arithmetic operators" -weight: 195 +weight: 196 --- Operator | Description diff --git a/v1/content/operators/assignments.md b/v1/content/operators/assignments.md index 499aab613b..203c4fa1c2 100644 --- a/v1/content/operators/assignments.md +++ b/v1/content/operators/assignments.md @@ -1,6 +1,6 @@ --- title: "Assignments" -weight: 196 +weight: 197 --- Assignments will generate a [change](../../overview/changes). diff --git a/v1/content/operators/binary-bitwise-operators.md b/v1/content/operators/binary-bitwise-operators.md index 443a74a37a..e43538b03f 100644 --- a/v1/content/operators/binary-bitwise-operators.md +++ b/v1/content/operators/binary-bitwise-operators.md @@ -1,6 +1,6 @@ --- title: "Binary bitwise operators" -weight: 197 +weight: 198 --- Can be used on [integer](../../data-types/int) values. diff --git a/v1/content/operators/conditional-ternary-operator.md b/v1/content/operators/conditional-ternary-operator.md index bcd51f7ed9..ce7e3276ed 100644 --- a/v1/content/operators/conditional-ternary-operator.md +++ b/v1/content/operators/conditional-ternary-operator.md @@ -1,6 +1,6 @@ --- title: "Conditional ternary operator" -weight: 198 +weight: 199 --- The conditional operator returns one of two values based on the logical value of the condition. diff --git a/v1/content/operators/logical-operators.md b/v1/content/operators/logical-operators.md index 4a6559158f..59112dd1f2 100644 --- a/v1/content/operators/logical-operators.md +++ b/v1/content/operators/logical-operators.md @@ -1,6 +1,6 @@ --- title: "Logical operators" -weight: 199 +weight: 200 --- Logical operators are generally used with [bool](../../data-types/bool) values. diff --git a/v1/content/operators/precedence-and-associativity.md b/v1/content/operators/precedence-and-associativity.md index 49bed6c833..ac3e1a8224 100644 --- a/v1/content/operators/precedence-and-associativity.md +++ b/v1/content/operators/precedence-and-associativity.md @@ -1,6 +1,6 @@ --- title: "Precedence and associativity" -weight: 200 +weight: 201 --- Symbol | Type of operation | Associativity diff --git a/v1/content/procedures-api/_index.md b/v1/content/procedures-api/_index.md index 3933db9963..616be56774 100644 --- a/v1/content/procedures-api/_index.md +++ b/v1/content/procedures-api/_index.md @@ -1,6 +1,6 @@ --- title: "Procedures API" -weight: 373 +weight: 374 chapter: true --- diff --git a/v1/content/procedures-api/del_procedure.md b/v1/content/procedures-api/del_procedure.md index d0274c8e3c..ac6a69ec31 100644 --- a/v1/content/procedures-api/del_procedure.md +++ b/v1/content/procedures-api/del_procedure.md @@ -1,6 +1,6 @@ --- title: "del_procedure" -weight: 374 +weight: 375 --- Delete a procedure. diff --git a/v1/content/procedures-api/has_procedure.md b/v1/content/procedures-api/has_procedure.md index afb6bf9f69..3e5aa70b8a 100644 --- a/v1/content/procedures-api/has_procedure.md +++ b/v1/content/procedures-api/has_procedure.md @@ -1,6 +1,6 @@ --- title: "has_procedure" -weight: 375 +weight: 376 --- Determines if a procedure exists in the current scope. diff --git a/v1/content/procedures-api/mod_procedure.md b/v1/content/procedures-api/mod_procedure.md index 1b0e9a5b8a..83341c0191 100644 --- a/v1/content/procedures-api/mod_procedure.md +++ b/v1/content/procedures-api/mod_procedure.md @@ -1,6 +1,6 @@ --- title: "mod_procedure" -weight: 376 +weight: 377 --- Changes the closure for an existing procedure. This function also updates the `created_at` time as if it is a new procedure. diff --git a/v1/content/procedures-api/new_procedure.md b/v1/content/procedures-api/new_procedure.md index 81038923da..5b3162b683 100644 --- a/v1/content/procedures-api/new_procedure.md +++ b/v1/content/procedures-api/new_procedure.md @@ -1,6 +1,6 @@ --- title: "new_procedure" -weight: 377 +weight: 378 --- Creates a new procedure to the `@thingsdb` or a `@collection` scope. The name of the procedure must be unique within the scope. diff --git a/v1/content/procedures-api/procedure_doc.md b/v1/content/procedures-api/procedure_doc.md index 98c79f92fa..e14a67d656 100644 --- a/v1/content/procedures-api/procedure_doc.md +++ b/v1/content/procedures-api/procedure_doc.md @@ -1,6 +1,6 @@ --- title: "procedure_doc" -weight: 378 +weight: 379 --- Returns the doc string for a given procedure. An *empty* string is returned if the procedure has no doc string. diff --git a/v1/content/procedures-api/procedure_info.md b/v1/content/procedures-api/procedure_info.md index f0b36d010d..751cbb8660 100644 --- a/v1/content/procedures-api/procedure_info.md +++ b/v1/content/procedures-api/procedure_info.md @@ -1,6 +1,6 @@ --- title: "procedure_info" -weight: 379 +weight: 380 --- Returns information about a procedure. diff --git a/v1/content/procedures-api/procedures_info.md b/v1/content/procedures-api/procedures_info.md index c334789318..178fd8ad3e 100644 --- a/v1/content/procedures-api/procedures_info.md +++ b/v1/content/procedures-api/procedures_info.md @@ -1,6 +1,6 @@ --- title: "procedures_info" -weight: 380 +weight: 381 --- Returns procedure information about all procedures in the scope. diff --git a/v1/content/procedures-api/rename_procedure.md b/v1/content/procedures-api/rename_procedure.md index cd6aea74b8..c069a5caaf 100644 --- a/v1/content/procedures-api/rename_procedure.md +++ b/v1/content/procedures-api/rename_procedure.md @@ -1,6 +1,6 @@ --- title: "rename_procedure" -weight: 381 +weight: 382 --- Rename a procedure. diff --git a/v1/content/procedures-api/run.md b/v1/content/procedures-api/run.md index dbae593689..2fb76bf8d1 100644 --- a/v1/content/procedures-api/run.md +++ b/v1/content/procedures-api/run.md @@ -1,6 +1,6 @@ --- title: "run" -weight: 382 +weight: 383 --- Run a procedure. diff --git a/v1/content/thingsdb-api/_index.md b/v1/content/thingsdb-api/_index.md index 3f7ea86684..a0dffb6d8a 100644 --- a/v1/content/thingsdb-api/_index.md +++ b/v1/content/thingsdb-api/_index.md @@ -1,6 +1,6 @@ --- title: "ThingsDB API" -weight: 337 +weight: 338 chapter: true --- diff --git a/v1/content/thingsdb-api/collection_info.md b/v1/content/thingsdb-api/collection_info.md index 4f1e116d34..b6d6df5a23 100644 --- a/v1/content/thingsdb-api/collection_info.md +++ b/v1/content/thingsdb-api/collection_info.md @@ -1,6 +1,6 @@ --- title: "collection_info" -weight: 338 +weight: 339 --- Returns information about a specific collection. diff --git a/v1/content/thingsdb-api/collections_info.md b/v1/content/thingsdb-api/collections_info.md index 46fe885abe..bc06e4933e 100644 --- a/v1/content/thingsdb-api/collections_info.md +++ b/v1/content/thingsdb-api/collections_info.md @@ -1,6 +1,6 @@ --- title: "collections_info" -weight: 339 +weight: 340 --- Returns collection information about all collections in ThingsDB. diff --git a/v1/content/thingsdb-api/del_collection.md b/v1/content/thingsdb-api/del_collection.md index 0faadf44c9..aa6c25ba4a 100644 --- a/v1/content/thingsdb-api/del_collection.md +++ b/v1/content/thingsdb-api/del_collection.md @@ -1,6 +1,6 @@ --- title: "del_collection" -weight: 340 +weight: 341 --- Delete a collection. diff --git a/v1/content/thingsdb-api/del_expired.md b/v1/content/thingsdb-api/del_expired.md index 01312fe356..b513e21cd5 100644 --- a/v1/content/thingsdb-api/del_expired.md +++ b/v1/content/thingsdb-api/del_expired.md @@ -1,6 +1,6 @@ --- title: "del_expired" -weight: 341 +weight: 342 --- Delete all expired tokens. diff --git a/v1/content/thingsdb-api/del_module.md b/v1/content/thingsdb-api/del_module.md index 8228a6bb18..2435f45fea 100644 --- a/v1/content/thingsdb-api/del_module.md +++ b/v1/content/thingsdb-api/del_module.md @@ -1,6 +1,6 @@ --- title: "del_module" -weight: 342 +weight: 343 --- Delete a module. A `SIGTERM` signal will be send to the process for the module which might cancel running futures. diff --git a/v1/content/thingsdb-api/del_node.md b/v1/content/thingsdb-api/del_node.md index 2ac5609478..496f0f5b2f 100644 --- a/v1/content/thingsdb-api/del_node.md +++ b/v1/content/thingsdb-api/del_node.md @@ -1,6 +1,6 @@ --- title: "del_node" -weight: 343 +weight: 344 --- This function can be used to delete a node from ThingsDB. diff --git a/v1/content/thingsdb-api/del_token.md b/v1/content/thingsdb-api/del_token.md index 1e3ba858f4..6772afcf21 100644 --- a/v1/content/thingsdb-api/del_token.md +++ b/v1/content/thingsdb-api/del_token.md @@ -1,6 +1,6 @@ --- title: "del_token" -weight: 344 +weight: 345 --- Delete a token. diff --git a/v1/content/thingsdb-api/del_user.md b/v1/content/thingsdb-api/del_user.md index f5f89822aa..2a849db34e 100644 --- a/v1/content/thingsdb-api/del_user.md +++ b/v1/content/thingsdb-api/del_user.md @@ -1,6 +1,6 @@ --- title: "del_user" -weight: 345 +weight: 346 --- Delete a user. It is not possible to delete your own user account and a [bad_data_err()](../../errors/bad_data_err) will be raised in case you try to. diff --git a/v1/content/thingsdb-api/deploy_module.md b/v1/content/thingsdb-api/deploy_module.md index 7403dd1494..809b5d527f 100644 --- a/v1/content/thingsdb-api/deploy_module.md +++ b/v1/content/thingsdb-api/deploy_module.md @@ -1,6 +1,6 @@ --- title: "deploy_module" -weight: 346 +weight: 347 --- Deploy a module on all nodes. The module must be configured first, using the [new_module()](../new_module) function. This function is used to write the module data *(or plain python code)* to the module. diff --git a/v1/content/thingsdb-api/grant.md b/v1/content/thingsdb-api/grant.md index be8404f0a0..cb761c19b2 100644 --- a/v1/content/thingsdb-api/grant.md +++ b/v1/content/thingsdb-api/grant.md @@ -1,6 +1,6 @@ --- title: "grant" -weight: 347 +weight: 348 --- Grant, collection or general, privileges to a user. Access to a user is provided by setting diff --git a/v1/content/thingsdb-api/has_collection.md b/v1/content/thingsdb-api/has_collection.md index 6dec6f8389..0b4ecc6b3a 100644 --- a/v1/content/thingsdb-api/has_collection.md +++ b/v1/content/thingsdb-api/has_collection.md @@ -1,6 +1,6 @@ --- title: "has_collection" -weight: 348 +weight: 349 --- Determines if a collection exists in ThingsDB. diff --git a/v1/content/thingsdb-api/has_module.md b/v1/content/thingsdb-api/has_module.md index 2dc69ee9a4..ab36b7cce4 100644 --- a/v1/content/thingsdb-api/has_module.md +++ b/v1/content/thingsdb-api/has_module.md @@ -1,6 +1,6 @@ --- title: "has_module" -weight: 349 +weight: 350 --- Determines if a module exists in ThingsDB. The scope restriction of the module has no impact on the result of this function. diff --git a/v1/content/thingsdb-api/has_node.md b/v1/content/thingsdb-api/has_node.md index c698092586..8377e3d532 100644 --- a/v1/content/thingsdb-api/has_node.md +++ b/v1/content/thingsdb-api/has_node.md @@ -1,6 +1,6 @@ --- title: "has_node" -weight: 350 +weight: 351 --- Determines if a node exists in ThingsDB. diff --git a/v1/content/thingsdb-api/has_token.md b/v1/content/thingsdb-api/has_token.md index a0da1581a0..d8d48abaa4 100644 --- a/v1/content/thingsdb-api/has_token.md +++ b/v1/content/thingsdb-api/has_token.md @@ -1,6 +1,6 @@ --- title: "has_token" -weight: 351 +weight: 352 --- Determines if a token exists in ThingsDB. diff --git a/v1/content/thingsdb-api/has_user.md b/v1/content/thingsdb-api/has_user.md index 2df59fe0cc..f35fad98f6 100644 --- a/v1/content/thingsdb-api/has_user.md +++ b/v1/content/thingsdb-api/has_user.md @@ -1,6 +1,6 @@ --- title: "has_user" -weight: 352 +weight: 353 --- Determines if a user exists in ThingsDB. diff --git a/v1/content/thingsdb-api/module_info.md b/v1/content/thingsdb-api/module_info.md index 8183e31e20..3daef35799 100644 --- a/v1/content/thingsdb-api/module_info.md +++ b/v1/content/thingsdb-api/module_info.md @@ -1,6 +1,6 @@ --- title: "module_info" -weight: 353 +weight: 354 --- Returns information about a specific module. diff --git a/v1/content/thingsdb-api/modules_info.md b/v1/content/thingsdb-api/modules_info.md index 587e748043..230ff3b4c8 100644 --- a/v1/content/thingsdb-api/modules_info.md +++ b/v1/content/thingsdb-api/modules_info.md @@ -1,6 +1,6 @@ --- title: "modules_info" -weight: 354 +weight: 355 --- Returns module information about all modules in ThingsDB. diff --git a/v1/content/thingsdb-api/new_collection.md b/v1/content/thingsdb-api/new_collection.md index 9109395d89..3013f0a31d 100644 --- a/v1/content/thingsdb-api/new_collection.md +++ b/v1/content/thingsdb-api/new_collection.md @@ -1,6 +1,6 @@ --- title: "new_collection" -weight: 355 +weight: 356 --- Create a new collection. diff --git a/v1/content/thingsdb-api/new_module.md b/v1/content/thingsdb-api/new_module.md index 2dde44feb9..504fd10ad6 100644 --- a/v1/content/thingsdb-api/new_module.md +++ b/v1/content/thingsdb-api/new_module.md @@ -1,6 +1,6 @@ --- title: "new_module" -weight: 356 +weight: 357 --- Create (and configure) a new module for ThingsDB. diff --git a/v1/content/thingsdb-api/new_node.md b/v1/content/thingsdb-api/new_node.md index ab5f4e0f4d..968de5c82b 100644 --- a/v1/content/thingsdb-api/new_node.md +++ b/v1/content/thingsdb-api/new_node.md @@ -1,6 +1,6 @@ --- title: "new_node" -weight: 357 +weight: 358 --- Adds a new node to ThingsDB. Nodes are used for scaling and high availability. diff --git a/v1/content/thingsdb-api/new_token.md b/v1/content/thingsdb-api/new_token.md index 6e5b3b0307..c493a53065 100644 --- a/v1/content/thingsdb-api/new_token.md +++ b/v1/content/thingsdb-api/new_token.md @@ -1,6 +1,6 @@ --- title: "new_token" -weight: 358 +weight: 359 --- Adds a new token for a given user. An optional expiration time may be given; after this time the token cannot diff --git a/v1/content/thingsdb-api/new_user.md b/v1/content/thingsdb-api/new_user.md index b6371ea494..e2b8435cbf 100644 --- a/v1/content/thingsdb-api/new_user.md +++ b/v1/content/thingsdb-api/new_user.md @@ -1,6 +1,6 @@ --- title: "new_user" -weight: 359 +weight: 360 --- Creates a new user to ThingsDB. The new user is created without a password, token and access privileges. diff --git a/v1/content/thingsdb-api/refresh_module.md b/v1/content/thingsdb-api/refresh_module.md index 265595522a..1c98c7f64c 100644 --- a/v1/content/thingsdb-api/refresh_module.md +++ b/v1/content/thingsdb-api/refresh_module.md @@ -1,6 +1,6 @@ --- title: "refresh_module" -weight: 360 +weight: 361 --- Refresh module first stops the module (if running), next if will check for an update and performs the update if required. When finished, it will start the module again. diff --git a/v1/content/thingsdb-api/rename_collection.md b/v1/content/thingsdb-api/rename_collection.md index 92aadd46a0..826e1886e0 100644 --- a/v1/content/thingsdb-api/rename_collection.md +++ b/v1/content/thingsdb-api/rename_collection.md @@ -1,6 +1,6 @@ --- title: "rename_collection" -weight: 361 +weight: 362 --- Rename a collection. diff --git a/v1/content/thingsdb-api/rename_module.md b/v1/content/thingsdb-api/rename_module.md index f4a55f8349..b7f0bf2357 100644 --- a/v1/content/thingsdb-api/rename_module.md +++ b/v1/content/thingsdb-api/rename_module.md @@ -1,6 +1,6 @@ --- title: "rename_module" -weight: 362 +weight: 363 --- Rename a module. diff --git a/v1/content/thingsdb-api/rename_user.md b/v1/content/thingsdb-api/rename_user.md index 4ae3089555..93cf0d2bfa 100644 --- a/v1/content/thingsdb-api/rename_user.md +++ b/v1/content/thingsdb-api/rename_user.md @@ -1,6 +1,6 @@ --- title: "rename_user" -weight: 363 +weight: 364 --- Rename a user. diff --git a/v1/content/thingsdb-api/restore.md b/v1/content/thingsdb-api/restore.md index 3c59801862..783681d8ce 100644 --- a/v1/content/thingsdb-api/restore.md +++ b/v1/content/thingsdb-api/restore.md @@ -1,6 +1,6 @@ --- title: "restore" -weight: 364 +weight: 365 --- Restore from a backup file created with the [new_backup](#../../node-api/new_backup) function. diff --git a/v1/content/thingsdb-api/revoke.md b/v1/content/thingsdb-api/revoke.md index 0031cfbc4b..370cc48e74 100644 --- a/v1/content/thingsdb-api/revoke.md +++ b/v1/content/thingsdb-api/revoke.md @@ -1,6 +1,6 @@ --- title: "revoke" -weight: 365 +weight: 366 --- Revoke, collection or general, privileges from a user. See [grant](../../thingsdb-api/grant) for more information on diff --git a/v1/content/thingsdb-api/set_default_deep.md b/v1/content/thingsdb-api/set_default_deep.md index c1a7b4f67a..2bb8635bd9 100644 --- a/v1/content/thingsdb-api/set_default_deep.md +++ b/v1/content/thingsdb-api/set_default_deep.md @@ -1,6 +1,6 @@ --- title: "set_default_deep" -weight: 366 +weight: 367 --- The *deep* value determines how many levels of data are returned by a query. Only *things* count towards this value. See [deep()](../../collection-api/deep) for more info about the *deep* value. diff --git a/v1/content/thingsdb-api/set_module_conf.md b/v1/content/thingsdb-api/set_module_conf.md index c62beb52ac..de6999022d 100644 --- a/v1/content/thingsdb-api/set_module_conf.md +++ b/v1/content/thingsdb-api/set_module_conf.md @@ -1,6 +1,6 @@ --- title: "set_module_conf" -weight: 367 +weight: 368 --- Change the module configuration. This will (re-send) the module configuration to the module. If the module was not started, ThingsDB will also auto-load the module and send the configuration. diff --git a/v1/content/thingsdb-api/set_module_scope.md b/v1/content/thingsdb-api/set_module_scope.md index 0d08e45d5c..c97c85afff 100644 --- a/v1/content/thingsdb-api/set_module_scope.md +++ b/v1/content/thingsdb-api/set_module_scope.md @@ -1,6 +1,6 @@ --- title: "set_module_scope" -weight: 368 +weight: 369 --- Modules can be restricted for usage in a single scope. This can be a `@collection:..` scope, but also a `@node` or `@thingsdb` scope. diff --git a/v1/content/thingsdb-api/set_password.md b/v1/content/thingsdb-api/set_password.md index 83905e4d32..6b2f2ec308 100644 --- a/v1/content/thingsdb-api/set_password.md +++ b/v1/content/thingsdb-api/set_password.md @@ -1,6 +1,6 @@ --- title: "set_password" -weight: 369 +weight: 370 --- Change a user's password. This function can also be used to remove an existing diff --git a/v1/content/thingsdb-api/set_time_zone.md b/v1/content/thingsdb-api/set_time_zone.md index c4ef8f85d1..ac8677275d 100644 --- a/v1/content/thingsdb-api/set_time_zone.md +++ b/v1/content/thingsdb-api/set_time_zone.md @@ -1,6 +1,6 @@ --- title: "set_time_zone" -weight: 370 +weight: 371 --- diff --git a/v1/content/thingsdb-api/user_info.md b/v1/content/thingsdb-api/user_info.md index d1cbffb829..fdb9d36ad6 100644 --- a/v1/content/thingsdb-api/user_info.md +++ b/v1/content/thingsdb-api/user_info.md @@ -1,6 +1,6 @@ --- title: "user_info" -weight: 371 +weight: 372 --- Returns information about a user. If no argument is given, this function will return diff --git a/v1/content/thingsdb-api/users_info.md b/v1/content/thingsdb-api/users_info.md index 3233a3862e..007027d165 100644 --- a/v1/content/thingsdb-api/users_info.md +++ b/v1/content/thingsdb-api/users_info.md @@ -1,6 +1,6 @@ --- title: "users_info" -weight: 372 +weight: 373 --- Returns user information about all users in ThingsDB. diff --git a/v1/site.map b/v1/site.map index 65606fbecb..be14a04c0e 100644 --- a/v1/site.map +++ b/v1/site.map @@ -110,6 +110,8 @@ data-types room emit id + name + set_name regex test set