On 2 Jul, 15:11, Kyle Banker <
k...@10gen.com> wrote:
> All the drivers support bulk updates. Which driver are you using? You
> usually can just pass an array of documents to the insert method.
>
> On Fri, Jul 2, 2010 at 10:00 AM, João Jerónimo
>
>
>
> > Hi everyone, in SQL I used to make something like "INSERT INTO
> > table(c1,c2) VALUES ('v1',v2) , ('b5','b2') , ('g4','g2') ;" and so
> > on, and that allowed me to insert multiple rows per query... It helped
> > me making my application a lot faster, as something like 150 queries
> > in loops turned to just 3...
>
> > Does MongoDB have an equivalent ? How can I do this ?
>
> > Thanks in advance,
> > JJ
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "mongodb-user" group.
> > To post to this group, send email to
mongod...@googlegroups.com.
> > To unsubscribe from this group, send email to