mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
@@ -112,7 +112,6 @@ func (nu *NodeUpdate) RemoveChildren(n ...*Node) *NodeUpdate {
|
||||
|
||||
// Save executes the query and returns the number of rows/vertices matched by this operation.
|
||||
func (nu *NodeUpdate) Save(ctx context.Context) (int, error) {
|
||||
|
||||
var (
|
||||
err error
|
||||
affected int
|
||||
@@ -382,7 +381,6 @@ func (nuo *NodeUpdateOne) RemoveChildren(n ...*Node) *NodeUpdateOne {
|
||||
|
||||
// Save executes the query and returns the updated entity.
|
||||
func (nuo *NodeUpdateOne) Save(ctx context.Context) (*Node, error) {
|
||||
|
||||
var (
|
||||
err error
|
||||
node *Node
|
||||
|
||||
Reference in New Issue
Block a user