Integration for Couchbase Lite in Ionic enterprise apps
npm install @ionic-enterprise/couchbase-lite
npx cap sync
Plugin_Configure(...)
Database_Open(...)
Database_Save(...)
Database_GetCount(...)
Database_GetPath(...)
Database_Copy(...)
Database_CreateIndex(...)
Database_DeleteIndex(...)
Database_GetIndexes(...)
Database_Exists(...)
Database_Close(...)
Database_Compact(...)
Database_Delete(...)
Database_PurgeDocument(...)
Database_DeleteDocument(...)
Database_GetDocument(...)
Database_AddChangeListener(...)
Database_SetLogLevel(...)
Database_SetFileLoggingConfig(...)
Document_GetBlobContent(...)
Query_Execute(...)
ResultSet_Next(...)
ResultSet_NextBatch(...)
ResultSet_AllResults(...)
ResultSet_Cleanup(...)
Replicator_Create(...)
Replicator_Start(...)
Replicator_Restart(...)
Replicator_AddChangeListener(...)
Replicator_AddDocumentListener(...)
Replicator_Stop(...)
Replicator_ResetCheckpoint(...)
Replicator_GetStatus(...)
Replicator_Cleanup(...)
- Interfaces
- Enums
Plugin_Configure(args: PluginConfigureArgs) => any
Param | Type |
---|---|
args |
PluginConfigureArgs |
Returns: any
Database_Open(args: DatabaseOpenArgs) => any
Param | Type |
---|---|
args |
DatabaseOpenArgs |
Returns: any
Database_Save(args: DatabaseSaveArgs) => any
Param | Type |
---|---|
args |
DatabaseSaveArgs |
Returns: any
Database_GetCount(args: DatabaseArgs) => any
Param | Type |
---|---|
args |
DatabaseArgs |
Returns: any
Database_GetPath(args: DatabaseArgs) => any
Param | Type |
---|---|
args |
DatabaseArgs |
Returns: any
Database_Copy(args: DatabaseCopyArgs) => any
Param | Type |
---|---|
args |
DatabaseCopyArgs |
Returns: any
Database_CreateIndex(args: DatabaseCreateIndexArgs) => any
Param | Type |
---|---|
args |
DatabaseCreateIndexArgs |
Returns: any
Database_DeleteIndex(args: DatabaseDeleteIndexArgs) => any
Param | Type |
---|---|
args |
DatabaseDeleteIndexArgs |
Returns: any
Database_GetIndexes(args: DatabaseArgs) => any
Param | Type |
---|---|
args |
DatabaseArgs |
Returns: any
Database_Exists(args: DatabaseExistsArgs) => any
Param | Type |
---|---|
args |
DatabaseExistsArgs |
Returns: any
Database_Close(args: DatabaseArgs) => any
Param | Type |
---|---|
args |
DatabaseArgs |
Returns: any
Database_Compact(args: DatabaseArgs) => any
Param | Type |
---|---|
args |
DatabaseArgs |
Returns: any
Database_Delete(args: DatabaseArgs) => any
Param | Type |
---|---|
args |
DatabaseArgs |
Returns: any
Database_PurgeDocument(args: DatabasePurgeDocumentArgs) => any
Param | Type |
---|---|
args |
DatabasePurgeDocumentArgs |
Returns: any
Database_DeleteDocument(args: DatabaseDeleteDocumentArgs) => any
Param | Type |
---|---|
args |
DatabaseDeleteDocumentArgs |
Returns: any
Database_GetDocument(args: DatabaseGetDocumentArgs) => any
Param | Type |
---|---|
args |
DatabaseGetDocumentArgs |
Returns: any
Database_AddChangeListener(args: DatabaseArgs, cb: PluginCallback) => any
Param | Type |
---|---|
args |
DatabaseArgs |
cb |
(data: PluginResultData, error?: PluginResultError) => void |
Returns: any
Database_SetLogLevel(args: DatabaseSetLogLevelArgs) => any
Param | Type |
---|---|
args |
DatabaseSetLogLevelArgs |
Returns: any
Database_SetFileLoggingConfig(args: DatabaseSetFileLoggingConfigArgs) => any
Param | Type |
---|---|
args |
DatabaseSetFileLoggingConfigArgs |
Returns: any
Document_GetBlobContent(args: DocumentGetBlobContentArgs) => any
Param | Type |
---|---|
args |
DocumentGetBlobContentArgs |
Returns: any
Query_Execute(args: QueryExecuteArgs) => any
Param | Type |
---|---|
args |
QueryExecuteArgs |
Returns: any
ResultSet_Next(args: ResultSetNextArgs) => any
Param | Type |
---|---|
args |
ResultSetNextArgs |
Returns: any
ResultSet_NextBatch(args: ResultSetNextBatchArgs) => any
Param | Type |
---|---|
args |
ResultSetNextBatchArgs |
Returns: any
ResultSet_AllResults(args: ResultSetAllResultsArgs, callback: PluginCallback) => any
Param | Type |
---|---|
args |
ResultSetAllResultsArgs |
callback |
(data: PluginResultData, error?: PluginResultError) => void |
Returns: any
ResultSet_Cleanup(args: ResultSetCleanupArgs) => any
Param | Type |
---|---|
args |
ResultSetCleanupArgs |
Returns: any
Replicator_Create(args: ReplicatorCreateArgs) => any
Param | Type |
---|---|
args |
ReplicatorCreateArgs |
Returns: any
Replicator_Start(args: ReplicatorArgs) => any
Param | Type |
---|---|
args |
ReplicatorArgs |
Returns: any
Replicator_Restart(args: ReplicatorArgs) => any
Param | Type |
---|---|
args |
ReplicatorArgs |
Returns: any
Replicator_AddChangeListener(args: ReplicatorArgs, cb: PluginCallback) => any
Param | Type |
---|---|
args |
ReplicatorArgs |
cb |
(data: PluginResultData, error?: PluginResultError) => void |
Returns: any
Replicator_AddDocumentListener(args: ReplicatorArgs, cb: PluginCallback) => any
Param | Type |
---|---|
args |
ReplicatorArgs |
cb |
(data: PluginResultData, error?: PluginResultError) => void |
Returns: any
Replicator_Stop(args: ReplicatorArgs) => any
Param | Type |
---|---|
args |
ReplicatorArgs |
Returns: any
Replicator_ResetCheckpoint(args: ReplicatorArgs) => any
Param | Type |
---|---|
args |
ReplicatorArgs |
Returns: any
Replicator_GetStatus(args: ReplicatorArgs) => any
Param | Type |
---|---|
args |
ReplicatorArgs |
Returns: any
Replicator_Cleanup(args: ReplicatorArgs) => any
Param | Type |
---|---|
args |
ReplicatorArgs |
Returns: any
Prop | Type |
---|---|
config |
any |
Prop | Type |
---|---|
config |
DatabaseConfiguration |
Prop | Type |
---|---|
id |
string |
document |
{ [key: string]: any; } |
Prop | Type |
---|---|
name |
string |
Prop | Type |
---|---|
path |
string |
newName |
string |
config |
DatabaseConfiguration |
Prop | Type |
---|---|
indexName |
string |
index |
any |
Prop | Type |
---|---|
indexName |
string |
Prop | Type |
---|---|
existsName |
string |
directory |
string |
Prop | Type |
---|---|
docId |
string |
Prop | Type |
---|---|
docId |
string |
document |
{ [key: string]: any; } |
concurrencyControl |
ConcurrencyControl |
Prop | Type |
---|---|
docId |
string |
Prop | Type |
---|---|
remove |
() => any |
Prop | Type |
---|---|
domain |
string |
logLevel |
number |
Prop | Type |
---|---|
config |
DatabaseFileLoggingConfiguration |
Prop | Type |
---|---|
level |
number |
directory |
string |
maxRotateCount |
number |
maxSize |
number |
usePlaintext |
boolean |
Prop | Type |
---|---|
documentId |
string |
key |
string |
Prop | Type |
---|---|
query |
any |
columnNames |
{ [name: string]: any; } |
Prop | Type |
---|---|
resultSetId |
string |
Prop | Type |
---|---|
resultSetId |
string |
Prop | Type |
---|---|
resultSetId |
string |
Prop | Type |
---|---|
resultSetId |
string |
Prop | Type |
---|---|
config |
any |
Prop | Type |
---|---|
replicatorId |
string |
Members | Value |
---|---|
LAST_WRITE_WINS |
0 |
FAIL_ON_CONFLICT |
1 |