RowMode.exists() is now final.

This commit is contained in:
Gwendal Roué committed 2015-09-04 20:31:53 +02:00
1 parent b5c834ca61
commit a2f7bd67ec
1 file changed
+1 -1
+1 -1
View File
@@ -411,7 +411,7 @@ public class RowModel {
- parameter db: A Database.
- returns: Whether the primary key matches a row in the database.
*/
public func exists(db: Database) -> Bool {
final public func exists(db: Database) -> Bool {
return (Row.fetchOne(DataMapper(self).existsStatement(db)) != nil)
}