docs: document JSON properties (#13099)
This commit is contained in:
@@ -220,7 +220,7 @@ export default Post
|
||||
|
||||
### json
|
||||
|
||||
The `json` method defines a property whose value is a stringified JSON object.
|
||||
The `json` method defines a property whose value is stored as a stringified JSON object in the database.
|
||||
|
||||
For example:
|
||||
|
||||
@@ -237,6 +237,8 @@ const Post = model.define("post", {
|
||||
export default Post
|
||||
```
|
||||
|
||||
Learn more in the [JSON Properties](../json-properties/page.mdx) chapter.
|
||||
|
||||
### array
|
||||
|
||||
The `array` method defines an array of strings property.
|
||||
|
||||
Reference in New Issue
Block a user