# QueryIsEmpty()

returns query empty or not

**Introduced:** 6.0.0.120

```
QueryIsEmpty( query=query );
```

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| query | query | Yes | Query object to check. |  |

# Examples

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

	writedump(queryIsEmpty(testQuery1));
	writedump(queryIsEmpty(testQuery2));
```







# Categories

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

# See Also

[query.isEmpty()](../objects/query/isempty.md)