couchdb.cr v0.1
couchdb
CouchDB client written in crystal
Installation
Add this to your application's shard.yml
:
dependencies:
couchdb:
github: TechMagister/couchdb.cr
Usage
require "couchdb"
client = CouchDB::Client.new "http://127.0.0.1:5984"
info = client.server_info
info.couchdb # Welcome
info.version # 2.1.1
info.vendor.name # The Apache Software Foundation
Development
- Get server info
- Create Database
- Delete Database
- List Databases
- Get new uuid
- Create Documents
- Find all the documents
- Find Documents with criteria
- Delete Documents
- Update Documents
Contributing
- Fork it ( https://github.com/TechMagister/couchdb/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- TechMagister Arnaud Fernandés - creator, maintainer
- Schniz Gal Schlezinger - contributor
Repository
couchdb.cr
Owner
Statistic
- 13
- 8
- 5
- 1
- 0
- over 3 years ago
- December 30, 2016
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 02:59:28 GMT
Languages