Skip to content

Commit

Permalink
Make ActiveRecord GID inlinable
Browse files Browse the repository at this point in the history
...
  • Loading branch information
helje5 committed Dec 28, 2024
1 parent 0003b93 commit 563e228
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/ZeeQL/Access/ActiveRecordType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public protocol ActiveRecordType : DatabaseObject,
}

public extension ActiveRecordType {
var globalID: GlobalID? {
return entity.globalIDForRow(self)
}

@inlinable
var globalID: GlobalID? { return entity.globalIDForRow(self) }
}

public protocol DatabaseBoundObject {
Expand Down

0 comments on commit 563e228

Please sign in to comment.