query.isEmpty()

returns query empty or not

Introduced: 6.0.0.120

query.isEmpty( )

Returns: Boolean

This function does not take any arguments.

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">testQuery1.isempty</span><span class="p">());</span>
<span class="nf">writedump</span><span class="p">(</span><span class="nf">testQuery2.isempty</span><span class="p">());</span>

See also