mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
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:
parent
363b41e075
commit
196adc8b2f
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user