QueryIsEmpty()
returns query empty or not
Introduced: 6.0.0.120
QueryIsEmpty( query=query );
Returns: Boolean
Examples
testQuery1 = QueryNew('col1');
testQuery2 = queryNew( "name , age" , "varchar , numeric" , { name: [ "Susi" , "Urs" ] , age: [ 20 , 24 ] } );
<span class="nf">writedump</span><span class="p">(</span><span class="nf">queryIsEmpty</span><span class="p">(</span><span class="nv">testQuery1</span><span class="p">));</span>
<span class="nf">writedump</span><span class="p">(</span><span class="nf">queryIsEmpty</span><span class="p">(</span><span class="nv">testQuery2</span><span class="p">));</span>
See also
- Queries
- query.isEmpty()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)