Joining Collections in MongoDB with .NET Core and an Aggregation Pipeline

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • ✅ Sign-up for a free cluster at: mdb.link/free-...
    ✅ Get help on our Community Forums: mdb.link/commu...
    Learn how to use the MongoDB aggregation pipeline to join data from numerous collections using .NET Core and C#.
    A written version of this tutorial can be found at bit.ly/3sSCzfy
    Subscribe to MongoDB ►►► bit.ly/3bpg1Z1

Комментарии • 10

  • @MongoDB
    @MongoDB  Год назад

    ✅ Sign-up for a free cluster at: mdb.link/free-nyKQagiYZlI
    ✅ Get help on our Community Forums: mdb.link/community-nyKQagiYZlI

  • @devrub623
    @devrub623 2 года назад +14

    this code looks horrendous

  • @Ajmal_Yazdani
    @Ajmal_Yazdani 2 года назад +8

    Nice. Thanks and Appreciate! I am waiting for LINQ approach :)

  • @AM-rl8lv
    @AM-rl8lv 2 года назад +6

    Thank you so much! The linq / strongly typed approach is what we really need in our C# code ;-)

  • @ConAim
    @ConAim 2 года назад +1

    You are making harder for yourself by coded linebyline like this. Just compose your Aggregation in MongoDBCompass and export to C# (or any languages), copy and paste ... Done....
    LOL, screw the LINQ ...

  • @juanalbertoboada
    @juanalbertoboada 4 месяца назад

    Amazing video. It really helped me

  • @Lazzarus7
    @Lazzarus7 2 года назад +2

    Is the LINQ approach already on the channel?

  • @Tielc
    @Tielc 9 месяцев назад

    Is there a way to project or map the directly to the c# objects that represent the data? For example, instead of using BsonDocuments as the types, Using a type of Playlist and Movie where the type Playlist contains a property List?

  • @jingzheshan
    @jingzheshan 2 года назад +2

    That’s very nice, is there way in the pipeline you could just get the movie name out? Thanks

    • @tuberk
      @tuberk 2 года назад

      You can achieve this by using project on movies field, nesting in, including name field and nothing else.