mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Enhance warning
This commit is contained in:
1 parent
baf1ef32d1
commit
06db4af649
2 files changed
+2
-2
No files matched your search
@@ -154,7 +154,7 @@ extension TableRecord {
|
||||
/// The selection defaults to all columns. This default can be changed for
|
||||
/// all requests by the `TableRecord.databaseSelection` property, or
|
||||
/// for individual requests with the `TableRecord.select` method.
|
||||
@available(*, deprecated, message: "Did you mean filter(key:)? If not, use filter(DatabaseValue) instead.")
|
||||
@available(*, deprecated, message: "Did you mean filter(key: id)? If not, prefer filter(value.databaseValue) instead. See also all() and none().")
|
||||
public static func filter(_ predicate: SQLExpressible) -> QueryInterfaceRequest<Self> {
|
||||
all().filter(predicate.sqlExpression)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user