Opened 14 years ago

Closed 14 years ago

#719 closed enhancement (fixed)

Add support for JEP if() function

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: trivial Milestone: BASE 2.4
Component: core Version:
Keywords: Cc:

Description

JEP supports an if() function with the following syntax: if(condition, exprIfTrue, exprIfFalse)

We are missing a converter that can translate this to the Query API. The Expressions.caseWhen() can probably be used to create the SQL/HQL.

See also: http://www.mail-archive.com/basedb-devel@lists.sourceforge.net/msg00025.html

Change History (2)

comment:1 Changed 14 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 Changed 14 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [3656]) Fixes #719: Add support for JEP if() function

Note: See TracTickets for help on using tickets.