Package | Description |
---|---|
org.springframework.data.mongodb.core |
MongoDB core support.
|
Modifier and Type | Method and Description |
---|---|
default <T> T |
SessionScoped.execute(SessionCallback<T> action)
Executes the given
SessionCallback within the ClientSession . |
<T> T |
SessionScoped.execute(SessionCallback<T> action,
Consumer<com.mongodb.client.ClientSession> doFinally)
Executes the given
SessionCallback within the ClientSession . |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.