You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by ab...@apache.org on 2019/02/06 08:51:20 UTC

[cayenne] branch STABLE-3.1 updated: Docs cleanup

This is an automated email from the ASF dual-hosted git repository.

abulatski pushed a commit to branch STABLE-3.1
in repository https://gitbox.apache.org/repos/asf/cayenne.git


The following commit(s) were added to refs/heads/STABLE-3.1 by this push:
     new 05b0dd4  Docs cleanup
05b0dd4 is described below

commit 05b0dd49ee142a0e9f5cdce1057574218e80dd6f
Author: Arseni Bulatski <an...@gmail.com>
AuthorDate: Wed Feb 6 11:49:24 2019 +0300

    Docs cleanup
---
 .../src/docs/asciidoc/_cayenne-guide/part2/expressions.adoc           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/expressions.adoc b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/expressions.adoc
index 74b836a..6f026f8 100644
--- a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/expressions.adoc
+++ b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/expressions.adoc
@@ -215,7 +215,7 @@ Checking whether an object satisfies an expression:
 
 [source, java]
 ----
-Expression e = Artist.NAME.in("John", "Bob");
+Expression e = ExpressionFactory.inExp("artistName", "John", "Bob");
 Artist artist = ...
 if(e.match(artist)) {
    ...
@@ -235,7 +235,7 @@ Filtering a list of objects:
 
 [source, java]
 ----
-Expression e = Artist.NAME.in("John", "Bob");
+Expression e = ExpressionFactory.inExp("artistName", "John", "Bob");
 List<Artist> unfiltered = ...
 List<Artist> filtered = e.filterObjects(unfiltered);
 ----