When deleting a record from table a, I want to set the del flag at the current time and cascase the corresponding flag in table b ( but not delete records from database actually). Postgresql Foreign Key On Delete Cascade In order to be a winner at every computer game, there are a few things that you require to do. I have following database structure: table a (Ī_id bigint references a(id) on delete cascade, CASCADE specifies that when a referenced row is deleted, row(s) referencing it should be automatically deleted as well.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |