Hello, I’m having an issue where the values for 2 columns are swapped in my table.
https://i.imgur.com/945OWNb.png</img>
Every time I try to delete the numUpdated (was used to test something and is no longer needed), it gets re-added when I refresh the page. Any help?
Hi Michael,
The columns would be added if the API calls to save data reference these columns. If you believe, this is not the case, please let us know your application ID.
Regards,
Mark
That might be the case. Would the column be re-added even if numUpdated wasnt explicitly used?
If it is the case where whenever the table is updated it gets re-added, what would be the best way to delete it then?
Yes, if the class you save in the backendless database declares a property, a column will be created even if the property is not explicitly initialized.
If this is the case, I would recommend creating a “beforeCreate” event handler (CloudCode) and delete the property in the serialized object.
Ok, ill look into that. Once I do that, the column should stay deleted correct?
And I’ll take this as a lesson before I add more test columns haha.