couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "c.Kleinhuis">
Subject question about doc ids
Date Thu, 13 May 2010 10:00:11 GMT
hello all,

i am wondering how to generate doc ids, if for example i would like to 
use a prefix system to
identify nodes in the database e.g. ("project-1") and "task-1" how would 
i make sure
that the id my application generates is valid ?

i would like to have a function like "prefix the automated id " so that 
i wouldnt have to increment
a counter by myself, but could rely on a prefix to identify certain 


View raw message