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

Connect to another MentDB engine.

tunnel connecttunnel executetunnel disconnecttunnel disconnect allmql

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 <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




© 2012 - 2018 - Innov-AI.