Getting started
Book
Build from source
Docker
Configuration
Start up node
Readiness and liveness
Connect
Authentication
HTTP API
Python
Go
C#
PHP
JavaScript
Socket
Example ping
Example auth
Example query
Example run
Example join
Example leave
Example emit
Example error response
WebSocket
Overview
Scopes
Changes
Collections
Dictionary
Names
Properties
Slices
Statements
Optional Chaining
Template Strings
Type
Variable
Data Types
bool
bytes
len
closure
call
doc
datetime
extract
format
move
replace
to
week
weekday
yday
zone
enum
name
value
error
code
msg
float
future
then
else
int
list
choice
clear
copy
count
dup
each
every
extend
extend_unique
fill
filter
find
find_index
first
flat
has
index_of
is_unique
join
last
len
map
map_id
map_type
map_wrap
pop
push
reduce
remove
restriction
reverse
shift
some
sort
splice
sum
unique
unshift
mpdata
len
load
nil
room
emit
id
regex
test
set
add
clear
copy
dup
each
every
filter
find
has
len
map
map_id
map_wrap
one
reduce
remove
restriction
some
str
contains
ends_with
len
lower
replace
split
starts_with
trim
trim_left
trim_right
upper
task
again_at
again_in
args
at
err
cancel
closure
del
id
owner
set_args
set_closure
set_owner
thing
assign
clear
copy
del
dup
each
equals
filter
get
has
id
keys
len
map
remove
ren
restrict
restriction
search
set
to_type
values
vmap
wrap
timeval
tuple
typed
to_thing
˂Type˃
copy
dup
id
unwrap
Operators
Arithmetic operators
Assignments
Binary bitwise operators
Conditional ternary operator
Logical operators
Precedence and associativity
Collection API
alt_raise
assert
base64_decode
base64_encode
bool
bytes
change_id
closure
datetime
deep
del_enum
del_type
enum
enum_info
enum_map
enums_info
err
export
float
future
has_enum
has_type
import
int
is...
is_array
is_ascii
is_bool
is_bytes
is_closure
is_datetime
is_email
is_enum
is_err
is_float
is_future
is_inf
is_int
is_list
is_module
is_mpdata
is_nan
is_nil
is_raw
is_regex
is_room
is_set
is_str
is_task
is_tel
is_thing
is_time_zone
is_timeval
is_tuple
is_url
is_utf8
json_dump
json_load
list
log
math...
abs
ceil
cos
exp
floor
log10
log2
loge
pow
round
sin
sqrt
tan
mod_enum
add
def
del
mod
ren
mod_type
add
all
del
hid
mod
rel
ren
wpo
new
new_type
now
nse
raise
rand
randint
randstr
range
refs
regex
rename_enum
rename_type
room
root
set
set_enum
set_type
str
task
tasks
thing
time_zones_info
timeit
timeval
try
type
type_assert
type_count
type_info
types_info
wse
Node API
backup_info
backups_info
backups_ok
counters
del_backup
has_backup
new_backup
node_info
nodes_info
reset_counters
restart_module
set_log_level
shutdown
ThingsDB API
collection_info
collections_info
del_collection
del_expired
del_module
del_node
del_token
del_user
deploy_module
grant
has_collection
has_module
has_node
has_token
has_user
module_info
modules_info
new_collection
new_module
new_node
new_token
new_user
refresh_module
rename_collection
rename_module
rename_user
restore
revoke
set_default_deep
set_module_conf
set_module_scope
set_password
set_time_zone
user_info
users_info
Procedures API
del_procedure
has_procedure
mod_procedure
new_procedure
procedure_doc
procedure_info
procedures_info
rename_procedure
run
Modules
Hello World Module
Publish a module
Supported Modules
Listening
node-status
on-join
on-leave
on-emit
on-delete
warning
Errors
assert_err
auth_err
bad_data_err
forbidden_err
lookup_err
max_quota_err
node_err
num_arguments_err
operation_err
overflow_err
syntax_err
type_err
value_err
cancelled_err
zero_div_err
More
Website
Github repo
Built with
from
Grav
and
Hugo
ThingsDB
>
Overview
Overview
In this section we briefly try to explain some concepts of ThingsDB.