[英]How to delete ALL fields in Firestore document but keep the blank document?
As the title shows, I'm searching a direct command to delete all the fields of a document without deleting the document itself.如标题所示,我正在搜索直接命令以删除文档的所有字段而不删除文档本身。
Are you looking for docRef.set({})
?您在寻找
docRef.set({})
吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.