mysql_mcp_server
mysql_mcp_server copied to clipboard
你好
请问一下,我在数据库的表和表的字段写上注释之后,这个可以直接去读取到吗
@Allen385 Yes, they can directly read these comments by sending the appropriate SQL query through the existing query functionality in mysql_mcp_server.
是的,他们可以通过使用 mysql_mcp_server 现有的查询功能发送适当的 SQL 查询来直接读取这些注释。用户只需发送以下查询即可: sql-- 获取表注释 SELECT table_name, table_comment FROM information_schema.tables WHERE table_schema = '您的数据库名称';
-- 获取字段注释 SELECT table_name, column_name, column_comment FROM information_schema.columns WHERE table_schema = '您的数据库名称'; 通过现有的查询功能,这些信息可以很容易地被检索出来,无需额外的专门功能。