mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
LookupTable.
This commit is contained in:
@@ -44,13 +44,13 @@ public extension DatabaseTable {
|
||||
|
||||
// MARK: Updating
|
||||
|
||||
public func updateRowsWithValue(_ value: Any, valueKey: String, whereKey: String, matches: [Any]) {
|
||||
|
||||
queue.update { (database: FMDatabase!) in
|
||||
|
||||
let _ = database.rs_updateRows(withValue: value, valueKey: valueKey, whereKey: whereKey, inValues: matches, tableName: self.name)
|
||||
}
|
||||
}
|
||||
// public func updateRowsWithValue(_ value: Any, valueKey: String, whereKey: String, matches: [Any]) {
|
||||
//
|
||||
// queue.update { (database: FMDatabase!) in
|
||||
//
|
||||
// let _ = database.rs_updateRows(withValue: value, valueKey: valueKey, whereKey: whereKey, inValues: matches, tableName: self.name)
|
||||
// }
|
||||
// }
|
||||
|
||||
// MARK: Saving
|
||||
|
||||
|
||||
Reference in New Issue
Block a user