Start a new topic

How to remove null values from response object

Hi All,

i'm querying for data and the response is coming and some rows it contain null values ,

How to remove null values from response object. Ho write a query to remove null values from the response object. any info can be highly appreciated, Thanks in advance.

Hi Damien, Thank you for your valuable info.. It helps me..
Good morning Harish, There is no way to do this using just iOS. There's an issue here, that should be looked at. We do not write null values to your database. The only way that this would happen is if you were writing an NSNull to your database. The actual way to fix this, is to write a post-fetch hook in Business logic in order to iterate through your values and invoke a delete on null values in your result set. If you have any questions, please let me know, Thanks,
Login or Signup to post a comment