SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'id' in order clause is ambiguous

  

这个问题在你当前表模型中,关联了其他表的时候,会报这个错误。意思是“id字段是模棱两可的,模糊的定义”,这是因为在你的关联表中也有一个id字段,所以程序分不清楚你引用的到底是哪一个表的id字段。

相关文章:

  • 2022-12-23
  • 2021-07-08
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
相关资源
相似解决方案