Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Proof of Concept to utilize CouchDB view reduce

Notifications You must be signed in to change notification settings

timo-reymann/poc-couchdb-view-reduce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

poc-couchdb-view-reduce

Proof of Concept utilizing reduce in a view

Contents

  • Creating db from scratch
  • Generate some dummy data
  • Create view via design document
  • Query all documents from view
  • Query single document from view

Learnings

  • grouping must be set for view queries, otherwise the key is null and it sums up all keys
  • reduce is not used in Fauxton, but by default in API calls

Execution

  • Create couchdb container with docker-compose: docker-compose up
  • Execute scripts in scripts, in the order they are named

About

Proof of Concept to utilize CouchDB view reduce

Topics

Resources

Security policy

Stars

Watchers

Forks

Languages