Problem: I have an attribute of type Datetime, is not required, once I set that attribute value, Im not able to set it back to null if I need it . Is there a way to allow it to go back to null?
Does this apply to all attributes? Like integer, strings, etc?
it doessnt seem like it, but I havent done a big test
error will happen also on console
you cant set it to null even in the console I mean
console will definitely not work. How about via API/SDK?
I'll do some testing tomorrow morning and keep you posted, but I think it doesnt changes when I do it from my flutter app, but I need to review the code to make sure Im trying to set it as null
It would be helpful for us to know if it's included in the network request as null but it doesn't actually set the attribute to null
Hey! I was just able to test it, we can send it from the SDK with a null and the system will accepted, I'll set this as solved
[Solved] Cant set to null a datetime after adding a value
Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...