V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
LeanCloud
LeanCloud
imcj
V2EX  ›  LeanCloud

请教 AVOS Cloud 按条件批量更新对象?

  •  
  •   imcj · Oct 9, 2014 · 3943 views
    This topic created in 4224 days ago, the information mentioned may be changed or developed.
    @AVOSCloud 我想要递增 score > ? 的所有对象的rank字段。

    我的需求就是一个很常见的游戏排行。

    谢谢。
    1 replies    2014-10-11 11:46:02 +08:00
    beatles
        1
    beatles  
       Oct 11, 2014
    查询出这些对象,分别修改每个对象,然后saveAll批量保存
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   998 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:59 · PVG 01:59 · LAX 10:59 · JFK 13:59
    ♥ Do have faith in what you're doing.