DATACOUCH-170 - Fix N1QL annotation and inline querying in docs

In some places in the doc (javadoc, README, asciidoc), the annotation was still referred to as N1QL instead of Query...

Improved doc on inline statement for N1QL queries allowing the use of positional `$1` placeholders.
This commit is contained in:
Simon Baslé
2015-10-15 17:28:37 +02:00
parent c6aa84ced4
commit 5beeaff9af
4 changed files with 12 additions and 5 deletions

View File

@@ -26,6 +26,10 @@ import org.springframework.data.repository.query.RepositoryQuery;
/**
* A {@link RepositoryQuery} for Couchbase, based on N1QL and a String statement.
* <p/>
* The statement can contain positional placeholders (eg. <code>name = $1</code>) that will map to the
* method's parameters, in the same order.
* <p/>
* The statement can contain placeholders for the {@link #PLACEHOLDER_BUCKET bucket namespace},
* the {@link #PLACEHOLDER_ENTITY ID and CAS fields} necessary for entity reconstruction or
* a shortcut that covers {@link #PLACEHOLDER_SELECT_FROM SELECT AND FROM clauses}.