From 9313bb4ac5bce06d10955dd2bb1488529cb2c35a Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 26 Mar 2013 11:17:32 +0100 Subject: [PATCH] Update database.rst I hope that's the meaning, because I don't understand "set id" - an id of an set? --- developer_manual/app/appframework/database.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer_manual/app/appframework/database.rst b/developer_manual/app/appframework/database.rst index e2736471e..189cea0ad 100644 --- a/developer_manual/app/appframework/database.rst +++ b/developer_manual/app/appframework/database.rst @@ -114,7 +114,7 @@ All database queries for that object should be put into a mapper class. This fol $result = $this->execute($sql, $params); -The mapper class comes with simple methods for deleting, updating and finding items. To delete a database entry, simply pass an entity with a set id to the :php:meth:`OCA\\AppFramework\\Db\\Mapper::delete` method. +The mapper class comes with simple methods for deleting, updating and finding items. To delete a database entry, simply pass an entity with an id to the :php:meth:`OCA\\AppFramework\\Db\\Mapper::delete` method. Example: