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

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

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

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

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

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

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

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

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

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

    Amazing video. It really helped me

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

    this code looks horrendous

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

    Is the LINQ approach already on the channel?

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

    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.

  • @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 ...