Insert into MongoDB Atlas through NodeJS | INFY TECH

  Рет қаралды 11,239

INFY TECH

INFY TECH

Күн бұрын

This video shows you how to insert a document into mongodb atlas collection
Link: www.mongodb.co...

Пікірлер: 23
@s.suchirpatro2990
@s.suchirpatro2990 2 жыл бұрын
Thanks bro for this video. You saved me from big trouble.
@ShanakaMadhushan-cw8rh
@ShanakaMadhushan-cw8rh Жыл бұрын
short and very clear explanation..💪👍❤
@anugrahyadav1934
@anugrahyadav1934 Жыл бұрын
Hey, Vasant I really liked your content as it is short and to the point , Can you please make more videos about how to pass specific params into the database fetching process.
@pawanbisht6797
@pawanbisht6797 Жыл бұрын
It's really good, thanks for helping me to connect a node js with a mongodb
@well_done_07
@well_done_07 2 жыл бұрын
you are the best teacher who ever lived .. thank dude
@RamprasadShindee
@RamprasadShindee 2 жыл бұрын
Not best , getting error ChannelModel is not a constructor .
@schadrackbotombe9899
@schadrackbotombe9899 2 жыл бұрын
than you havent met the net ninja
@c00per_
@c00per_ 5 ай бұрын
Why not use Post request for insert?
@ShanakaMadhushan-cw8rh
@ShanakaMadhushan-cw8rh Жыл бұрын
great job bro . thank you
@abdulahadpasha5694
@abdulahadpasha5694 2 жыл бұрын
doing the same, but having an error in app.js... on app.get("/insert") var channelModel = new ChannelModel..... its says ChannelModel is not a constructor. what would I do, let me know please?
@vasupasricha406
@vasupasricha406 2 жыл бұрын
same error
@abdulahadpasha5694
@abdulahadpasha5694 2 жыл бұрын
@@vasupasricha406 have you resolved it?
@shreyjo7
@shreyjo7 2 жыл бұрын
you probably haven't imported the channel model
@prataptengale5448
@prataptengale5448 Жыл бұрын
'new' is not needed for mongoose.Schema
@vijay17835
@vijay17835 Жыл бұрын
thank you sir
@ShahidShaik-sm3ym
@ShahidShaik-sm3ym Жыл бұрын
could you please share the code in the comments
@vasupasricha406
@vasupasricha406 2 жыл бұрын
kindly help im pasting the error message in reply
@vasupasricha406
@vasupasricha406 2 жыл бұрын
TypeError: channelModel is not a constructor at D: ode\index.js:29:24 at Layer.handle [as handle_request] (D: ode ode_modules\express\lib outer\layer.js:95:5) at next (D: ode ode_modules\express\lib outer oute.js:144:13) at Route.dispatch (D: ode ode_modules\express\lib outer oute.js:114:3) at Layer.handle [as handle_request] (D: ode ode_modules\express\lib outer\layer.js:95:5) at D: ode ode_modules\express\lib outer\index.js:284:15 at Function.process_params (D: ode ode_modules\express\lib outer\index.js:346:12) at next (D: ode ode_modules\express\lib outer\index.js:280:10) at expressInit (D: ode ode_modules\express\lib\middleware\init.js:40:5) at Layer.handle [as handle_request] (D: ode ode_modules\express\lib outer\layer.js:95:5)
@pawanbisht6797
@pawanbisht6797 Жыл бұрын
Actually you are using same name for the object and the constructor So write it Const dbmodel=new channelmodel() Now it will make a new object for your channelmodel
@harshitpak5987
@harshitpak5987 2 жыл бұрын
getting error...........wasted 2 hours on this errorr :- ChannelModel is not a constructor
@Amityadav-zt6nm
@Amityadav-zt6nm Жыл бұрын
Nahi bhai thankxxxxx alot..
@learningneverends6674
@learningneverends6674 2 жыл бұрын
not working
@debajyotiroy3595
@debajyotiroy3595 2 жыл бұрын
waste
Read from MongoDB Atlas through NodeJS | INFY TECH
2:33
INFY TECH
Рет қаралды 3,2 М.
Node.js + Express - Tutorial - Insert and Get Data with MongoDB
14:05
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 16 МЛН
Can You Find Hulk's True Love? Real vs Fake Girlfriend Challenge | Roblox 3D
00:24
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 16 МЛН
Connect to MongoDB Atlas through NodeJS | INFY TECH
8:52
INFY TECH
Рет қаралды 37 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 436 М.
Connecting NodeJS with MongoDB | Mongoose + Express
19:18
Piyush Garg
Рет қаралды 143 М.
Connect Mongodb Atlas to nodejs and Express Server
34:40
Red Eye Media
Рет қаралды 8 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 658 М.
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 16 МЛН