Complete MongoDB Tutorial #5 - Using the MongoDB Shell

Поділитися
Вставка
  • Опубліковано 29 січ 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.... 🙌🙌🙌🙌🙌

  • @benbrahimilias426
    @benbrahimilias426 2 роки тому +3

    You are literally the BEST!

  • @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 :)

  • @narutodihargo
    @narutodihargo Рік тому +4

    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,

  • @sarz3547
    @sarz3547 7 місяців тому

    You're a great teacher, thanks so much

  • @itcollage8987
    @itcollage8987 2 роки тому +5

    Your Ninja from Somalia 🇸🇴

  • @Rishitha20
    @Rishitha20 Рік тому

    Bro saved lives 🙏

  • @mindlessmeat4055
    @mindlessmeat4055 8 місяців тому

    This is great. Thank for this.

  • @nghabd8026
    @nghabd8026 2 роки тому +1

    The best ever tutor

  • @Maheshpatel-fy1tu
    @Maheshpatel-fy1tu 2 роки тому +2

    I love "Net Ninja "

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

  • @renekahremann
    @renekahremann 2 роки тому

    so helpful! Thanks a lot!

  • @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 10 місяців тому

      u have to refresh your database then try.

  • @Alphfirm
    @Alphfirm Рік тому

    Thanks! I forgot the "use ___" part

  • @dever312
    @dever312 Рік тому

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

    • @NetNinja
      @NetNinja  Рік тому

      Manchester, England :)

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

  • @sabuein
    @sabuein Рік тому

    Thank you.

  • @shineLouisShine
    @shineLouisShine Рік тому +1

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

  • @Awais-zain
    @Awais-zain Рік тому

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

  • @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: ua-cam.com/video/gDOKSgqM-bQ/v-deo.html

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

  • @S_Saurav
    @S_Saurav Рік тому

    completed

  • @atharvapawar7085
    @atharvapawar7085 3 місяці тому

    reduce ads bruh

  • @Pareshbpatel
    @Pareshbpatel 2 роки тому

    {2022-12-28}

  • @willysnowman
    @willysnowman Рік тому +5

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

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