in reply to Re^3: DB: what kind of relationship?
in thread DB: what kind of relationship?

When you want to insert a new play, you insert it into the Entity table first to get its primary key number, then use that number when inserting the additional data into the Play table.

OK!

Replies are listed 'Best First'.
Re^5: DB: what kind of relationship?
by 1nickt (Canon) on May 05, 2020 at 02:34 UTC

    Hi Bliako,

    Very true, but note that any insert you do using DBIx relationships handles this automatically.

    Hope this helps!


    The way forward always starts with a minimal test.