You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/10/05 16:59:34 UTC

[jira] [Commented] (CAY-1959) Chainable API for SelectQuery

    [ https://issues.apache.org/jira/browse/CAY-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14159551#comment-14159551 ] 

ASF GitHub Bot commented on CAY-1959:
-------------------------------------

GitHub user andrus opened a pull request:

    https://github.com/apache/cayenne/pull/16

    CAY-1959 Chainable API for SelectQuery

    
    * Expression.fromString should actually reside in ExpressionFactory that will be statically imported
    * redoing SelectQuery setters to be chainable
    * fixing minor SQLSelect API issues and filling omissions
    * select/selectOne in SelectQuery
    * 'and' and 'or' are much cleaner when used from ExpressionFactory
    * showing the new API in tutorials

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/andrus/cayenne CAY-1959

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cayenne/pull/16.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16
    
----
commit 9dca05242d393aba5892b6ce33e36fc7e2078bca
Author: aadamchik <aa...@apache.org>
Date:   2014-10-05T14:27:58Z

    CAY-1959 Chainable API for SelectQuery
    
    * Expression.fromString should actually reside in ExpressionFactory that will be statically imported
    * redoing SelectQuery setters to be chainable
    * fixing minor SQLSelect API issues and filling omissions
    * select/selectOne in SelectQuery
    * 'and' and 'or' are much cleaner when used from ExpressionFactory
    * showing the new API in tutorials

----


> Chainable API for SelectQuery
> -----------------------------
>
>                 Key: CAY-1959
>                 URL: https://issues.apache.org/jira/browse/CAY-1959
>             Project: Cayenne
>          Issue Type: Task
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>
> SelectById and SQLSelect are two examples of queries with chainable API. We'll be moving in the same direction with SelectQuery.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)