diff options
author | samantharitter <samantha.ritter@10gen.com> | 2017-08-01 15:50:37 -0400 |
---|---|---|
committer | samantharitter <samantha.ritter@10gen.com> | 2017-08-02 19:21:34 -0400 |
commit | 68051585b17682c1e13acdf440b2c78868054513 (patch) | |
tree | 1b677a81d5ef5d801a69cd9ce7fa7a9d7aac6295 /src/mongo/db/logical_session_id.idl | |
parent | 0eea3fc035718c7ae6fc570670f1c51f8f3d71a5 (diff) | |
download | mongo-68051585b17682c1e13acdf440b2c78868054513.tar.gz |
SERVER-29201 Implement SessionsCollectionStandalone
Diffstat (limited to 'src/mongo/db/logical_session_id.idl')
-rw-r--r-- | src/mongo/db/logical_session_id.idl | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/mongo/db/logical_session_id.idl b/src/mongo/db/logical_session_id.idl index ccedd28e6f6..c540c3c2174 100644 --- a/src/mongo/db/logical_session_id.idl +++ b/src/mongo/db/logical_session_id.idl @@ -64,12 +64,27 @@ structs: id: LogicalSessionIdToClient timeoutMinutes: int + UserNameWithId: + description: "A struct representing the combination of a UserName and an id" + strict: true + fields: + name: + type: string + id: + type: objectid + optional: true + LogicalSessionRecord: description: "A struct representing a LogicalSessionRecord" strict: true fields: - id: LogicalSessionId + _id: + type: LogicalSessionId + cpp_name: id lastUse: date + user: + type: UserNameWithId + optional: true LogicalSessionFromClient: description: "A struct representing a LogicalSessionId from external clients" |