From d47850ad06395f95d2a677003cd227138fe1c2bd Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 12 Apr 2021 15:58:50 +0200 Subject: [PATCH] Polishing. See #613 --- mongodb/query-by-example/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mongodb/query-by-example/README.md b/mongodb/query-by-example/README.md index db247bc3..23eca289 100644 --- a/mongodb/query-by-example/README.md +++ b/mongodb/query-by-example/README.md @@ -4,12 +4,16 @@ This project contains samples of Query-by-Example of Spring Data MongoDB. ## Support for Query-by-Example -Query by Example (QBE) is a user-friendly querying technique with a simple interface. It allows dynamic query creation and does not require to write queries containing field names. In fact, Query by Example does not require to write queries using JPA-QL at all. +Query by Example (QBE) is a user-friendly querying technique with a simple interface. It +allows dynamic query creation and does not require to write queries containing field +names. In fact, Query by Example does not require to write queries using BSON at all. -An `Example` takes a data object (usually the entity object or a subtype of it) and a specification how to match properties. You can use Query by Example with `MongoOperations` and Repositories. +An `Example` takes a data object (usually the entity object or a subtype of it) and a +specification how to match properties. You can use Query by Example with `MongoOperations` +and Repositories. ```java -public interface PersonRepository extends CrudRepository, QueryByExampleExecutor { +interface PersonRepository extends CrudRepository, QueryByExampleExecutor { } ```