deta/deta-python

The update() method seems to have a problem

lu-yanpeng opened this issue · 1 comments

I have data like this

屏幕截图 2023-06-02 033429

When I use the db.update(key='test', updates={'text': ''}) method to update it and specify text as '', I want it to save an empty string, but it will actually save null.

屏幕截图 2023-06-02 034149

The same situation occurs when updating the object.

屏幕截图 2023-06-02 034804

Is this the correct behavior? How do I save an empty string?

this might be a ui bug. could you check using the sdk if the value is actually an empty string?