Use records for grdb cursors.
This commit is contained in:
parent
458b37986f
commit
31eba7b9fb
@ -253,6 +253,8 @@ public class SDSKeyValueStore: NSObject {
|
||||
// MARK: - Internal Methods
|
||||
|
||||
private func read<T>(_ key: String, transaction: SDSAnyReadTransaction) -> T? {
|
||||
return nil
|
||||
|
||||
// YDB values are serialized by YDB.
|
||||
// GRDB values are serialized to data by this class.
|
||||
switch transaction.readTransaction {
|
||||
|
||||
@ -32,11 +32,11 @@ public class FeatureFlags: NSObject {
|
||||
|
||||
@objc
|
||||
public static var useGRDB: Bool {
|
||||
if OWSIsDebugBuild() {
|
||||
return true
|
||||
} else {
|
||||
// if OWSIsDebugBuild() {
|
||||
// return true
|
||||
// } else {
|
||||
return false
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
@objc
|
||||
|
||||
Loading…
Reference in New Issue
Block a user