Functions To Update Chats and Converation Table

Initial Database Design for Conversations
Update Conversations table when new records/modifications are made to chat table
Agboola
This commit is contained in:
2025-02-02 00:47:38 +00:00
parent cdba695f62
commit 7da0060b66
3 changed files with 93 additions and 18 deletions
+10 -5
View File
@@ -1,8 +1,13 @@
Appwrite Functions to manage project
# Appwrite Functions to manage project - https://git.theonasanyas.com/agboola/MessagingApp
https://git.theonasanyas.com/agboola/MessagingApp
These functions are server side codes that create and updatte records based on set conditions
## These functions are server side codes that create and updatte records based on set conditions
1. When a new chat is created, a conversation collection record is created/updated to reflect same.
2. The conversation collection is used as a defualt list view for all the chats per user. this makes it easier to pull and reference chats
2. The conversation collection is used as a defualt list view for all the chats per user. this makes it easier to pull and reference chats
# functions - all written in dart
1. https://git.theonasanyas.com/agboola/MessagingApp_Functions/src/branch/main/functions/conversations_upd_function
2. https://git.theonasanyas.com/agboola/MessagingApp_Functions/src/branch/main/functions/mesaages_upd_function