From f335123c2bd92e3b4786e5b71da74cccaca1291a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 5 Jun 2024 18:23:56 +0200 Subject: [PATCH] Update link to SQLite RETURNING caveats --- .../Request/QueryInterfaceRequest.swift | 32 +++++++++---------- README.md | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/GRDB/QueryInterface/Request/QueryInterfaceRequest.swift b/GRDB/QueryInterface/Request/QueryInterfaceRequest.swift index c573a2f3c..2371ae81d 100644 --- a/GRDB/QueryInterface/Request/QueryInterfaceRequest.swift +++ b/GRDB/QueryInterface/Request/QueryInterfaceRequest.swift @@ -528,7 +528,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - parameter selection: The returned columns (must not be empty). @@ -561,7 +561,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - returns: A ``RecordCursor`` over the deleted records. @@ -588,7 +588,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - returns: An array of deleted records. @@ -614,7 +614,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - returns: A set of deleted records. @@ -640,7 +640,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - parameter selection: The returned columns (must not be empty). @@ -674,7 +674,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - returns: A ``RecordCursor`` over the deleted records. @@ -702,7 +702,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - returns: An array of deleted records. @@ -729,7 +729,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - returns: A set of deleted records. @@ -844,7 +844,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - parameter conflictResolution: A policy for conflict resolution. @@ -893,7 +893,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - parameter conflictResolution: A policy for conflict resolution. @@ -930,7 +930,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - parameter conflictResolution: A policy for conflict resolution. @@ -962,7 +962,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - parameter conflictResolution: A policy for conflict resolution. @@ -996,7 +996,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - parameter conflictResolution: A policy for conflict resolution. @@ -1046,7 +1046,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - parameter conflictResolution: A policy for conflict resolution. @@ -1084,7 +1084,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - parameter conflictResolution: A policy for conflict resolution. @@ -1117,7 +1117,7 @@ extension QueryInterfaceRequest { /// /// - important: Make sure you check the documentation of the `RETURNING` /// clause, which describes important limitations and caveats: - /// . + /// . /// /// - parameter db: A database connection. /// - parameter conflictResolution: A policy for conflict resolution. diff --git a/README.md b/README.md index cfef0ead4..7077cd6e7 100644 --- a/README.md +++ b/README.md @@ -2343,7 +2343,7 @@ See [Persistence Methods], [Upsert](#upsert), and [`updateChanges` methods](#the **Batch operations** can return updated or deleted values: -> **Warning**: Make sure you check the [documentation of the `RETURNING` clause](https://www.sqlite.org/lang_returning.html), which describes important limitations and caveats for batch operations. +> **Warning**: Make sure you check the [documentation of the `RETURNING` clause](https://www.sqlite.org/lang_returning.html#limitations_and_caveats), which describes important limitations and caveats for batch operations. ```swift let request = Player.filter(...)...