mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Record.save(_:) documents that is can't be overridden
This commit is contained in:
1 parent
930246592a
commit
b35cf4afdc
1 file changed
+3
@@ -332,6 +332,9 @@ open class Record : FetchableRecord, TableRecord, PersistableRecord {
|
||||
/// This method is guaranteed to have inserted or updated a row in the
|
||||
/// database if it returns without error.
|
||||
///
|
||||
/// You can't override this method. Instead, override `insert(_:)`
|
||||
/// or `update(_:columns:)`.
|
||||
///
|
||||
/// - parameter db: A database connection.
|
||||
/// - throws: A DatabaseError whenever an SQLite error occurs, or errors
|
||||
/// thrown by update().
|
||||
|
||||
Reference in new issue
Block a user