Complete MongoDB Tutorial #5 - Using the MongoDB Shell

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

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

  • @buidu691
    @buidu691 2 года назад +50

    - use db : switch to db database (exist or not exist is ok . If not exist when you add collection it will create for you)
    - cls : clear screen
    - show collections : show all collections in current database
    - db : show your current database name
    - help : list all option command
    - name = "yoshi" : create variable in shell
    - exit : stop shell
    - mongosh : start shell

  • @the_lee_effect
    @the_lee_effect 2 года назад +9

    Man just puts out the video on everybody's mind at the exact right time.... 🙌🙌🙌🙌🙌

  • @narutodihargo
    @narutodihargo Год назад +3

    01:30= show databases in MongoShell, 02:04= switch Databases, use it, 03:00= swtich Databases which is not exist, 03:27= using cmd, 04:55= show collections,

  • @liamanhajiyeva
    @liamanhajiyeva Год назад +2

    your videos are the best thank you . i had struggles with mongodb but now understood everything

    • @NetNinja
      @NetNinja  Год назад +1

      That's great to hear :) glad it was helpful!

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

    The least I can do is like and say thank you.
    I will do this insha'Allah on every video I watch :)

  • @benbrahimilias426
    @benbrahimilias426 2 года назад +3

    You are literally the BEST!

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

    You're a great teacher, thanks so much

  • @itcollage8987
    @itcollage8987 2 года назад +5

    Your Ninja from Somalia 🇸🇴

  • @Rishitha20
    @Rishitha20 11 месяцев назад

    Bro saved lives 🙏

  • @mindlessmeat4055
    @mindlessmeat4055 8 месяцев назад

    This is great. Thank for this.

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

    The best ever tutor

  • @paramgandhi5768
    @paramgandhi5768 Год назад +1

    if i make a new databse using use let's say use abc, and then i do show dbs, why does it only show admin config and local? is it because the abc database is empty?

    • @AbbasRaza-y9l
      @AbbasRaza-y9l 9 месяцев назад

      u have to refresh your database then try.

  • @abdelilahazelhak924
    @abdelilahazelhak924 Год назад +1

    amazing videos bro continue , i want learn back-end and front-end using Mongodb compass , do you have any videos , i tried with drivers but it is complicated ! do you have any video ? demontration?

  • @Maheshpatel-fy1tu
    @Maheshpatel-fy1tu 2 года назад +2

    I love "Net Ninja "

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

    so helpful! Thanks a lot!

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

    Where you from ninja? your accent is solid and clear ngl

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

      Manchester, England :)

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

    I cannot see the terminal option in my Mongo DB community edition. Is it only available in pro edition and not available in community edition?

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

      No it's available bro

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

      It isn't part of the Mongo DB community edition, but it is a free separate download. See video #2 in playist: ruclips.net/video/gDOKSgqM-bQ/видео.html

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

    I just watched your spell kit tutorials I think it would be awesome if you would do a video using sveltekit and mongodb or supabase just a request I'll watched whatever you put out I have been for years

  • @Awais-zain
    @Awais-zain Год назад

    Your powershell have tabs but mine it is not showing any tabs

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

    Thank you.

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

    I cannot connect from the shell out of mongo, have son ideas why?

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

      Have you tried to see the varible path stablished for the console? Maybe be sure that the variable paths are the same for the shell and the mongo shell

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

      @@jonathanemmauscamposnavarr1810 All right, how coul I see and change those paths?

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

    Thanks! I forgot the "use ___" part

  • @shineLouisShine
    @shineLouisShine Год назад +1

    thanks
    03:50 -
    It's most certainly not 😕

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

    completed

  • @atharvapawar7085
    @atharvapawar7085 2 месяца назад

    reduce ads bruh

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

    {2022-12-28}

  • @KK_கேகே
    @KK_கேகே 2 года назад

    when i run mongoshell application it opens a command prompt window saying : Please enter a MongoDB connection string (Default: mongodb://localhost/):
    what to do next

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

      press enter while empty it will redirect you to local mongodb database

  • @willysnowman
    @willysnowman Год назад +4

    I thought it was mon gosh. It is mongo sh. LOL!