[Dbix-class] PF::Auto: empty string vs undef
Matt S Trout
dbix-class at trout.me.uk
Tue May 22 21:06:20 GMT 2007
On Tue, May 22, 2007 at 03:38:00PM -0400, Jim Spath wrote:
> I just ran into an issue that another user posted to the list in October:
>
> http://www.mail-archive.com/dbix-class@lists.rawmode.org/msg01949.html
>
> I was wondering if there were any updates to this particular issue?
>
> It appears that my only choice is to pass undef instead of empty string
> for the primary key column, but I guess I'm just curious if this is
> going to be addressed or not :)
Let me guess, MySQL <5 or MySQL 5 without strict mode on? (or SQLite?)
Most databases would throw a type mismatch error; eventually it would be nice
is DBIC did that too for consistency on broken/substandard DBs.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director Want a managed development or deployment platform?
Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/
More information about the Dbix-class
mailing list