CRUD save empty field as NULL (and not 0) to database

23 views
Skip to first unread message

Marty

unread,
Sep 26, 2014, 2:35:10 PM9/26/14
to agile-too...@googlegroups.com
Hi Group,

When I save a CRUD form all (MySQL - DECIMAL) fields are set to 0 instead of NULL.

I'm trying to figure out how to save a empty value as NULL to the database instead of 0.

Any pointer is appreciated.

Marty


Romans Malinovskis

unread,
Sep 29, 2014, 6:09:21 PM9/29/14
to agile-too...@googlegroups.com
I have recently started a branch to clean up type casting in Agile Toolkit:


When this is stable, it will be merged and will probably make it into Agile Toolkit 4.3.1.

Meanwhile there is no clear solution for this.
Reply all
Reply to author
Forward
0 new messages