mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Fix Swiftlint warnings
This commit is contained in:
1 parent
af00fd0f30
commit
fa1abdff2b
2 files changed
+6
-3
No files matched your search
@@ -678,7 +678,11 @@ extension Database {
|
||||
|
||||
func assertNotInsideAbortedTransactionBlock(sql: String? = nil, arguments: StatementArguments? = nil) throws {
|
||||
if isInsideAbortedTransactionBlock {
|
||||
throw DatabaseError(resultCode: SQLITE_ABORT, message: "Transaction was aborted", sql: sql, arguments: arguments)
|
||||
throw DatabaseError(
|
||||
resultCode: SQLITE_ABORT,
|
||||
message: "Transaction was aborted",
|
||||
sql: sql,
|
||||
arguments: arguments)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -31,8 +31,7 @@ public class Statement {
|
||||
.trimmingCharacters(in: .sqlStatementSeparators)
|
||||
}
|
||||
|
||||
@usableFromInline
|
||||
unowned let database: Database
|
||||
@usableFromInline unowned let database: Database
|
||||
|
||||
/// Creates a prepared statement. Returns nil if the compiled string is
|
||||
/// blank or empty.
|
||||
|
||||
Reference in new issue
Block a user