cursor icon indicating copy to clipboard operation
cursor copied to clipboard

How to use table comment to specify a table when generating a SQL statement

Open cntwelve opened this issue 2 years ago • 0 comments

Hi, everyone: I'm testing cursor in my SQL writing job. It's great. But I have one suggestion, if a table can be refered using it's comment, it'll more readable and usable.

For example: create table a(id int) comment 'a test table';

When I offer a chat 'select all data from a', it will give a correct result. But the chat 'select all data from a test table', cursor will return a statement with other table, even if the table name is quoted.

Thank a lot!

cntwelve avatar Apr 07 '23 00:04 cntwelve