Groups
Groups
Sign in
Groups
Groups
Agile Toolkit Developers
Conversations
About
Send feedback
Help
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 PM
9/26/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
9/29/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to agile-too...@googlegroups.com
I have recently started a branch to clean up type casting in Agile Toolkit:
https://github.com/atk4/atk4/tree/4.3-ModelTypeCleanup
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