MentDB, The digital brain.  Download About me Home
Back / All functions / DB Session

You have control functions of database session.

byecmdidcount sessionsexithelpquitsessionssidwho

bye

Description

    To close the session (or exit or quit)

admin
bye
mentdb
Session close with successful.

cmdid

Description

    To show the number of command executed by the current user

admin
cmdid
mentdb
25

count sessions

Description

    To count all open sessions

admin
count sessions
mentdb
3

exit

Description

    To close the session (or bye or quit)

admin
exit
mentdb
Session close with successful.

help

Description

    To show this help menu

quit

Description

    To close the session (or exit or quit)

admin
quit
mentdb
Session close with successful.

sessions

Description

    To show all open sessions

admin
sessions
mentdb
[
{
"maxUsable": 600,
"nbExecution": 2,
"used": 0,
"id": 4,
"user": "admin",
"life": "0/600s"
}
]

sid

Description

    To show current session id

admin
sid
mentdb
5

who

Description

    To show the current user

admin
who
mentdb
admin




© 2012-2017 - Jimmitry Payet.