Hello,
I have a question about a case where a table has a parent_id like this:
CREATE TABLE item (
uuid uuid PRIMARY KEY DEFAULT uuid_generate_v4 (),
parent_uuid uuid REFERENCES item (uuid) ON DELETE CASCADE,
title text
);
is it possible from this to create the parent item and also the child item (wo where parent_uuid is the uuid of the parent item)?
many thanks
Hello,
I have a question about a case where a table has a
parent_idlike this:is it possible from this to create the parent item and also the child item (wo where parent_uuid is the uuid of the parent item)?
many thanks