postgresql和django

编程入门 行业动态 更新时间:2024-10-27 23:30:31
本文介绍了postgresql和django - 此行没有唯一标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当我去查询创建报告时,我的Django postgresql数据库上的两个条目导致了一个麻烦的世界。当我尝试删除这些条目(通过phpPgAdmin),我得到错误没有唯一标识符这一行。没有重复的ID。我已经尝试更新所有字段。我试图摆脱这些使用删除按钮和手动SQL命令。我的想法。任何人都知道热给一个唯一的标识符,所以我可以摆脱它?

Two entries on my Django postgresql database are causing me a world of trouble when I go a-querying to create reports. When I try to delete these entries (via phpPgAdmin), I get the error "No unique identifier for this row." There are no duplicate IDs. I've tried updating all the fields. I've tried getting rid of these using the delete button and manual SQL commands. I'm out of ideas. Anyone know hot to give a row a unique identifier so I can get rid of it?

谢谢!

推荐答案

查看此帖的答案: PHPpgAdmin :如何删除不使用SQL的行。

更多推荐

postgresql和django

本文发布于:2023-10-15 11:51:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1494257.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:postgresql   django

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!