[14:56:15] <entry_lvl_dev> imusing reactjs, mongoose, express router ... i tried using findByIdAndUpdate and a bunch of other update methods but it never inserts into mongodb... im trying to first insert an array of objects in a empty array... my mongoose.schema has a property like this bannerData: [], do i have to define the object in the array and its properties
[14:56:53] <basalt> hi all, does anybody know a spring framework to mock mongodb, not an embedded version, just a query and response mocking on mongo client base ?
[14:57:50] <entry_lvl_dev> the inserted objects can have different objects inserted..how do i do this properly? after i insert the data for first time then i will be updating the data
[14:58:33] <entry_lvl_dev> when i use the .save() method it works but it creates a new record/ but i want to insert into an existing record
[14:59:02] <entry_lvl_dev> in mongoose the bannerData:[] is an empty array
[14:59:09] <entry_lvl_dev> in mongodb i meant to say
[15:03:16] <entry_lvl_dev> does anyone know how i can insert an array of objects into a property that is an empty array
[15:05:32] <entry_lvl_dev> i should pretty standard stuff
[21:06:02] <stucknode> hello, maybe a quick question.. i don't see how to use a stored function from mongodb's nodejs driver with an insert