How to handle "null" coming as string?

Options
Sourabh
Sourabh Member

I do not want to update fields in my database when it is coming as null or as a "null" string. Bubble API connector is sending unset string fields as "null" string. I am using first_notempty as explained in the below video. But this doesn't seem to handle "null" strings. The only alternative way to handle this situation I could think of was to check those fields one by one for the "null" string and update it as actual null. Is there an easy way to handle "null" strings? There are a lot of fields and I think handling each one of them separately is not a good idea.

https://docs.xano.com/working-with-data/data-type-filters/manipulation-filters/conditional-set-filters

Tagged:

Best Answers

Answers