File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Documentation/DemoApps/GRDBDemo/GRDBDemo/Database Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -67,18 +67,15 @@ extension AppDatabase {
6767
6868 /// Returns a database configuration suited for `AppDatabase`.
6969 ///
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+ //
7774 // Add custom SQL functions or collations, if needed:
7875 // config.prepareDatabase { db in
7976 // db.add(function: ...)
8077 // }
81-
78+ //
8279 // Uncomment for enabling SQL logging if the `SQL_TRACE` environment variable is set.
8380 // See <https://swiftpackageindex.com/groue/grdb.swift/documentation/grdb/database/trace(options:_:)>
8481 // if ProcessInfo.processInfo.environment["SQL_TRACE"] != nil {
You can’t perform that action at this time.
0 commit comments