Insert error, if I define PK values before insert 2 childs?

Issue #13 new
Sergey Zherevchuk
created an issue

If I define id column value (my PK) in model before call .add() + .flush() I get an error

IntegrityError: (IntegrityError) columns mp_tree_id, mp_path are not unique

It's due to bulk insert optimization. Is it bug or feature?)

Comments (0)

  1. Log in to comment