From c06552fbd45e88182f65f12d07c539b4bcfc9428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 6 Jan 2024 18:36:58 +0100 Subject: [PATCH] Document that shadow tables are not recorded by dumpContent() --- GRDB/Dump/Database+Dump.swift | 3 +++ GRDB/Dump/DatabaseReader+dump.swift | 3 +++ 2 files changed, 6 insertions(+) diff --git a/GRDB/Dump/Database+Dump.swift b/GRDB/Dump/Database+Dump.swift index 86e213959..e98716edc 100644 --- a/GRDB/Dump/Database+Dump.swift +++ b/GRDB/Dump/Database+Dump.swift @@ -129,6 +129,9 @@ extension Database { /// /// > Note: Internal SQLite and GRDB schema objects are not recorded /// > (those with a name that starts with "sqlite_" or "grdb_"). + /// > + /// > [Shadow tables](https://www.sqlite.org/vtab.html#xshadowname) are + /// > not recorded, starting SQLite 3.37+. /// /// - Parameters: /// - format: The output format. diff --git a/GRDB/Dump/DatabaseReader+dump.swift b/GRDB/Dump/DatabaseReader+dump.swift index e18807d05..cd3649cae 100644 --- a/GRDB/Dump/DatabaseReader+dump.swift +++ b/GRDB/Dump/DatabaseReader+dump.swift @@ -120,6 +120,9 @@ extension DatabaseReader { /// /// > Note: Internal SQLite and GRDB schema objects are not recorded /// > (those with a name that starts with "sqlite_" or "grdb_"). + /// > + /// > [Shadow tables](https://www.sqlite.org/vtab.html#xshadowname) are + /// > not recorded, starting SQLite 3.37+. /// /// - Parameters: /// - format: The output format.