0.0.114 • Published 1 year ago

wsmm-couchbase-capacitor-plugin v0.0.114

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

wsmm-couchbase-capacitor-plugin

Couchbase Capactior Plugin

Install

npm install wsmm-couchbase-capacitor-plugin
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>

Echo a value

ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


isDBExists(...)

isDBExists(options: couchbaseOptions) => Promise<couchbaseResult>

Check if a Couchbase database exists

ParamTypeDescription
optionscouchbaseOptions: couchbaseOptions

Returns: Promise<couchbaseResult>


close(...)

close(options: couchbaseOptions) => Promise<void>

Close a Couchbase database

ParamTypeDescription
optionscouchbaseOptions: couchbaseOptions

query(...)

query(option: couchbaseQuery) => Promise<couchbaseValues>

Query a Single Statement and closes database after query is complete

ParamType
optioncouchbaseQuery

Returns: Promise<couchbaseValues>


deleteDocument(...)

deleteDocument(options: couchbaseDocument) => Promise<couchbaseResult>

Delete a single document and closes database after complete

ParamTypeDescription
optionscouchbaseDocument: couchbaseDocument

Returns: Promise<couchbaseResult>


documentExists(...)

documentExists(options: couchbaseDocument) => Promise<couchbaseResult>

Checks if document exists in provided database

ParamTypeDescription
optionscouchbaseDocument: couchbaseDocument

Returns: Promise<couchbaseResult>


getDocument(...)

getDocument(options: couchbaseDocument) => Promise<couchbaseValues>

Retrieves document by ID from database and closes database after complete

ParamTypeDescription
optionscouchbaseDocument: couchbaseDocument

Returns: Promise<couchbaseValues>


saveDocument(...)

saveDocument(options: couchbaseDocument) => Promise<couchbaseResult>

Save a single document and closes database after complete

ParamTypeDescription
optionscouchbaseDocument: couchbaseDocument

Returns: Promise<couchbaseResult>


addReplicatorChangeListener(...)

addReplicatorChangeListener(options: couchbaseOptions, cb: PluginCallback) => Promise<PluginListenerHandle>

Add Replicator Change Listener

ParamTypeDescription
optionscouchbaseOptions: couchbaseOptions, PluginCallback
cbPluginCallback

Returns: Promise<PluginListenerHandle>


addDocumentListener(...)

addDocumentListener(options: couchbaseOptions, cb: PluginCallback) => Promise<PluginListenerHandle>

Add Document Listener

ParamTypeDescription
optionscouchbaseOptions: couchbaseOptions, PluginCallback
cbPluginCallback

Returns: Promise<PluginListenerHandle>


sync(...)

sync(options: couchbaseOptions) => Promise<void>

Start Sync a Couchbase database

ParamTypeDescription
optionscouchbaseOptions: couchbaseOptions

Interfaces

couchbaseResult

PropTypeDescription
resultbooleanresult set to true when successful else false

couchbaseOptions

PropTypeDescription
appNamestringThe database name

couchbaseValues

PropTypeDescription
valuesany[]the data values list as an Array iOS the first row is the returned ios_columns name list

couchbaseQuery

PropTypeDescription
appNamestringDatabase name
querystringQuery string

couchbaseDocument

PropTypeDescription
appNamestringDatabase name
idstringQuery document ID
valuestringStringified JSON of document

PluginListenerHandle

PropType
remove() => Promise<void>

PluginResultData

PluginResultError

PropType
messagestring

Type Aliases

PluginCallback

(data: PluginResultData, error?: PluginResultError): void

0.0.114

1 year ago

0.0.113

1 year ago

0.0.109

1 year ago

0.0.108

1 year ago

0.0.112

1 year ago

0.0.111

1 year ago

0.0.110

1 year ago

0.0.106

1 year ago

0.0.105

1 year ago

0.0.104

1 year ago

0.0.103

1 year ago

0.0.107

1 year ago

0.0.102

1 year ago

0.0.101

1 year ago

0.0.100

1 year ago

0.0.98

1 year ago

0.0.99

1 year ago

0.0.97

1 year ago

0.0.95

1 year ago

0.0.96

1 year ago

0.0.93

1 year ago

0.0.94

1 year ago

0.0.91

1 year ago

0.0.92

1 year ago

0.0.84

1 year ago

0.0.85

1 year ago

0.0.86

1 year ago

0.0.87

1 year ago

0.0.88

1 year ago

0.0.89

1 year ago

0.0.80

1 year ago

0.0.81

1 year ago

0.0.82

1 year ago

0.0.83

1 year ago

0.0.73

1 year ago

0.0.74

1 year ago

0.0.75

1 year ago

0.0.76

1 year ago

0.0.77

1 year ago

0.0.78

1 year ago

0.0.79

1 year ago

0.0.70

1 year ago

0.0.71

1 year ago

0.0.72

1 year ago

0.0.65

1 year ago

0.0.66

1 year ago

0.0.67

1 year ago

0.0.68

1 year ago

0.0.69

1 year ago

0.0.90

1 year ago

0.0.62

1 year ago

0.0.63

1 year ago

0.0.64

1 year ago

0.0.60

1 year ago

0.0.61

1 year ago

0.0.59

1 year ago

0.0.51

1 year ago

0.0.52

1 year ago

0.0.53

1 year ago

0.0.54

1 year ago

0.0.55

1 year ago

0.0.56

1 year ago

0.0.57

1 year ago

0.0.58

1 year ago

0.0.50

1 year ago

0.0.47

1 year ago

0.0.48

1 year ago

0.0.49

1 year ago

0.0.45

1 year ago

0.0.46

1 year ago

0.0.44

1 year ago

0.0.42

1 year ago

0.0.43

1 year ago

0.0.40

1 year ago

0.0.41

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.24

1 year ago

0.0.25

1 year ago

0.0.37

1 year ago

0.0.38

1 year ago

0.0.39

1 year ago

0.0.30

1 year ago

0.0.31

1 year ago

0.0.32

1 year ago

0.0.33

1 year ago

0.0.34

1 year ago

0.0.35

1 year ago

0.0.36

1 year ago

0.0.26

1 year ago

0.0.27

1 year ago

0.0.28

1 year ago

0.0.29

1 year ago

0.0.20

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago