couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincenzo Scolaro <scolaro.vince...@gmail.com>
Subject Re: email as _id?
Date Thu, 21 Feb 2013 11:26:34 GMT
true
My need was to associate users with a document database with the same name
(the names of the databases have many constraints)


2013/2/21 svilen <az@svilendobrev.com>

> yeah good for hiding it, but still has to store it elsewhere, and
> theoreticaly, it might repeat.
>
> On Thu, 21 Feb 2013 12:12:43 +0100
> Vincenzo Scolaro <scolaro.vincenzo@gmail.com> wrote:
>
> > I had the same need and I did it this way
> > id = md5 (email)
> >
> > What do you think?
> >
> > Vincenzo
> >
> >
> > 2013/2/21 svilen <az@svilendobrev.com>
> >
> > > hi
> > > the docs state that anything can be put in _id, except that it can't
> > > start with "_" underscore.
> > >
> > > still, the _ is valid character for starting email address...
> > > effectively meaning that in general, e-mail addresses cannot be
> > > used as id (the only enforced unique thing).. and has to be stored
> > > as a field. or prepended with something non-underscore.
> > >
> > > correct?
> > >
> > > svil
> > >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message