Class: NotificationDataset<D>
Notification Dataset
Type parameters
Name | Type |
---|---|
D | extends Dataset |
Hierarchy
-
DatasetClass
<D
,Notification
>↳
NotificationDataset
Methods
getAllUpdatedAfter
▸ getAllUpdatedAfter(updatedAfter
, startAfter?
): Promise
<Notification
[]>
Get all records updated after unix timestamp.
Parameters
Name | Type |
---|---|
updatedAfter | number |
startAfter? | string |
Returns
Promise
<Notification
[]>
Inherited from
DatasetClass.getAllUpdatedAfter
getAllUpdatedAfterLive
▸ getAllUpdatedAfterLive(updatedAfter
, startAfter?
): Observable
<Notification
[]>
Get all records updated after unix timestamp. Real time stream.
Parameters
Name | Type |
---|---|
updatedAfter | number |
startAfter? | string |
Returns
Observable
<Notification
[]>
Inherited from
DatasetClass.getAllUpdatedAfterLive
getByField
▸ getByField(fieldName
, fieldValue
, startAfter?
): Promise
<Notification
[]>
Get records by field.
Parameters
Name | Type |
---|---|
fieldName | string | string [] |
fieldValue | string | number | boolean | (string | number | boolean )[] |
startAfter? | string |
Returns
Promise
<Notification
[]>
Inherited from
getByFieldLive
▸ getByFieldLive(fieldName
, fieldValue
, startAfter?
): Observable
<Notification
[]>
Get records by field. Real time stream.
Parameters
Name | Type |
---|---|
fieldName | string | string [] |
fieldValue | string | number | boolean | (string | number | boolean )[] |
startAfter? | string |
Returns
Observable
<Notification
[]>
Inherited from
getByMemberLive
▸ getByMemberLive(member
, startAfter?
, limit?
): Observable
<Notification
[]>
Get notification by member. Real time stream.
Parameters
Name | Type |
---|---|
member | string |
startAfter? | string |
limit? | number |
Returns
Observable
<Notification
[]>
getBySpace
▸ getBySpace(space
, startAfter?
): Promise
<Notification
[]>
Get records by space.
Parameters
Name | Type |
---|---|
space | string |
startAfter? | string |
Returns
Promise
<Notification
[]>
Inherited from
getBySpaceLive
▸ getBySpaceLive(space
, startAfter?
): Observable
<Notification
[]>
Get records by space. Real time stream.
Parameters
Name | Type |
---|---|
space | string |
startAfter? | string |
Returns
Observable
<Notification
[]>
Inherited from
getManyById
▸ getManyById(setIds
): Promise
<Notification
[]>
Get many records by id.
Parameters
Name | Type |
---|---|
setIds | string [] |
Returns
Promise
<Notification
[]>
Inherited from
getManyByIdLive
▸ getManyByIdLive(setIds
): Observable
<Notification
[]>
Get many records by id. Real time stream.
Parameters
Name | Type |
---|---|
setIds | string [] |
Returns
Observable
<Notification
[]>
Inherited from
id
▸ id(setId
): ExactDataSet
<D
, Notification
>
Get specific record by id.
Parameters
Name | Type |
---|---|
setId | string |
Returns
ExactDataSet
<D
, Notification
>