[英]Is there a way to make a Firestore document field match the result of two others? I.e. field A + field B = field C
有沒有辦法讓 Firestore 文檔字段與另外兩個的結果相匹配? 即字段 A + 字段 B = 字段 C 我將使用 Firestore 數據庫來存儲產品信息。 產品存儲在不同的位置,因此每個產品都有一個“庫存”object,每個庫存位置都包含一個 object。 例如,產品 A 可能具有以下字段 ...