Yes I do have a callback Le 18 févr. 2014 18:24, "Alejandro de Brito Fontes" <[email protected]> a écrit :
> You have a callback in the save method? > > On Tuesday, February 18, 2014 11:40:46 AM UTC-3, reda khyatti wrote: >> >> Hi all, >> >> I am a newbie in Node, and I am trying to rewrite a program that syncs >> databases in a non blocking env (Node). So the first task is to make a >> request to a SQL server, which I did successfully using 'mssql'. This >> request retruns more than 30k rows that I would like to persist to a >> MongoLab Document. >> I have therefore implemented the model and the method to save the row. >> The operation at first look good, since I am able to write things to the >> db, however I get this error after adding few hundreds of rows: >> >> node_modules/mongoose/lib/utils.js:413 >> throw err; >> ^ >> TypeError: undefined is not a function >> >> I can't see why is this happening. Can anyone help here please? >> >> Regards >> > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to a topic in the > Google Groups "nodejs" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nodejs/v_XTyyO_xV0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
