File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1246,9 +1246,11 @@ class ParseObject {
1246
1246
* or<pre>
1247
1247
* object.save(attrs, options);</pre>
1248
1248
* or<pre>
1249
+ * object.save(key, value);</pre>
1250
+ * or<pre>
1249
1251
* object.save(key, value, options);</pre>
1250
1252
*
1251
- * For example, <pre>
1253
+ * Example 1: <pre>
1252
1254
* gameTurn.save({
1253
1255
* player: "Jake Cutter",
1254
1256
* diceRoll: 2
@@ -1258,6 +1260,9 @@ class ParseObject {
1258
1260
* // The save failed. Error is an instance of Parse.Error.
1259
1261
* });</pre>
1260
1262
*
1263
+ * Example 2: <pre>
1264
+ * gameTurn.save("player", "Jake Cutter");</pre>
1265
+ *
1261
1266
* @param {string | object | null } [arg1]
1262
1267
* Valid options are:<ul>
1263
1268
* <li>`Object` - Key/value pairs to update on the object.</li>
You can’t perform that action at this time.
0 commit comments