Skip to content

Commit 03b27f9

Browse files
committed
Fix General Query.delete() documentation
Fixes #179. Signed-off-by: Stephen Celis <stephen@stephencelis.com>
1 parent 043137e commit 03b27f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ alice.delete()
868868
The `delete` function returns a tuple with an `Int?` representing the number of deletes (or `nil` on failure) and the associated `Statement`.
869869

870870
``` swift
871-
let delete = delete.update(email <- "alice@me.com")
871+
let delete = alice.delete()
872872
if let changes = delete.changes where changes > 0 {
873873
println("deleted alice")
874874
} else if delete.statement.failed {

0 commit comments

Comments
 (0)