Recent Profiles
Profiles captured by the profiler
Schemas
/
Mongoose
— global, captured at startup
Registered models
1 models
Document diagram
Mermaid
Rendered with Mermaid, loaded from cdn.jsdelivr.net when this section is opened. Solid lines embed a document, dashed lines are refs — ids the database never checks.
Loading diagram…
erDiagram
Review {
String productId
Number rating
String comment
Number authorId
String status
ObjectId _id PK
Date createdAt
Date updatedAt
Number __v
}
Review
→ reviews
9 fields
Fields
| Name | Type | Required | PK | Generated | Default |
|---|---|---|---|---|---|
| productId | String | yes | — | — | — |
| rating | Number | yes | — | — | — |
| comment | String | yes | — | — | — |
| authorId | Number | yes | — | — | — |
| status | String | no | — | — | pending |
| _id | ObjectId | no | PK | auto | — |
| createdAt | Date | no | — | — | — |
| updatedAt | Date | no | — | — | — |
| __v | Number | no | — | — | — |