mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
README.md
This commit is contained in:
1 parent
9417d11d37
commit
ae353dc771
1 file changed
+1
-1
@@ -31,7 +31,7 @@ try dbQueue.inDatabase { db in
|
||||
let parisId = try db.execute(
|
||||
"INSERT INTO pointOfInterests (title, favorite, latitude, longitude) " +
|
||||
"VALUES (?, ?, ?, ?)",
|
||||
arguments: ["Paris", true, 48.85341, 2.3488,]).insertedRowID
|
||||
arguments: ["Paris", true, 48.85341, 2.3488]).insertedRowID
|
||||
|
||||
for row in Row.fetch(db, "SELECT * FROM pointOfInterests") {
|
||||
let title: String = row.value(named: "title")
|
||||
|
||||
Reference in new issue
Block a user