Skip to content

Commit

Permalink
🎨 Supports multiple views for the database #9751
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Nov 30, 2023
1 parent 004bc16 commit 21dace6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/model/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ func (tx *Transaction) doAddAttrViewView(operation *Operation) (ret *TxErr) {
}

view := av.NewView()
view.ID = operation.ID
attrView.Views = append(attrView.Views, view)
attrView.ViewID = view.ID
if err = av.SaveAttributeView(attrView); nil != err {
Expand Down

0 comments on commit 21dace6

Please sign in to comment.