QueryIsEmpty()

returns query empty or not

Introduced: 6.0.0.120

QueryIsEmpty( query=query );

Returns: Boolean

Argument Description
query
query, required

Query object to check.

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