#6 Upsert 時,Model#save でいかなる場合も Insert となり,重複エラーが発生する問題について

Closed
opened 10 months ago by みてるぞ · 3 comments

表題のとほり.
Model#save のしやぅを履き違へてゐたため,Update 時はインスタンスを別にするやぅ修正する.

表題のとほり. Model#save のしやぅを履き違へてゐたため,Update 時はインスタンスを別にするやぅ修正する.
みてるぞ commented 10 months ago
Owner

__exists を立てることで update に行くやぅにしてみたがだめだった.
今夜調査する.

```__exists``` を立てることで update に行くやぅにしてみたがだめだった. 今夜調査する.
みてるぞ commented 10 months ago
Owner

Python だと __ で始まるメンバは直接加工できなぃの思ひ出した.
これが原因か?

Python だと ```__``` で始まるメンバは直接加工できなぃの思ひ出した. これが原因か?
みてるぞ referenced this issue from a commit 10 months ago
みてるぞ commented 10 months ago
Owner

ちょっと気になるところはあったけど,おほむね解決したので完了とする.

ちょっと気になるところはあったけど,おほむね解決したので完了とする.
みてるぞ closed this issue 10 months ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.