couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noah Tye" <>
Subject Re: Renaming document attributes
Date Wed, 23 Jul 2008 18:40:56 GMT
On 7/23/08, Paul Carey <> wrote:
> I was wondering if anyone had any ideas on how renaming document
>  attributes might be achieved without taking the database offline.
>  It's not something that's of any real concern to me right now, but
>  it's the kind of thing becomes of interest as time progresses.

Perhaps I don't understand, but can't you simply make a new attribute,
copy over the value of the old attribute, delete the old attribute,
and save to the database?

''=~('(?{'.('/))./@'^'_[@@[`').'"'.('./](@{"[^'^'`@<@`/[>|').',$/})') |
"They copied all they could follow, but they couldn't copy my mind,
And I left 'em sweating and stealing a year and a half behind."

View raw message