Hi,

If you allow >>> DBColumnExpr.as(<String>)
then please add the following signature >> DBCommandExpr.orderBy(<String>);
otherwise there is a gap.

Please consider the following use case:

DBCommand cmd = db.createCommand();            
cmd.select(db.album.id,db.album.title,db.album.index,db.album.serieId, 
db.serie.title.as("title"));    
cmd.where(db.album.serieId.is(db.serie.id));

DBCommand cmdUnion = db.createCommand();
cmdUnion.select(db.album.id,db.album.title,db.album.index,db.album.serieId,db.album.title.as("title"));   
 
cmdUnion.where(db.album.serieId.is(null));

DBCommandExpr cmdExpr = cmd.union(cmdUnion);
>>>>> cmdExpr.orderBy("title"); <<<<<<<

Did I miss something?





      

Reply via email to