[eluser]Haqqi[/eluser] Update: Sorry, my fault. I should use update() method instead of save().
I downloaded latest source of DataMapper from Bitbucket.
What I want to ask is how to ignore created and updated field? Because not all my tables have created and updated fields. If i just try to write:
Code:
$opt = new Option();
$opt->get_by_key('the_key');
$opt->value = 'new_value';
$opt->save();
I got an error that DataMapper try to update "updated" field. I have changed the config item "updated_field" to "null", but it seems that DataMapper use default "updated" as the name of the field.