empire-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivan nemeth <ivan.nem...@forumdigital.net>
Subject Re: DBCommand API Question
Date Fri, 07 Aug 2015 09:30:51 GMT
Thanks, Rainer.

On Fri, Aug 7, 2015 at 10:43 AM, Rainer Döbele <doebele@esteam.de> wrote:

> Hi Ivan,
>
>
>
> good point. Looks like a (minor) bug.
>
>
>
> However this Is just a factory function for a DBJoinExpr.
>
> That means you can easily do the following:
>
>
>
> DBJoinExpr joinExpr = new DBJoinExpr(left_expr, right_expr,
> DBJoinType.INNER);
>
> cmd.join(joinExpr);
>
>
>
> I will correct this in the API.
>
>
>
> Tx
>
> Rainer
>
>
>
>
>
> *from:* Ivan Nemeth [mailto:ivan.nemeth@gmail.com]
> *to:* user
> *re:* DBCommand API Question
>
>
>
> Hi,
>
>
>
> DBCommand has a method for join:
>
>
>
>  public DBJoinExpr join(DBColumnExpr left, DBColumn right, DBJoinType
> joinType)
>
>
>
> Why does this method only accept DBColumn for the right join while you can
> instantiate a DBJoinExpr with DBColumnExpr for both side?
>
>
>
> Ivan
>

Mime
View raw message