Skip to content

Commit a7402d1

Browse files
committed
Javadoc: ancestor() includes the specified ancestor.
1 parent 5200245 commit a7402d1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/com/googlecode/objectify/cmd/SimpleQuery.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ public interface SimpleQuery<T> extends QueryExecute<T>
3636

3737
/**
3838
* Restricts result set only to objects which have the given ancestor
39-
* somewhere in the chain. Doesn't need to be the immediate parent.
39+
* somewhere in the chain. Doesn't need to be the immediate parent. The
40+
* specified ancestor itself will be included in the result set (if it
41+
* exists).
4042
*
4143
* @param keyOrEntity can be a Key, a Key<T>, or an Objectify entity object.
4244
*/

0 commit comments

Comments
 (0)