# query.isEmpty()

returns query empty or not

**Introduced:** 6.0.0.120

```
query.isEmpty( )
```

**Returns:** boolean

*This function does not take any arguments.*

# Examples

```cfml
	testQuery1 = QueryNew('col1');
	testQuery2 = queryNew( "name , age" , "varchar , numeric" , { name: [ "Susi" , "Urs" ] , age: [ 20 , 24 ] } );

	writedump(testQuery1.isempty());
	writedump(testQuery2.isempty());
```

# Categories

[Queries](../../../categories/query.md)

# See Also

[QueryIsEmpty()](../../functions/queryisempty.md), [Query](../query.md)