When you have a new author, write that to a document. Use that
document's id to reference it in other docs maybe?
On Wed, Mar 24, 2010 at 17:03, faust 1111 <faust451@gmail.com> wrote:
> if i follow
>
> The CouchDB pattern would be something like:
>
> 1. Define a view that allows you to fetch the docs you want.
> 2. Fetch the docs, possibly using ?include_docs=true
> 3. Update the docs in the client
> 4. Push all the docs back using _bulk_docs
>
> its will be to slow in my case
> i have contents with authors:
> content {
> authors: [
> {name: 'Lara', slug: 23424},
> {name: 'Dimon', slug: 23445}
> ]
> }
>
> if author change name i must fetch 2000 docs and by hand change author
> name in each doc
> this is crazy job guy`s.
>
> May be i`am thinking in wrong way?
> please help.
>
|