MCPcopy Index your code
hub / github.com/MorphiaOrg/morphia / first

Method first

core/src/main/java/dev/morphia/query/Query.java:301–301  ·  view source on GitHub ↗

Gets the first entity in the result set. Obeys the Query offset value. @return the only instance in the result, or null if the result set is empty. @since 1.5

()

Source from the content-addressed store, hash-verified

299 * @since 1.5
300 */
301 @Nullable
302 T first();
303
304 /**

Callers 15

OperationAuditClass · 0.65
typeDataMethod · 0.65
dataClassesMethod · 0.65
versioningMethod · 0.65
delegatedMethod · 0.65
testBulkUpdateMethod · 0.65
testAlternateFailuresMethod · 0.65
testInittedPrimitiveMethod · 0.65
testInittedWrapperMethod · 0.65
testMergeMethod · 0.65

Calls

no outgoing calls

Tested by 15

typeDataMethod · 0.52
dataClassesMethod · 0.52
versioningMethod · 0.52
delegatedMethod · 0.52
testBulkUpdateMethod · 0.52
testAlternateFailuresMethod · 0.52
testInittedPrimitiveMethod · 0.52
testInittedWrapperMethod · 0.52
testMergeMethod · 0.52
testPrimitiveMethod · 0.52