# Functions
AddLabel add a label to a messagetruncated to 100 char in text label.
AddToTasks add a message to user's tasks tat.Topic.
AllTopicsComputeReplies computes Replies on all topics.
ChangeUsernameOnMessages changes username of a user on all msg.
ChangeUsernameOnMessagesTopics change username on topics.
CheckAndFixText truncates to maxLength (parameter on topic) characters if len < 1, return error.
ComputeReplies re-compute replies for all messages in one topic.
CountAllMessages returns the total number of messages in db.
CountMessages list messages with given criteria.
CountMsgSinceDate return number of messages created on one topic from a given date.
Delete deletes a message from database.
FindByID returns message by given ID.
FindByIDDefaultCollection returns message by given ID TODO remove this func after migrate all topic to dedicated.
FullTreeMessages returns list msg with only full deep.
InitDB gets all topics, for each topic with "collection" setted, add collection to store.
Insert a new message on one topic.
Like add a like to a message.
ListMessages list messages with given criteria.
MigrateMessagesToDedicatedTopic migrates a topic, from default to dedicated.
Move moves a message to another topic.
OneTreeMessages returns list msg with only one deep.
RemoveAllAndAddNewLabel removes all labels and add new label on message.
RemoveAllAndAddNewLabelOrCreate removes all labels and add new label on message.
RemoveFromTasks removes a task from user's Tasks tat.Topic.
RemoveLabel removes label from on message (label text matching).
RemoveSomeAndAddNewLabel removes some labels and add new label on message.
Unlike removes a like from one message.
UnVoteDown removes a vote down from a message.
UnVoteUP removes a vote up from a message.
Update updates a message from database action could be concat (for adding additional text to message or update).
VoteDown add a vote Down to a message.
VoteUP add a vote UP to a message.