File tree 1 file changed +5
-8
lines changed
Documentation/DemoApps/GRDBDemo/GRDBDemo/Database
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -67,18 +67,15 @@ extension AppDatabase {
67
67
68
68
/// Returns a database configuration suited for `AppDatabase`.
69
69
///
70
- /// SQL statements are logged if the `SQL_TRACE` environment variable
71
- /// is set.
72
- ///
73
- /// - parameter base: A base configuration.
74
- static func makeConfiguration( _ base: Configuration = Configuration ( ) ) -> Configuration {
75
- var config = base
76
-
70
+ /// - parameter config: A base configuration.
71
+ static func makeConfiguration( _ config: Configuration = Configuration ( ) ) -> Configuration {
72
+ // var config = config
73
+ //
77
74
// Add custom SQL functions or collations, if needed:
78
75
// config.prepareDatabase { db in
79
76
// db.add(function: ...)
80
77
// }
81
-
78
+ //
82
79
// Uncomment for enabling SQL logging if the `SQL_TRACE` environment variable is set.
83
80
// See <https://swiftpackageindex.com/groue/grdb.swift/documentation/grdb/database/trace(options:_:)>
84
81
// if ProcessInfo.processInfo.environment["SQL_TRACE"] != nil {
You can’t perform that action at this time.
0 commit comments