Chce użyć polecenia:
mongoimport --db List --collection cos--file cos.json --jsonArray
a wyskakuje mi taki błąd
mongoimport : The term 'mongoimport' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ mongoimport --db List --collection cos--file cos.json --json ...
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (mongoimport:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
wersja mongodb to 4.4
dodałem katalog bin do zmienne srodowiskowej PATH