mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
RowMode.exists() is now final.
This commit is contained in:
1 parent
b5c834ca61
commit
a2f7bd67ec
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user