Documentation

This commit is contained in:
Gwendal Roué committed 2016-08-07 05:01:27 +02:00
1 parent 949d706eaa
commit 7d21772f87
1 file changed
+2 -2
+2 -2
View File
@@ -1930,11 +1930,11 @@ When you subclass [Record](#record-class), you simply have to override the custo
```swift
class Person : Record {
var uuid: String?
var uuid: NSUUID?
override func insert(db: Database) throws {
if uuid == nil {
uuid = NSUUID().UUIDString
uuid = NSUUID()
}
try super.insert(db)
}