We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
parse-community
Learn more about funding links in repositories.
Report abuse
1 parent 16b45fd commit d71eb33Copy full SHA for d71eb33
src/ParseObject.js
@@ -1246,9 +1246,11 @@ class ParseObject {
1246
* or<pre>
1247
* object.save(attrs, options);</pre>
1248
1249
+ * object.save(key, value);</pre>
1250
+ * or<pre>
1251
* object.save(key, value, options);</pre>
1252
*
- * For example, <pre>
1253
+ * Example 1: <pre>
1254
* gameTurn.save({
1255
* player: "Jake Cutter",
1256
* diceRoll: 2
@@ -1258,6 +1260,9 @@ class ParseObject {
1258
1260
* // The save failed. Error is an instance of Parse.Error.
1259
1261
* });</pre>
1262
1263
+ * Example 2: <pre>
1264
+ * gameTurn.save("player", "Jake Cutter");</pre>
1265
+ *
1266
* @param {string | object | null} [arg1]
1267
* Valid options are:<ul>
1268
* <li>`Object` - Key/value pairs to update on the object.</li>
0 commit comments