dupontMongodb

Pages

  • Accueil
  • Atlas
  • mongodb
  • mongoose Intro
  • mongoose Schema
  • mongoose Create
  • mongoose Read
  • Mongoose Update
  • mongoose Delete

Methodes et Virtual in shema

🎓 Mongoose Virtual & Method Mini Demo

Minimal teaching project to show two core Mongoose schema features:

  1. A virtual property url (computed, not stored in MongoDB)
  2. An instance method getSummary(maxLength) (logic with parameters)

🚀 https://github.com/dupontdenis/mongoose-virtual.git

Article plus récent Article plus ancien Accueil

Archives du blog

  • ▼  2025 (9)
    • ▼  novembre (9)
      • Virtual en action !
      • without populate
      •  Let's start with mongoose !API with mongoose !Met...
      • *Transformer APP en API
      • Methodes et Virtual in shema
      • Agregation
      • API with mongoose !
      • Let's start with mongoose !
      • many to one !
  • ►  2023 (3)
    • ►  novembre (2)
    • ►  octobre (1)
  • ►  2022 (4)
    • ►  décembre (1)
    • ►  novembre (2)
    • ►  octobre (1)
  • ►  2021 (2)
    • ►  novembre (1)
    • ►  octobre (1)
  • ►  2020 (2)
    • ►  février (2)
Thème Simple. Fourni par Blogger.