From 196adc8b2fe5922b676dec5c18c63e9e3a79d5b3 Mon Sep 17 00:00:00 2001 From: Sandip Gadekar Date: Fri, 6 Oct 2017 08:56:43 +0530 Subject: [PATCH] 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 --- src/@ionic-native/plugins/couchbase-lite/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/@ionic-native/plugins/couchbase-lite/index.ts b/src/@ionic-native/plugins/couchbase-lite/index.ts index 14e6d49d4..75af4e3ad 100644 --- a/src/@ionic-native/plugins/couchbase-lite/index.ts +++ b/src/@ionic-native/plugins/couchbase-lite/index.ts @@ -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({