Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Bulk insert

#5

A user should be able to insert a bunch of records at once using _bulk_docs

Reported by Matt Aimonetti (mattetti) · October 3rd, 2008 @ 03:20 PM

State: new
Milestone: none
Assigned to: J. Chris A. J. Chris A.

Activity

  1. Brent Dillingham
    Brent Dillingham

    I notice that this has been implemented as CouchRest::Database#bulk_save, which does appear to work nicely.

    However I noticed that when doing something like:

    
    LampPost.database.bulk_save([...])
    

    The resulting documents in the LampPost database don't get the couchrest-type attribute assigned as "LampPost", as it would if you did:

    
    LampPost.new({...}).save
    

    October 24th, 2008 @ 08:29 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.