MentDB, The digital brain.  About us Home
Back / All functions / Tunnel

Connect to another MentDB engine.

tunnel connecttunnel execute_hottunnel 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
tunnel execute_hot "session1" {cm get "demo_cm_mentdb";} "name"
mentdb
Lisa Payet

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
tunnel execute "session1" "name"
mentdb
Lisa Payet

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 - 2019 - Innov-AI.