mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Three slashes for documentation comment
This commit is contained in:
1 parent
d52fcbe0c9
commit
49d92dc6ce
1 file changed
+14
-14
@@ -84,20 +84,20 @@ public struct Configuration {
|
||||
|
||||
#endif
|
||||
|
||||
// If set, allows custom configuration to be run every time
|
||||
// a new connection is opened.
|
||||
//
|
||||
// This block is run after the Database's connection has opened, but
|
||||
// before that connection has been made available to any read/write
|
||||
// API's.
|
||||
//
|
||||
// For example:
|
||||
//
|
||||
// var config = Configuration()
|
||||
// config.prepareDatabase = { db in
|
||||
// db.execute(sql: "PRAGMA kdf_iter = '10000';")
|
||||
// }
|
||||
//
|
||||
/// If set, allows custom configuration to be run every time
|
||||
/// a new connection is opened.
|
||||
///
|
||||
/// This block is run after the Database's connection has opened, but
|
||||
/// before that connection has been made available to any read/write
|
||||
/// API's.
|
||||
///
|
||||
/// For example:
|
||||
///
|
||||
/// var config = Configuration()
|
||||
/// config.prepareDatabase = { db in
|
||||
/// db.execute(sql: "PRAGMA kdf_iter = '10000';")
|
||||
/// }
|
||||
///
|
||||
public var prepareDatabase: ((Database) throws -> Void)?
|
||||
|
||||
// MARK: - Transactions
|
||||
|
||||
Reference in new issue
Block a user