Skip to content

Commit

Permalink
raw fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 committed Mar 9, 2017
1 parent 4076d35 commit ce863ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Fluent/Query/QueryRepresentable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ extension QueryRepresentable {
}

query.action = .delete
try query.run()
try query.raw()
}

/// Attempts to delete the supplied entity
Expand All @@ -135,7 +135,7 @@ extension QueryRepresentable {
query.filters.append(filter)

try model.willDelete()
try query.run()
try query.raw()
model.didDelete()

let model = model
Expand Down

0 comments on commit ce863ab

Please sign in to comment.