RepositoryFacade
Functions
Deletes a Channel by the cid.
Deletes a Message from a Channel.messages.
Deletes channel messages before hideMessagesBefore and removes channel from the cache.
Inserts a Channel
Inserts many Channels.
Inserts a messages.
Inserts many messages.
Inserts a reaction.
Inserts the given list of Thread.
Select channels by full channel IDs Channel.cid
Sets the Channel.hidden for a channel.
Updates the members of a Channel
Inherited functions
Caches in memory data from DB.
Deletes all messages from a channel.
Deletes all threads from a channel.
Deletes a reaction.
Evict a Channel from the repository.
Evicts a message from the repository.
Evict messages from the repository.
Writes ChannelConfig
Writes many ChannelConfig
Inserts the current user of the SDK.
Inserts a query channels.
Inserts a sync state.
Inserts the order in which local threads should be displayed.
Inserts a users.
Insert many users.
Returns flow of latest updated users.
Selects all channels' cids.
Selects by a filter and query sort.
Select channel by full channel ID Channel.cid
Read which channel cids need sync.
Select the ChannelConfig for a channel type.
Read which channels need sync.
Reads the member list of a channel.
Reads the message with passed ID.
Selects all message of a SyncStatus
Selects all message ids of a SyncStatus
Selects messages by IDs.
Select messages for a channel in a desired page.
Select messages for a thread in a desired page.
Selects all messages with a poll with the passed ID.
Selects reaction with specified id.
Selects all reaction ids with specific SyncStatus.
Selects all reactions with specific SyncStatus
Selects a sync state.
Retrieves the order in which local threads should be displayed.
Selects a user by id.
Selects all current user reactions of a message.
Selects the reaction of given type to the message if exists.
Sets the Channel.deleteAt for a channel.
Updates a Message from a Channel.messages.
Updates the last message for a Channel
Updates the Reaction.deletedAt for reactions of a message.
Upsert a Message in the corresponding thread (if such exists).
Upsert a list of Messages in the corresponding thread (if such exists).