Trade-offs
Compare the pros and cons of the different querying methods in Spring Data.
We'll cover the following
Spring Data MongoDB methods
In exploring Spring Data MongoDB, we’ve seen:
-
Standard CRUD methods (
findAll
andfindById
) -
Custom finder methods (
findByNameContaining
) -
Query by Example
-
The
MongoOperations
-
The
@Query
-annotated finders -
Fluent API
Get hands-on with 1400+ tech skills courses.