Ë
c‡½jÒ
ã ó
— d „ Z y)c
# ól K — d}| j « }d|_ d–— d}|j |« }g }|j « D �]} \ }}}|dk( rC|j d« j « } dg}|| D �
cg c] }
d|
d › d
|
d › d�‘Œ c}
z
}ŒP|d
k( rd–— ns|j d« rŒl|j d« r=|sd}d–— dj |j
dd« |j
dd« « –— ndj |« –— |j
dd« }|j dj |« « }|j « D �
cg c] }
t |
d « ‘Œ }}
dj |dj d„ |D « « « }|j |« }|D ] }
dj |
d « –— Œ �Œ€ d}|j |« }|j « D ] \ }}}dj |« –— Œ |rd–— |D ] }
dj |
« –— Œ d–— yc c}
w c c}
w w) a/
Returns an iterator to the dump of the database in an SQL text format.
Used to produce an SQL dump of the database. Useful to save an in-memory
database for later restoration. This function should not be called
directly but instead called from the Connection method, iterdump().
FNzBEGIN TRANSACTION;zª
SELECT "name", "type", "sql"
FROM "sqlite_master"
WHERE "sql" NOT NULL AND
"type" == 'table'
ORDER BY "name"
Úsqlite_sequencez SELECT * FROM "sqlite_sequence";zDELETE FROM "sqlite_sequence"z&INSERT INTO "sqlite_sequence" VALUES('é z',é Ú)Úsqlite_stat1zANALYZE "sqlite_master";Úsqlite_zCREATE VIRTUAL TABLETzPRAGMA writable_schema=ON;z^INSERT INTO sqlite_master(type,name,tbl_name,rootpage,sql)VALUES('table','{0}','{0}',0,'{1}');Ú'z''z{0};Ú"ú""zPRAGMA table_info("{0}")z2SELECT 'INSERT INTO "{0}" VALUES({1})' FROM "{0}";Ú,c 3 ó^ K — | ]% }d j |j dd« « –— Œ' yw)z'||quote("{0}")||'r
r N)ÚformatÚreplace)Ú.0Úcols ú%/usr/lib64/python3.12/sqlite3/dump.pyÚ