mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Documentation for compound RowModel properties.
This commit is contained in:
1 parent
8e301c9a6e
commit
5fda007adc
1 file changed
-1
@@ -922,7 +922,6 @@ class Placemark : RowModel {
|
||||
var coordinate: CLLocationCoordinate2D?
|
||||
|
||||
override func updateFromRow(row: Row) {
|
||||
// Test column presence by extracting DatabaseValues:
|
||||
if let latitude = row["latitude"], let longitude = row["longitude"] {
|
||||
// Both columns are present.
|
||||
switch (latitude.value() as Double?, longitude.value() as Double?) {
|
||||
|
||||
Reference in new issue
Block a user