apache / apache/couchdb

Invoking update function when changing document in Fauxton

Open
#5,041 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Erlang
Stars
7k
Forks
1.1k
Avg merge
1d 16h
Merged PRs (30d)
9

Description

Hello,
I would like to add a simple functionality using update function in design document. I would like it to be invoked when a document is changed/created in Fauxton.
Normally, one has to call the update function explicitly, but this (I believe) not possible with Fauxton.

Is there any way to achieve behaviour described above? Maybe it's possible to set an update function as default, so it doesn't require explicit call?

Thanks!

Contributor guide

Open the contributing guide

Research direction

The issue names Fauxton and CouchDB update functions but no files, tests, or entry points. Start by reviewing Fauxton's document editing flow and the documented update-function behavior; done would require an agreed design and verification that changing or creating a document invokes the intended function.

Written by the indexing model from the issue text.

Assessment

Domain
database, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.