On Mon, Jul 1, 2019 at 11:29 AM Joe Baldwin <jfbald...@earthlink.net> wrote:

> Arseni,
>
> Disclaimer:
> I *just* (this week) upgraded from 4.0.M2 to 4.0.1.  I migrated to using
> the newer syntax - ex:
>
>         table1.property1.asc()
>
> > SelectQuery is planned to be deprecated in 4.2.
>
> My project makes extensive use of “.andExp” to perform
> conditional-expression-building.  So the only question I have is concerning
> discrete expression component building (ie. combining expression-components
> via “.andExp").  Would this be available or would it be deprecated as well?
>

ObjectSelect has a .and(Expression...) method that you can use. Or you can
use Expression.andExp(Expression...)


> BTW, I do like the newer syntax, as it it much easier to read and is less
> verbose.  Excellent work!
>
> Thanks
> Joe
>
>
> > On Jun 28, 2019, at 9:47 AM, Arseni Bulatski <abulat...@objectstyle.com>
> wrote:
> >
> > Hi all,
> >
> > SelectQuery is planned to be deprecated in 4.2.
> > ObjectSelect has better api and is recommended to use.
> >
> > PR: https://issues.apache.org/jira/browse/CAY-2523
> >
> > Please, write your thoughts about it.
>
>

Reply via email to