MentDB, The digital brain.  About me Home
Back / Data Type

Here you can see all data types in the MQL language.

numeric

Description

    Numeric type

admin
123
mentdb
123
admin
+ 3 4
mentdb
7

string

Description

    String type

admin
"Hello!"
mentdb
Hello!
admin
concat "Hello " "Adam" "!"
mentdb
Hello Adam!

null

Description

    Null type

admin
null
mentdb
null
admin
is null (null);
mentdb
1

variable

Description

    Variable type

admin
-> "[var1]" 16
mentdb
16
admin
env show;
mentdb
{
"[var2]": "16"
}

boolean

Description

    Boolean type

admin
true
mentdb
1
admin
false
mentdb
0

json

Description

    JSON type

admin
json load "keyId" "{}";
mentdb
1
admin
json doc "keyId";
mentdb
{}

comment

Description

    Comment type

admin
#This is a comment;
mentdb
This is a comment ...

error

Description

    Error type

admin
exception (1) ("your message ...");
mentdb
1: your message ...




© 2012-2017 - Jimmitry Payet.