Skip to content

Commit 895282d

Browse files
committed
Remove unnecessary default
There's no reason to initialize an expression literal without a SQL string. Signed-off-by: Stephen Celis <stephen@stephencelis.com>
1 parent 7749e3e commit 895282d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SQLite/Expression.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public struct Expression<T> {
3838
///
3939
/// :param: SQL An SQL string.
4040
///
41-
/// :param: bindings Values to be bound to the given SQL.
42-
public init(literal SQL: String = "", _ bindings: [Binding?] = []) {
41+
/// :param: bindings An optional list of values to be bound to the SQL.
42+
public init(literal SQL: String, _ bindings: [Binding?] = []) {
4343
(self.SQL, self.bindings) = (SQL, bindings)
4444
}
4545

0 commit comments

Comments
 (0)