{prefix} = /{db}/_design/{application}
{list_function} = name of file in lists folder (without .js)
{show_function} = name of file in shows folder (without .js)
{view_function} = name of subfolder in views folder
functionality | link | function | Read on |
---|---|---|---|
list | {prefix}/_list/{list_function}/{view_function} | function(head, req) | CouchDB book |
show | {prefix}/_show/{show_function}/{doc_id} | function(doc, req) | CouchDB book |
view | {prefix}/_view/{view_function} | map: function(doc) reduce: function(keys, values, rereduce) | intro, view parameter |
Keine Kommentare
Kommentar veröffentlichen