I would think that the "right thing" to do here would be to map a view containing your case, instead of kludging this into the mapper code.

On 3/17/06, Rick Morrision <[EMAIL PROTECTED]> wrote:
Hey Mike -- are there any plans for support for the CASE construct as a column type? Is anyone else interested in this?

CASE WHEN [condition] THEN [result]
       [WHEN ...]
       [ELSE result]
END

--
Jonathan Ellis
http://spyced.blogspot.com

Reply via email to