mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Database.swift cleanup
This commit is contained in:
1 parent
16e767d2c6
commit
7d18c59588
1 file changed
+3
-3
+3
-3
@@ -185,9 +185,9 @@ public final class Database {
|
||||
|
||||
// Columns name, type, primary key index
|
||||
.map { (
|
||||
name: ($0.value(named: "name") as String?)!,
|
||||
type: ($0.value(named: "type") as String?)!,
|
||||
primaryKeyIndex: ($0.value(named: "pk") as Int?)!) }
|
||||
name: $0.value(named: "name")! as String,
|
||||
type: $0.value(named: "type")! as String,
|
||||
primaryKeyIndex: $0.value(named: "pk")! as Int) }
|
||||
|
||||
// Columns part of the primary key.
|
||||
.filter { $0.primaryKeyIndex > 0 }
|
||||
|
||||
Reference in new issue
Block a user