ObjectDB ObjectDB

addSubquery(sub, variableDeclaration, candidateCollectionExpression) - JDO Query's method

Method
javax.jdo.Query
void addSubquery(
  Query sub,
  String variableDeclaration,
  String candidateCollectionExpression
)

Add a subquery to this query.
Parameters:
sub - the subquery to add to this Query
variableDeclaration - the name of the variable in the outer query to bind the results of the subquery
candidateCollectionExpression - the candidate collection of the subquery as an expression using terms of the outer query
Since:
JDO 2.1
See Also:
addSubquery(Query sub, String variableDeclaration, String candidateCollectionExpression, String... parameters)