psql - 我无法使用 \d

问题描述 投票:0回答:1

这些是我的桌子。我正在尝试查看产品表的详细信息。

demo6pa=# d
List of relations
Schema |      Name       |   Type   |  Owner  
--------+-----------------+----------+----------
public | Products        | table    | postgres
public | Products_id_seq | sequence | postgres
public | SequelizeMeta   | table    | postgres
public | Services        | table    | postgres
public | Services_id_seq | sequence | postgres
public | Users           | table    | postgres
public | Users_id_seq    | sequence | postgres
(7 rows)

demo6pa=# d Products
Did not find any relation named "Products".

我希望看到产品表的详细信息,尽管我得到“没有找到任何名为产品的关系”

database command-line-interface psql
1个回答
0
投票

没关系,我明白了,我只需要像这样使用双引号

\d "Products"
© www.soinside.com 2019 - 2024. All rights reserved.