[Maypole] transforming columns
Tony Bowden
tony-maypole@kasei.com
Thu, 13 May 2004 09:06:13 +0100
On Thu, May 13, 2004 at 01:46:31AM +0200, Nikola Knezevic wrote:
> Hi, I'm storing password column as md5 hash. OK, that's easy:)
> The thig that is not so easy is doing it using CDBI (for me, at least)
> I'm fiddling with CDBI now, but using inflate and deflate doesn't give me
> any results. Any thoughts?
Is this something you're doing at the application level or at the
database itself?
If you can do it through a database function you could possibly override
the placeholder for that column to include the function.
If it's at the application you probably have to override the password()
method in that table's CDBI subclass to DTRT.
Tony