Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Add missing convenience methods #19

Closed
wants to merge 1 commit into from
Closed

Conversation

rhyshort
Copy link
Member

Adds missing convenience methods to CDTDatabase.

CDTDatabase now supports all CRUD actions for documents, Create and Delete actions for query indexes and finding documents via query.

@mikerhodes
Copy link
Member

If I'm honest, I'm a bit dubious about what these methods give the developer -- I'd prefer to avoid adding code if I'm not sure its needed.

@rhyshort
Copy link
Member Author

rhyshort commented Nov 2, 2015

I think it gives a nice single point of entry for those people who are new to Cloudant and objective-cloudant, it's basically, here is your starting point, provides basic functionality, then for full control for each operation it points them towards the backing Operation subclass where they can tweak each option to their hearts content.

@rhyshort rhyshort closed this Nov 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants