Skip to content

Commit 550c1df

Browse files
committed
Ess, queue, el.
Signed-off-by: Stephen Celis <stephen@stephencelis.com>
1 parent 9d83e2f commit 550c1df

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

SQLite/Database.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
import sqlite3
2626

27-
/// A connection (handle) to a SQLite database.
27+
/// A connection (handle) to SQLite.
2828
public final class Database {
2929

3030
internal var handle: COpaquePointer = nil
@@ -402,7 +402,7 @@ public final class Database {
402402
}
403403
private var trace: SQLiteTraceCallback?
404404

405-
/// A SQL operation passed to update callbacks.
405+
/// An SQL operation passed to update callbacks.
406406
public enum Operation {
407407

408408
/// An INSERT operation.

SQLite/Expression.swift

+6-6
Original file line numberDiff line numberDiff line change
@@ -33,31 +33,31 @@ public struct Expression<T> {
3333

3434
private var original: Expressible?
3535

36-
/// Builds a SQL expression with a literal string and an optional list of
36+
/// Builds an SQL expression with a literal string and an optional list of
3737
/// bindings.
3838
///
39-
/// :param: SQL A SQL string.
39+
/// :param: SQL An SQL string.
4040
///
4141
/// :param: bindings Values to be bound to the given SQL.
4242
public init(literal SQL: String = "", _ bindings: [Binding?] = []) {
4343
(self.SQL, self.bindings) = (SQL, bindings)
4444
}
4545

46-
/// Builds a SQL expression with a quoted identifier.
46+
/// Builds an SQL expression with a quoted identifier.
4747
///
48-
/// :param: identifier A SQL identifier (*e.g.*, a column name).
48+
/// :param: identifier An SQL identifier (*e.g.*, a column name).
4949
public init(_ identifier: String) {
5050
self.init(literal: quote(identifier: identifier))
5151
}
5252

53-
/// Builds a SQL expression with the given value.
53+
/// Builds an SQL expression with the given value.
5454
///
5555
/// :param: value An encodable SQL value.
5656
public init<V: Value>(value: V?) {
5757
self.init(binding: value?.datatypeValue)
5858
}
5959

60-
/// Builds a SQL expression with the given value.
60+
/// Builds an SQL expression with the given value.
6161
///
6262
/// :param: binding A raw SQL value.
6363
internal init(binding: Binding?) {

SQLite/Functions.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public extension Database {
3535
/// :param: block A block of code to run when the function is called.
3636
/// The assigned types must be explicit.
3737
///
38-
/// :returns: A closure returning a SQL expression to call the function.
38+
/// :returns: A closure returning an SQL expression to call the function.
3939
public func create<Z: Value>(#function: String, deterministic: Bool = false, _ block: () -> Z) -> (() -> Expression<Z>) {
4040
return { self.create(function, 0, deterministic) { _ in return block() }([]) }
4141
}

0 commit comments

Comments
 (0)