12 lines
281 B
Plaintext
12 lines
281 B
Plaintext
|
[[java-query-dsl-exists-query]]
|
||
|
==== Exists Query
|
||
|
|
||
|
See {ref}/query-dsl-exists-query.html[Exists Query].
|
||
|
|
||
|
[source,java]
|
||
|
--------------------------------------------------
|
||
|
QueryBuilder qb = existsQuery("name"); <1>
|
||
|
--------------------------------------------------
|
||
|
<1> field
|
||
|
|