langchain/memory/chat_message_histories/sql.py/SQLChatMessageHistory/clear
class SQLChatMessageHistory:    def clear(self) -> None:
        """Clear session memory from db"""

        with self.Session() as session:
            session.query(self.Message).filter(
                self.Message.session_id == self.session_id
            ).delete()
            session.commit()