Save huge document (record) using Mongoose and Node.js

Job Description:


I am working with mongoose and node.js. I want to insert a new huge "Record" using this lines :

const RawRecord = {

user_id : [login to view URL](),

user_email : [login to view URL],

hexoskin_record_id : req.body.record_id,

hexoskin_start_date : [login to view URL](),

hexoskin_duration : [login to view URL],

status : [login to view URL],

acceleration_x : [login to view URL]( acceleration_X),

acceleration_y : [login to view URL]( acceleration_Y),

acceleration_z : [login to view URL]( acceleration_Z),

respiration_thoracic : [login to view URL]( respiration_thoracic),

respiration_abdominal : [login to view URL]( respiration_abdominal)


const rawrecord = new RawRecords(RawRecord);

const NewRawRecord = await [login to view URL](); //<== error at this line, because the data are too big. and I receive this message:

RangeError: Value undefined out of range for undefined options property undefined

"RawRecord" variable : See the attached file

To solve this problem :

- Split this into many individual doc with ref to mother entity

- Then we can use mongodb aggregate pipeline to group them again when we need to access them

- Use $match and $lookup


Skills: Node.js, NoSQL Couch & Mongo, JavaScript, JSON, MongoDB

About the Client:
( 87 reviews ) montreal, Canada

Project ID: #32695878

Awarded to:

(5 Reviews)

11 freelancers are bidding on average $85 for this job


Hi, I am an experienced MEAN Stack & Spring/JAVA Developer with 4+ years of enterprise application development. Check my freelancer profile. My expertise is in 1. Angular, IONIC ( Capacitor/Cordova), Typescript, Javasc More

$60 CAD in 7 days
(25 Reviews)

hi mate, I am professional JavaScript software engineer having about 2.5 years of combine experience in react native, React, angular, node js, Firebase realtime and mongo db. I am currently working on the home schoolin More

$55 CAD in 2 days
(12 Reviews)

Hi, how are you? I go through the description and read it carefully, I know exactly what you are looking for. I have 5+ years’ experience in these skills MongoDB, Node.js, JavaScript, JSON and NoSQL Couch & Mongo. I h More

$60 CAD in 10 days
(7 Reviews)

Dear, Client Your descriptioin impressed me from my high skills in node, express and mongoose. Interesting job. I understood your task. I have ever worked on serveral projects in node, express and react for 5 years. As More

$55 CAD in 7 days
(4 Reviews)

Hello Client I'll provide you with clear and quirk result. I'm senior web developer with rich experience in web development and database management I have deep knowledge in MongoDB I hope to work with you. Pleaes conta More

$120 CAD in 7 days
(3 Reviews)

Hello Sir, I will use the logic used in this code and optimize it to make it work on your project. Please message me in chat. We can discuss and I will start working on it once you initiate the contract. Expecting a p More

$55 CAD in 7 days
(2 Reviews)