支持端:小程序 2.8.3, 云函数 1.2.1, Web
更新操作符,给定一个值,只有该值小于字段当前值才进行更新。
参数
value: any
返回值
示例代码
如果字段 progress > 50,则更新到 50
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.