mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Faster Row.count
This commit is contained in:
1 parent
bfda4c78b3
commit
2bd9bdbf27
1 file changed
+1
-3
+1
-3
@@ -409,9 +409,7 @@ public final class Row: CollectionType {
|
||||
// MARK: - Row as a Collection of (ColumnName, DatabaseValue) Pairs
|
||||
|
||||
/// The number of columns in the row.
|
||||
public var count: Int {
|
||||
return impl.count
|
||||
}
|
||||
public lazy var count: Int = { self.impl.count }()
|
||||
|
||||
/// The names of columns in the row.
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user