Skip to content

robertkowalski/couchdb-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL CouchDB demo proxy

Prototype for GraphQL & CouchDB

Examples

Boot server:

npm run dev
A Database list with metadata:

http://localhost:3000/graphql?query={all_dbs{db_name,disk_size,doc_count,doc_del_count}}

Remove a few properties:

http://localhost:3000/graphql?query={all_dbs{db_name,doc_del_count}}


Database list, just names amd disk_size, limit to 1:

http://localhost:3000/graphql?query={all_dbs(limit:1){db_name,disk_size}}


With animaldb, selecting just ids:

http://localhost:3000/graphql?query={all_dbs{db_name,disk_size,doc_count,doc_del_count},animaldb{_id}}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published