[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class MSSQLChatMessageHistory (0.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.0 (latest)](/python/docs/reference/langchain-google-cloud-sql-mssql/latest/langchain_google_cloud_sql_mssql.chat_message_history.MSSQLChatMessageHistory)\n- [0.2.1](/python/docs/reference/langchain-google-cloud-sql-mssql/0.2.1/langchain_google_cloud_sql_mssql.chat_message_history.MSSQLChatMessageHistory) \n\n MSSQLChatMessageHistory(\n engine: langchain_google_cloud_sql_mssql.engine.MSSQLEngine,\n session_id: str,\n table_name: str,\n )\n\nChat message history stored in a Cloud SQL MSSQL database.\n\nProperties\n----------\n\n### messages\n\nRetrieve the messages from Cloud SQL\n\nMethods\n-------\n\n### _verify_schema\n\n _verify_schema() -\u003e None\n\nVerify table exists with required schema for MSSQLChatMessageHistory class.\n\nUse helper method MSSQLEngine.init_chat_history_table(...) to create\ntable with valid schema.\n\n### add_message\n\n add_message(message: langchain_core.messages.base.BaseMessage) -\u003e None\n\nAppend the message to the record in Cloud SQL\n\n### clear\n\n clear() -\u003e None\n\nClear session memory from Cloud SQL"]]