Why not use the pretty url as a uuid?

On Thu, Sep 3, 2009 at 6:13 AM, Jesse Hallett<[email protected]> wrote:
> The simplest way to go would be to use the pretty id as the document `_id`
> and to skip the uuid altogether.
>
> On Aug 31, 2009 2:59 PM, "Jan Vincent Liwanag" <[email protected]> wrote:
>
> Hi guys,
>
> Is it possible for one document to redirect to another? For one resource, I
> was hoping to have more than one URL. One would be a pretty URL (something
> like .../blog/2009_12_1_couchdb_rocks) which points to the same content as
> its absolute URL formed using the auto-generated uuid.
>
> If this were possible, the pretty URL would also be a good way to add some
> unique constraint to some documents - with it's 'pretty id' implementing the
> said constraint.
>
> Thanks,
>
> JV Liwanag
>

Reply via email to