Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
DefinitelyTyped
Index
Variables
PouchDB
Interfaces
PouchAllDocsItem
PouchAllDocsOptions
PouchAllDocsResponse
PouchApi
PouchAttachmentOptions
PouchBulkDocsRequest
PouchCancellable
PouchChange
PouchChanges
PouchChangesOptions
PouchError
PouchFilter
PouchGetOptions
PouchGetResponse
PouchInfoResponse
PouchOptions
PouchQueryOptions
PouchQueryResponse
PouchReplicate
PouchReplicateOptions
PouchReplicateResponse
PouchRevsDiffOptions
PouchUpdateOptions
PouchUpdateResponse
Functions
emit
Variables
PouchDB
:
PouchDB
constructor
(
name
:
string
, opts
:
PouchOptions
, callback
:
(err: PouchError, res: PouchDB) => void
)
:
PouchDB
Parameters
name:
string
opts:
PouchOptions
callback:
(err: PouchError, res: PouchDB) => void
Returns
PouchDB
constructor
(
name
:
string
, callback
:
(err: PouchError, res: PouchDB) => void
)
:
PouchDB
Parameters
name:
string
callback:
(err: PouchError, res: PouchDB) => void
Returns
PouchDB
constructor
(
name
:
string
)
:
PouchDB
Parameters
name:
string
Returns
PouchDB
public
replicate
:
PouchReplicate
public
allDocs
(
opts
:
PouchAllDocsOptions
, callback
:
(err: PouchError, res: PouchAllDocsResponse) => void
)
Parameters
opts:
PouchAllDocsOptions
callback:
(err: PouchError, res: PouchAllDocsResponse) => void
public
allDocs
(
callback
:
(err: PouchError, res: PouchAllDocsResponse) => void
)
Parameters
callback:
(err: PouchError, res: PouchAllDocsResponse) => void
public
bulkDocs
(
req
:
PouchBulkDocsRequest
, opts
:
PouchUpdateOptions
, callback
:
(err: PouchError, res: PouchUpdateResponse[]) => void
)
Parameters
req:
PouchBulkDocsRequest
opts:
PouchUpdateOptions
callback:
(err: PouchError, res: PouchUpdateResponse[]) => void
public
bulkDocs
(
req
:
PouchBulkDocsRequest
, callback
:
(err: PouchError, res: PouchUpdateResponse[]) => void
)
Parameters
req:
PouchBulkDocsRequest
callback:
(err: PouchError, res: PouchUpdateResponse[]) => void
public
changes
(
opts
:
PouchChangesOptions
, callback
:
(err: PouchError, res: PouchChanges) => void
)
:
PouchCancellable
Parameters
opts:
PouchChangesOptions
callback:
(err: PouchError, res: PouchChanges) => void
Returns
PouchCancellable
public
changes
(
callback
:
(err: PouchError, res: PouchChanges) => void
)
:
PouchCancellable
Parameters
callback:
(err: PouchError, res: PouchChanges) => void
Returns
PouchCancellable
public
close
(
callback
:
() => void
)
Parameters
callback:
() => void
public
destroy
(
name
:
string
, callback
:
(err: PouchError) => void
)
Parameters
name:
string
callback:
(err: PouchError) => void
public
get
(
id
:
string
, opts
:
PouchGetOptions
, callback
:
(err: PouchError, res: PouchGetResponse) => void
)
Parameters
id:
string
opts:
PouchGetOptions
callback:
(err: PouchError, res: PouchGetResponse) => void
public
get
(
id
:
string
, callback
:
(err: PouchError, res: PouchGetResponse) => void
)
Parameters
id:
string
callback:
(err: PouchError, res: PouchGetResponse) => void
public
getAttachment
(
id
:
string
, opts
:
PouchAttachmentOptions
, callback
:
(err: PouchError, res: any) => void
)
Parameters
id:
string
opts:
PouchAttachmentOptions
callback:
(err: PouchError, res: any) => void
public
getAttachment
(
id
:
string
, callback
:
(err: PouchError, res: any) => void
)
Parameters
id:
string
callback:
(err: PouchError, res: any) => void
public
id
(
)
:
string
Returns
string
public
info
(
callback
:
(err: PouchError, res: PouchInfoResponse) => void
)
Parameters
callback:
(err: PouchError, res: PouchInfoResponse) => void
public
post
(
doc
:
any
, opts
:
PouchUpdateOptions
, callback
:
(err: PouchError, res: PouchUpdateResponse) => void
)
Parameters
doc:
any
opts:
PouchUpdateOptions
callback:
(err: PouchError, res: PouchUpdateResponse) => void
public
post
(
doc
:
any
, callback
:
(err: PouchError, res: PouchUpdateResponse) => void
)
Parameters
doc:
any
callback:
(err: PouchError, res: PouchUpdateResponse) => void
public
put
(
doc
:
any
, opts
:
PouchUpdateOptions
, callback
:
(err: PouchError, res: PouchUpdateResponse) => void
)
Parameters
doc:
any
opts:
PouchUpdateOptions
callback:
(err: PouchError, res: PouchUpdateResponse) => void
public
put
(
doc
:
any
, callback
:
(err: PouchError, res: PouchUpdateResponse) => void
)
Parameters
doc:
any
callback:
(err: PouchError, res: PouchUpdateResponse) => void
public
putAttachment
(
id
:
string
, rev
:
string
, doc
:
any
, type
:
string
, callback
:
(err: PouchError, res: PouchUpdateResponse) => void
)
Parameters
id:
string
rev:
string
doc:
any
type:
string
callback:
(err: PouchError, res: PouchUpdateResponse) => void
public
query
(
fun
:
string
, opts
:
PouchQueryOptions
, callback
:
(err: PouchError, res: PouchQueryResponse) => void
)
Parameters
fun:
string
opts:
PouchQueryOptions
callback:
(err: PouchError, res: PouchQueryResponse) => void
public
query
(
fun
:
string
, callback
:
(err: PouchError, res: PouchQueryResponse) => void
)
Parameters
fun:
string
callback:
(err: PouchError, res: PouchQueryResponse) => void
public
query
(
fun
:
PouchFilter
, opts
:
PouchQueryOptions
, callback
:
(err: PouchError, res: PouchQueryResponse) => void
)
Parameters
fun:
PouchFilter
opts:
PouchQueryOptions
callback:
(err: PouchError, res: PouchQueryResponse) => void
public
query
(
fun
:
PouchFilter
, callback
:
(err: PouchError, res: PouchQueryResponse) => void
)
Parameters
fun:
PouchFilter
callback:
(err: PouchError, res: PouchQueryResponse) => void
public
remove
(
doc
:
any
, opts
:
PouchUpdateOptions
, callback
:
(err: PouchError, res: PouchUpdateResponse) => void
)
Parameters
doc:
any
opts:
PouchUpdateOptions
callback:
(err: PouchError, res: PouchUpdateResponse) => void
public
remove
(
doc
:
any
, callback
:
(err: PouchError, res: PouchUpdateResponse) => void
)
Parameters
doc:
any
callback:
(err: PouchError, res: PouchUpdateResponse) => void
public
removeAttachment
(
id
:
string
, rev
:
string
, callback
:
(err: PouchError, res: PouchUpdateResponse) => void
)
Parameters
id:
string
rev:
string
callback:
(err: PouchError, res: PouchUpdateResponse) => void
public
revsDiff
(
req
:
any
, opts
:
PouchRevsDiffOptions
, callback
:
(missing: any) => void
)
Parameters
req:
any
opts:
PouchRevsDiffOptions
callback:
(missing: any) => void
public
revsDiff
(
req
:
any
, callback
:
(missing: any) => void
)
Parameters
req:
any
callback:
(missing: any) => void
public
type
(
)
:
string
Returns
string
Functions
emit
(
key
:
any
, value
:
any
)
:
any
Parameters
key:
any
value:
any
Returns
any
Globals