You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say that we have tables:
parent {
id: autincrement
stuff: int },
child {
id: autoincrement,
parent_id,
data: int}
I want to upsert this tables. Upsert command for child will looks like
new UpsertChildCommand(uniqueKey(childEntity.data).identifier(some_data)) BUT unique key in child should be the combination parent_id and data. How i can handle it?
The text was updated successfully, but these errors were encountered:
Let's say that we have tables:
parent {
id: autincrement
stuff: int },
child {
id: autoincrement,
parent_id,
data: int}
I want to upsert this tables. Upsert command for child will looks like
new UpsertChildCommand(uniqueKey(childEntity.data).identifier(some_data)) BUT unique key in child should be the combination parent_id and data. How i can handle it?
The text was updated successfully, but these errors were encountered: