mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
[BREAKING] tvOS 13+
This commit is contained in:
1 parent
8c40592955
commit
e4a4735494
68 files changed
+273
-284
No files matched your search
@@ -646,7 +646,7 @@ extension QueryInterfaceRequest {
|
||||
/// - parameter db: A database connection.
|
||||
/// - returns: A set of deleted ids.
|
||||
/// - throws: A ``DatabaseError`` whenever an SQLite error occurs.
|
||||
@available(macOS 10.15, tvOS 13, *) // Identifiable
|
||||
@available(macOS 10.15, *) // Identifiable
|
||||
public func deleteAndFetchIds(_ db: Database)
|
||||
throws -> Set<RowDecoder.ID>
|
||||
where RowDecoder: TableRecord & Identifiable,
|
||||
|
||||
@@ -631,7 +631,7 @@ extension TableRequest where Self: FilteredRequest, Self: TypedRequest {
|
||||
}
|
||||
}
|
||||
|
||||
@available(macOS 10.15, tvOS 13, *)
|
||||
@available(macOS 10.15, *)
|
||||
extension TableRequest
|
||||
where Self: FilteredRequest,
|
||||
Self: TypedRequest,
|
||||
|
||||
@@ -722,7 +722,7 @@ extension Table {
|
||||
}
|
||||
}
|
||||
|
||||
@available(macOS 10.15, tvOS 13, *)
|
||||
@available(macOS 10.15, *)
|
||||
extension Table where RowDecoder: Identifiable, RowDecoder.ID: DatabaseValueConvertible {
|
||||
/// Returns a request filtered by primary key.
|
||||
///
|
||||
@@ -1545,7 +1545,7 @@ extension Table {
|
||||
}
|
||||
}
|
||||
|
||||
@available(macOS 10.15, tvOS 13, *)
|
||||
@available(macOS 10.15, *)
|
||||
extension Table
|
||||
where RowDecoder: Identifiable,
|
||||
RowDecoder.ID: DatabaseValueConvertible
|
||||
@@ -1686,7 +1686,7 @@ extension Table {
|
||||
}
|
||||
}
|
||||
|
||||
@available(macOS 10.15, tvOS 13, *)
|
||||
@available(macOS 10.15, *)
|
||||
extension Table
|
||||
where RowDecoder: Identifiable,
|
||||
RowDecoder.ID: DatabaseValueConvertible
|
||||
|
||||
@@ -129,7 +129,6 @@ public final class TableAlteration {
|
||||
///
|
||||
/// - parameter name: the old name of the column.
|
||||
/// - parameter newName: the new name of the column.
|
||||
@available(tvOS 13, *) // SQLite 3.25+
|
||||
public func rename(column name: String, to newName: String) {
|
||||
_rename(column: name, to: newName)
|
||||
}
|
||||
|
||||
@@ -604,7 +604,7 @@ extension TableRecord {
|
||||
}
|
||||
}
|
||||
|
||||
@available(macOS 10.15, tvOS 13, *)
|
||||
@available(macOS 10.15, *)
|
||||
extension TableRecord where Self: Identifiable, ID: DatabaseValueConvertible {
|
||||
/// Returns a request filtered by primary key.
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user