Data Log Model Question

Good afternoon.

Couchbase, the data model of the logging data? We wonder how the question.

In the case of a typical RDB ex) Money Log

Who | Where | What | Before | After | Date
A Shop Buy 10 99 2014-04-25

Doeneundeyo like a log is written about in

Couchbase is to be stored in some way I do?

Answer I’m begging you.

You can model your document like this:

{ "who": "A", "where":"shop". "what":"buy", "before": 10, "after": 99, "date": "2014-04-25" }

Hopefully that helps,

Jeff

Answer Thank you : )

For example, the key value is Money :: UserID?