docs(): added methods that can guide how to create document and get all docs (#2005)

* adding detailed usage for couchbase lite

* added get url method

* create database method added

* delete database method added

* get all database method added

* space added in comments

* comments added unwanted import removed

* whitespaces added

* usage added in commented section

* get all documents,create document methods added

* spell mistake corrected
This commit is contained in:
Sandip Gadekar 2017-10-06 08:56:43 +05:30 committed by Ibby Hadeed
parent 363b41e075
commit 196adc8b2f

View File

@ -24,6 +24,7 @@ import { Injectable } from '@angular/core';
* getUrl() {
* return this.url;
* }
* // DATABASES //
* createDatabase(database_name:string) {
* let url = this.getUrl();
* url = url+database_name;
@ -34,7 +35,6 @@ import { Injectable } from '@angular/core';
* return Observable.throw(error.json() || 'Couchbase Lite error');
* })
* }
*
* deleteDatabase(database_name:string) {
* let url = this.getUrl();
* url = url+database_name;
@ -58,8 +58,6 @@ import { Injectable } from '@angular/core';
* }
*
*
*
*
* ```
*/
@Plugin({