mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
It used to be rethrowing, but it was then unable to deal with closed databases. The async version is modified accordingly: it accepts a Result<Database, Error>, instead of a raw Database. DatabaseMigrator.asyncMigrate is impacted as well: it accepts a Result<Database, Error>, instead of a (Database, Error?) tuple.