MentDB, The digital brain.  About me Home
Back / All functions / Parameter

You have an ultra-fast global parameter engine.

parameter add sequence create|insert|addparameter existparameter get value get_paramparameter get lookedparameter lookparameter removeparameter showparameter unlookparameter updateparameter generate update

parameter add <key> <value> <looked>

Synonymous

    sequence create|insert|add

Description

    To add a new parameter

Parameters

    key:   The key - string - required
    value:   The value - integer - required
    looked:   The field is looked - boolean (1 or 0) - required
admin
parameter add test value 0
mentdb
Parameter added with successful.

parameter exist <key>

Description

    To check if a parameter exist

Parameters

    key:   The key - string - required
admin
parameter exist test
mentdb
1

parameter get value <key>

Synonymous

    get_param

Description

    To get the parameter value

Parameters

    key:   The key - string - required
admin
parameter get value test
mentdb
value
admin
get_param test
mentdb
value

parameter get looked <key>

Description

    To get the parameter looked value

Parameters

    key:   The key - string - required
admin
parameter get looked test
mentdb
0

parameter look <key>

Description

    To look a parameter

Parameters

    key:   The key - string - required
admin
parameter look test
mentdb
Parameter looked with successful.

parameter remove <key>

Description

    To remove a parameter

Parameters

    key:   The key - string - required
admin
parameter remove test
mentdb
Sorry, the parameter test is looked.

parameter show

Description

    To show all parameters

admin
parameter show
mentdb
{
"C[basic-search]": {
"looked": "1",
"value": "10"
},
"C[symbol]": {
"looked": "1",
"value": "200"
},
"test": {
"looked": "1",
"value": "value"
},
"C[relation]": {
"looked": "1",
"value": "200"
},
"C[language]": {
"looked": "1",
"value": "25"
},
"C[user]": {
"looked": "1",
"value": "25"
},
"C[emotion]": {
"looked": "1",
"value": "25"
},
"C[stimulation-tab]": {
"looked": "1",
"value": "25"
}
}

parameter unlook <key>

Description

    To unlook a parameter

Parameters

    key:   The key - string - required
admin
parameter unlook test
mentdb
Parameter unlooked with successful.

parameter update <key> <value>

Description

    To update a parameter

Parameters

    key:   The key - string - required
    value:   The value - integer - required
admin
parameter update test 67
mentdb
Parameter updated with successful.
admin
parameter get value test
mentdb
67

parameter generate update <key>

Description

    To generate an update parameter update request

Parameters

    key:   The key - string - required
admin
parameter generate update test
mentdb
parameter update "test" "67";
admin
parameter remove test
mentdb
Parameter removed with successful.




© 2012-2017 - Jimmitry Payet.