currentVersion
Definition
Returns extended db,information about the current version.
Syntax
db.currentVersion()
Example
ProvenDB v7754 (current)> db.currentVersion()
{
"_id" : ObjectId("5cecc1e30a12b86041e16e4b"),
"version" : NumberLong(7754),
"status" : "valid",
"started" : Timestamp(1560234533, 1),
"valid" : Timestamp(1560234547, 1),
"validVersion" : NumberLong(7754),
"lock" : {
"type" : 0,
"bulkLoadStatus" : false,
"bulkLoadCounter" : NumberLong(0),
"collection" : null,
"sessionId" : null
},
"rollbacked" : null
}
started time Tue Jun 11 2019 16:28:53 GMT+1000 (AEST) 428.553 sec ago
valid time Tue Jun 11 2019 16:29:07 GMT+1000 (AEST) 414.553 sec ago
See also
Updated almost 5 years ago