mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Improve inline documentation
This commit is contained in:
1 parent
6295f4609e
commit
4e4699ebed
6 files changed
+88
-24
No files matched your search
@@ -374,7 +374,7 @@ extension TableRecord {
|
||||
/// When executed, this request raises a fatal error if no unique index
|
||||
/// exists on a subset of the key columns.
|
||||
///
|
||||
/// - parameter key: A unique key.
|
||||
/// - parameter key: A key dictionary.
|
||||
public static func filter(key: [String: (any DatabaseValueConvertible)?]?) -> QueryInterfaceRequest<Self> {
|
||||
all().filter(key: key)
|
||||
}
|
||||
@@ -402,7 +402,7 @@ extension TableRecord {
|
||||
/// When executed, this request raises a fatal error if no unique index
|
||||
/// exists on a subset of the key columns.
|
||||
///
|
||||
/// - parameter keys: A collection of unique keys
|
||||
/// - parameter keys: An array of key dictionaries.
|
||||
public static func filter(keys: [[String: (any DatabaseValueConvertible)?]]) -> QueryInterfaceRequest<Self> {
|
||||
all().filter(keys: keys)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user