Query.isEmpty() returns false when Query has no rows but has defined columns

Description

The following returns false:

The expected behaviour is to return true, and so do the docs state.

Live example: http://trycf.com/gist/873579e05b829c3949b2/lucee?theme=monokai

Activity

Pothys - MitrahSoft 8 November 2021 at 10:18

I've checked this with the latest build. QueryIsEmpty() function and member function works fine.

Michael Offner 5 November 2021 at 17:38

great work! please give that build a try

Michael Offner 5 November 2021 at 17:36

Pothys - MitrahSoft 8 September 2021 at 13:09

I added a fix and testcase to this ticket

Pull request:

Michael Offner 8 April 2019 at 19:50

we will add a member function for this ans also to other types

Fixed

Details

Assignee

Reporter

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Fix versions

Affects versions

Priority

Created 22 June 2015 at 13:35
Updated 27 April 2022 at 16:50
Resolved 8 November 2021 at 10:19