Message from JavaScript discussions

May 2018

— You copied it from the closed Issue in "You dont know JS". It's closed, because somebody argued that "implicit" is not implicit... imo, i dont see any "implicit" things there, everything is determined

Message permanent page


Hello guys! Can someone tell me how I can store image url which should be seen from my frontend into my database. I'm using postgres and sequelise ORM.

— Hi man, i don't know, where does it fail?

— How do you write a mongodb find statement

— It seems to return a null

— I only want to find a field of an object if it finds it it will return the whole object

— To get only one item
you can do find_one()

— And check if it is undefined
and then grab the whole thing

— I really. don't understand why mongodb is returning a null

— Can anyone kindly assist me

— Err is null, results are [] - empty array.. arguments for console.log

— You're logging err