Structuregrdb 7.3.0GRDB
CustomTransactionClock
A custom transaction clock.
struct CustomTransactionClock
A custom transaction clock.
struct CustomTransactionClock
import GRDB
A toolkit for SQLite databases, with a focus on application development
struct DefaultTransactionClock
The default transaction clock.
protocol Sendable
protocol TransactionClock : Sendable
A type that provides the moment of a transaction.
init(_ now: @escaping (Database) throws -> Date)
func now(_ db: Database) throws -> Date
static func custom(_ now: @escaping (Database) throws -> Date) -> Self
Returns a custom clock.