<Kotlin Exposed - automatically create record in c...
# stackoverflow
r
Kotlin Exposed - automatically create record in child table when new record is added to parent table I have ParentTable and ChildTable as table entites. When a record is inserted into ParentTable i want it to automatically create a record in ChildTable. The child table has two columns, colA is the row id of the parent table and colB is some default value. Is there any way to automatically do this in Kotlin Exposed using DAO and cascade function onUpdate?