public static interface ReactiveFindByIdOperation.FindByIdWithProjection<T> extends ReactiveFindByIdOperation.FindByIdWithCollection<T>, WithProjectionId<T>
Modifier and Type | Method and Description |
---|---|
ReactiveFindByIdOperation.FindByIdWithCollection<T> |
project(String... fields)
Load only certain fields for the document.
|
inCollection
all, one
ReactiveFindByIdOperation.FindByIdWithCollection<T> project(String... fields)
project
in interface WithProjectionId<T>
fields
- the projected fields to load.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.