luc chante Fri Apr 27 13:52:27 -0400 2012

Subject: How can I use 'PASSWORD' function from mysql ?

Hi,

I'm using php activerecord for the first time and I found the doc pretty good.
But I'm still looking for the use of native DBMS functions.

I can't use "magical setter" like
public function set_password($password) { $this->assign_attribute('password', md5($password)); }
because I already have data inserted, and I can't go back from the mysql function PASSWORD.

Does someone know how to do that ?
thx

ps: sorry for my English.