-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-record data on document create / update #1533
Comments
This was referenced Aug 8, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@wohali:
Think: timestamp, CouchDB username. Would be added by the coordinating node in the cluster.
@akircher:
Could auto-recording timestamp and username be solved more generically? Such as a "calculated field" function. This function could return a timestamp, username, or anything else that could be calculated from the doc (and maybe the req) object. I know this would be very helpful with my current project.
@wohali:
That is doable today via update handlers, and necessarily requires a JS-based implementation, which is not always desirable for performance reasons.
The text was updated successfully, but these errors were encountered: