You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "John Huss (Updated) (JIRA)" <ji...@apache.org> on 2012/02/27 21:57:49 UTC

[jira] [Updated] (CAY-1675) [PATCH] add .first(List) method to Expression to enhance in-memory filtering

     [ https://issues.apache.org/jira/browse/CAY-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Huss updated CAY-1675:
---------------------------

    Attachment: expression_first_match_patch.txt
    
> [PATCH] add .first(List<T>) method to Expression to enhance in-memory filtering
> -------------------------------------------------------------------------------
>
>                 Key: CAY-1675
>                 URL: https://issues.apache.org/jira/browse/CAY-1675
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 3.1M4
>            Reporter: John Huss
>            Priority: Trivial
>              Labels: patch
>         Attachments: expression_first_match_patch.txt
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> Add .first(List<T>) method to Expression to enhance in-memory filtering.  This is a very helpful convenience making one-liners possible where an expression is known to return a single result (like filtering on a unique key).  Patch attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira