Wil*_*234 1 postgresql django-models psql
我正在尝试使用 psql 对 postgresql 表进行全选,但出现关系不存在错误,即使当我运行 \dt 时,该表显然确实存在。当我输入 \d 时我得到:
public | OwnershipDocument | table | iswdp
public | OwnershipDocument_id_seq | sequence | iswdp
Run Code Online (Sandbox Code Playgroud)
当我输入时:
select * from OwnershipDocument;
Run Code Online (Sandbox Code Playgroud)
我得到:
ERROR: relation "ownershipdocument" does not exist
LINE 1: select * from OwnershipDocument;
Run Code Online (Sandbox Code Playgroud)
我不知道为什么这不起作用。该数据库是使用 Django ORM 创建的。
归档时间: |
|
查看次数: |
8531 次 |
最近记录: |