Skip to content

Commit 07ef3f5

Browse files
committed
doc update
1 parent a191839 commit 07ef3f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ For more control over an attribute's behavior, you can specify an object as the
381381
| default | *same as* `type` or `function` | all | Specifies a default value (if none provided) when using `put` or `update`. This also supports functions for creating custom default. See more below. |
382382
| dependsOn | `string` or `array` of `string`s | all | Creates a dependency graph for default values. For example, if the attribute uses a default value that requires another attribute's default value, this will ensure dependent attributes' default values are calcuated first. |
383383
| onUpdate | `boolean` | all | Forces `default` values to be passed on every `update`. |
384+
| save | `boolean` | all | Specifies whether this attribute should be saved to the table. Defaults to `true`. |
384385
| hidden | `boolean` | all | Hides attribute from returned JavaScript object when auto-parsing is enabled or when using the `parse` method. |
385386
| required | `boolean` or "always" | all | Specifies whether an attribute is required. A value of `true` requires the attribute for all `put` operations. A `string` value of "always" requires the attribute for `put` *and* `update` operations. |
386387
| alias | `string` | all | Adds a bidirectional alias to the attribute. All input methods can use either the attribute name or the alias when passing in data. Auto-parsing and the `parse` method will map attributes to their alias. |

0 commit comments

Comments
 (0)