mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Swiftlint + whitespace
This commit is contained in:
1 parent
b3215cc471
commit
df6bb8761c
110 files changed
+3257
-1572
No files matched your search
@@ -96,7 +96,13 @@ extension Database {
|
||||
/// - module: a VirtualTableModule
|
||||
/// - body: An optional closure that defines the virtual table.
|
||||
/// - throws: A DatabaseError whenever an SQLite error occurs.
|
||||
public func create<Module: VirtualTableModule>(virtualTable tableName: String, ifNotExists: Bool = false, using module: Module, _ body: ((Module.TableDefinition) -> Void)? = nil) throws {
|
||||
public func create<Module: VirtualTableModule>(
|
||||
virtualTable tableName: String,
|
||||
ifNotExists: Bool = false,
|
||||
using module: Module,
|
||||
_ body: ((Module.TableDefinition) -> Void)? = nil)
|
||||
throws
|
||||
{
|
||||
// Define virtual table
|
||||
let definition = module.makeTableDefinition()
|
||||
if let body = body {
|
||||
|
||||
Reference in new issue
Block a user