Skip to content

Commit 38a585c

Browse files
committed
Make rowid public
Signed-off-by: Stephen Celis <stephen@stephencelis.com>
1 parent e19813d commit 38a585c

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
@@ -732,6 +732,8 @@ private func wrapDistinct<V, U>(function: String, expression: Expression<V>) ->
732732

733733
// MARK: - Helper
734734

735+
public let rowid = Expression<Int64>("ROWID")
736+
735737
public typealias Star = (Expression<Binding>?, Expression<Binding>?) -> Expression<()>
736738

737739
public func * (Expression<Binding>?, Expression<Binding>?) -> Expression<()> {
@@ -900,8 +902,6 @@ public postfix func -- <V: Value where V.Datatype == Int64>(column: Expression<V
900902

901903
// MARK: - Internal
902904

903-
internal let rowid = Expression<Int64>("ROWID")
904-
905905
internal func transcode(literal: Binding?) -> String {
906906
if let literal = literal {
907907
if let literal = literal as? Blob { return literal.description }

0 commit comments

Comments
 (0)