ColdBox Framework Forums Notification: Post to qUeryHelper Plugin

Title: qUeryHelper Plugin
Thread: qUeryHelper Plugin
Forum: Enhancements
Conference: ColdBox
User: refriedchicken Can I suggest:

<cffunction name="filterNull" access="public"
returntype="query" hint="Filters a query by NULL" output="false">
************************************************************* --->
<cfargument name="qry" type="query" required="yes" hint="Query to filter">
<cfargument name="field" type="string" required="yes" hint="Field to filter
    <!--- ************************************************************* --->
<cfset var qryNew = QueryNew("")>
    <cfquery name="qryNew" dbtype="query">
        FROM arguments.qry
        WHERE #trim(arguments.field)# IS NULL
    <cfreturn qryNew>

I added it to mine
and it has enabled me to filter when a column has a null value.