Skip to content

Finding Your Data with Views > Find Many > Needs clarification #553

Description

@oodavid

http://guide.couchdb.org/draft/views.html#many

To make things a little nicer and to prepare for a future example, we are going to change the format of our date field. Instead of a string, we are going to use an array, where individual members are part of a timestamp in decreasing significance. This sounds fancy, but it is rather easy. Instead of:

I'm not sure that this properly explains that we're updating the Documents themselves. I was really scratching my head thinking that I had to change the Map function. Suggestion:

To simplify matters (and prepare for a future example), we are going to modify our Documents to store dates differently. Instead of a string, we are going to use an array, where individual members are part of a timestamp in decreasing significance. This sounds fancy, but it is easy. Instead of:

Then the rest falls into place

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions