Skip to content

8.1.0

Choose a tag to compare

@VladislavFitz VladislavFitz released this 04 Aug 14:24

This minor release adds a possibility to update multiple fields of the record using partiaUpdate method with new dictionary syntax:

index.partialUpdateObject(withID: "userAccountID", with: [
  "name": "John Doe",
  "postsCount": 2000,
  "followers": .add(value: "nightStranger51", unique: false),
  "followersCount": .increment(value: 20),
  "likes": .incrementSet(value: 15)
])