Innov-AI     Services     Supporters     Contact     About    
Tunnel

Connect to another MentDB engine.

tunnel connecttunnel execute_hottunnel execute_hot clustertunnel execute clustertunnel executetunnel disconnecttunnel disconnect allmqlmql encode

tunnel connect <sessionId> <jsonObject>


Description

    Connect to a MentDB server.

Parameters

    sessionId:   The session id - string - required
    jsonObject:   The json object information - string - required
admin
tunnel connect "session1" {cm get "demo_cm_mentdb";};
mentdb
1

tunnel execute_hot <sessionId> <jsonObject> <mql>


Description

    Execute a MQL command in hot.

Parameters

    sessionId:   The session id - string - required
    jsonObject:   The json object information - string - required
    mql:   The MQL command to execute - string - required
admin
-> "[local_var1]" "data1"; -> "[local_var2]" "data2"; -> "[result1]" (tunnel execute_hot "session1" {cm get "demo_cm_mentdb";} (concat "-> \"[remote_var1]\" \"" (mql encode [local_var1]) "\";" "-> \"[remote_var2]\" \"" (mql encode [local_var2]) "\";" (mql { concat [remote_var1] ":" [remote_var2] }) ));
mentdb
data1:data2

tunnel execute_hot cluster


Description

    Execute a MQL command in hot throught a cluster.

admin
include "cluster.1n.hot.exe" "[cluster_id]" "cluster_id_1" "[method]" "LB_50_50|SIGNAL" "[tunnel_id]" "tunnel_id_1" "[request]" "name" ;
mentdb
data1:data2

tunnel execute cluster


Description

    Execute a MQL command throught a cluster.

admin
execute "cluster.1n.exe" "[cluster_id]" "cluster_id_1" "[method]" "LB_50_50|SIGNAL" "[request]" "name" ;
mentdb
data1:data2

tunnel execute <sessionId> <mql>


Description

    Execute a MQL command.

Parameters

    sessionId:   The session id - string - required
    mql:   The MQL command to execute - string - required
admin
-> "[local_var1]" "data1"; -> "[local_var2]" "data2"; -> "[result2]" (tunnel execute "session1" (concat "-> \"[remote_var1]\" \"" (mql encode [local_var1]) "\";" "-> \"[remote_var2]\" \"" (mql encode [local_var2]) "\";" (mql { concat [remote_var1] ":" [remote_var2] }) ));
mentdb
data1:data2

tunnel disconnect <sessionId>


Description

    Disconnect a session.

Parameters

    sessionId:   The session id - string - required
admin
tunnel disconnect "session1";
mentdb
1

tunnel disconnect all


Description

    Disconnect all sessions.

admin
tunnel disconnect all;
mentdb
0

mql <str>


Description

    Do not parse a string

Parameters

    str:   The string - string - required
admin
mql {name};
mentdb
name

mql encode <str>


Description

    To get the MQL encode for a specific string

Parameters

    str:   The string to encode - String - required
admin
mql encode "ad\"mn"
mentdb
ad\"mn




© 2012 - 2023