db.getSession()
This method returns the current session of the database.
Returns: Session ID.
Syntax:
Example
MongoDB
Output:
session { "id" : UUID("e22f1f82-de47-43db-b9ad-462605ea1262") }
No comments:
Post a Comment