mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-30 23:04:59 +08:00
fix glob format
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: Comprehensive best practices for developing with MongoDB, covering schema design, code organization, performance optimization, security considerations, and testing strategies. This rule provides actionable guidance to help developers build robust and scalable MongoDB applications.
|
||||
globs: **/*.{js,ts,mongodb}
|
||||
globs: *.js,*.ts,*.mongodb
|
||||
---
|
||||
- **Understand Schema Differences Between Relational and Document-based Databases:** Recognize that MongoDB's document-oriented model differs significantly from relational databases. Design schemas that reflect the relationships within the data itself, rather than relying on joins.
|
||||
- **Embed Your Data Instead of Relying on Joins:** Favor embedding related data within a single document to minimize the need for costly join operations. This approach can significantly improve read performance.
|
||||
|
||||
Reference in New Issue
Block a user