0
length('FIELD_NAME') = 0 vs 'FIELD_NAME' = null
Hi, in the latest 3.15.2 Ninox version an important issue fixed:
"Previously, empty field values were interpreted differently on the server and client. The client recognized empty fields as "undefined," while the server stored them as "null," leading to inconsistencies in data handling. Now, both server and client correctly treat empty fields as "null" for consistency."
So far, I've been using the length() function in my database to check for empty text fields.
But when it comes to performance, should I replace it with 'FIELD_NAME' = null ?
2 replies
-
I use:
not 'FIELD_NAME' to check if it's empty or just 'FIELD_NAME' to check if it contains something.
eg.: if 'FIELD_NAME' then .....
Content aside
- Status Answered
- 2 days agoLast active
- 2Replies
- 25Views
-
2
Following