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 {
12461246 * or<pre>
12471247 * object.save(attrs, options);</pre>
12481248 * or<pre>
1249+ * object.save(key, value);</pre>
1250+ * or<pre>
12491251 * object.save(key, value, options);</pre>
12501252 *
1251- * For example, <pre>
1253+ * Example 1: <pre>
12521254 * gameTurn.save({
12531255 * player: "Jake Cutter",
12541256 * diceRoll: 2
@@ -1258,6 +1260,9 @@ class ParseObject {
12581260 * // The save failed. Error is an instance of Parse.Error.
12591261 * });</pre>
12601262 *
1263+ * Example 2: <pre>
1264+ * gameTurn.save("player", "Jake Cutter");</pre>
1265+ *
12611266 * @param {string | object | null } [arg1]
12621267 * Valid options are:<ul>
12631268 * <li>`Object` - Key/value pairs to update on the object.</li>
You can’t perform that action at this time.
0 commit comments