This section discloses how to detach to a specific data set from the OrientDB order line. It shuts the presently open data set.
The accompanying assertion is the essential sentence structure of the Disconnect order.
DISCONNECT
Note − You can utilize this order simply in the wake of interfacing with a specific data set and it will just close the presently running information base.
Example
In this model, we will utilize a similar data set named 'demo' that we made in the past part. We will detach from demo information base.
You can utilize the accompanying order to separate the data set.
orientdb {db = demo}> DISCONNECT
In the event that it is effectively separated, you will get the accompanying yield −
Disconnecting to database [plocal:/opt/orientdb/databases/demo] with user 'admin'…OK
orientdb>