>If you mean the attachment names aren't unique, how were you going to
>attach them all to a single couch doc?

Yes dude)
Have no choice, need separate docs per attachment.



2010/8/13 Mark J. Reed <[email protected]>:
> On Fri, Aug 13, 2010 at 9:37 AM, faust 1111 <[email protected]> wrote:
>>>Why not just use the attachment name as the document id?
>> Docs name can be not uniq.
> If you mean the attachment names aren't unique, how were you going to
> attach them all to a single couch doc?
>
>> 2010/8/13 Mark J. Reed <[email protected]>:
>>> Why not just use the attachment name as the document id?  You could
>>> double it up or just use an unchanging name for the actual Couch
>>> attachment identifier, e.g.
>>>
>>> /docs/mycoolattachment1/content
>>> /docs/anotherniftyattachment/content
>>> ...
>>>
>>>
>>>
>>>
>>> On Fri, Aug 13, 2010 at 8:23 AM, faust 1111 <[email protected]> wrote:
>>>> Yes it's possible but each time when i put attachment i must create
>>>> new doc and remember doc id +attachment_name
>>>> if i keep all attachments in one doc i can remember only
>>>> attachment_name, its simple.
>>>>
>>>>
>>>> 2010/8/13 Noah Slater <[email protected]>:
>>>>> What about a separate db for your attachments, with one attachment per 
>>>>> doc?
>>>>>
>>>>> On 13 Aug 2010, at 12:03, faust 1111 wrote:
>>>>>
>>>>>> Hi guy's.
>>>>>> I have idea keep all attachments in separate db, separate from docs
>>>>>> (its allow me replicate only docs without attachments),
>>>>>> and in doc save link to attachment in separate db.
>>>>>>
>>>>>> is it possible put many(100 000) big attachments to single doc?
>>>>>> Thanks for help!
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Mark J. Reed <[email protected]>
>>>
>>
>
>
>
> --
> Mark J. Reed <[email protected]>
>

Reply via email to