-
When doing a particular "save row" action on a postgresql table, I need to set one of the columns using JavaScript. The trouble is, in some cases the column needs to be null. However, if the JavaScript returns @melohagan any ideas? I am sure I have seen this resolved in some discussion somewhere but I cannot for the life of me find it. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Hey @kpturner I think if you save a blank string to a column, then it will be converted to a null in the backend.
|
Beta Was this translation helpful? Give feedback.
-
I will give it a try - thanks |
Beta Was this translation helpful? Give feedback.
-
@melohagan That doesn't work at all. I also tried it with a Date field, and nothing is even able to change that value - empty string, null, 0, etc... Is there really no way to set the value to actual null? |
Beta Was this translation helpful? Give feedback.
-
Is it different for Execute Query actions? If I set a binding to a blank string, it tries to save a blank string to the database column, instead of a null. |
Beta Was this translation helpful? Give feedback.
Hey @kpturner
I think if you save a blank string to a column, then it will be converted to a null in the backend.