-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(dsl): Support 'hasChild' query #191
Conversation
* @param childType | ||
* a name of the child relationship mapped for the join field | ||
* @param query | ||
* query you wish to run on child documents of the child `type` field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A [[ElasticQuery]] ...
* an instance of [[zio.elasticsearch.query.HasChildQuery]] that represents the has parent query to be performed. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
..has child query..
* an instance of [[zio.elasticsearch.query.HasChildQuery]] that represents the has parent query to be performed. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
..has child query..
* @param childType | ||
* a name of the child relationship mapped for the join field | ||
* @param query | ||
* query you wish to run on child documents of the child `type` field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A [[ElasticQuery]] ...
def maxChildren(value: Int): HasChildQuery[S] | ||
|
||
/** | ||
* Sets the `minChildren` parameter parameter for the [[HasChildQuery]]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Sets the `minChildren` parameter parameter for the [[HasChildQuery]]. | |
* Sets the `minChildren` parameter for the [[HasChildQuery]]. |
Resolves
hasChildQuery
in #91Summary:
has_child
queryhas_child
queryHasParent
creation methods