November 2018
Intermediate to advanced
404 pages
10h 16m
English
Following the similar steps as in SQLite and PostgreSQL configuration and add the following code in initializeJournalRoutes(app:):
import PackageDescriptionlet package = Package( name: "myJournal", dependencies: [ ... .package(url: "https://github.com/IBM-Swift/Swift-Kuery-ORM.git", from: "0.3.1"), .package(url: "https://github.com/IBM-Swift/Swift-Kuery-MySQL.git", from: "1.2.0") ], targets: [ .target(name: "myJournal", dependencies: [..., "SwiftKueryORM", "SwiftKueryMySQL"]), ... ])
import SwiftKueryORMimport SwiftKueryMySQL ...
Read now
Unlock full access