05. SQLite for Short-Term
Chapter 5 of 24 · 15 min
EXERCISE
Write a Python function that uses SQLite to store a message in a conversation, updating the conversation's last_activity timestamp in the same transaction. Handle the case where the conversation does not exist.