D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
python310
/
lib64
/
python3.10
/
sqlite3
/
__pycache__
/
Filename :
dump.cpython-310.pyc
back
Copy
o �=?h� � @ s d d� Z dS )c c sJ � | � � }dV d}|�|�}g }|�� D ]h\}}}|dkr2|�d��� }dg}|dd� |D �7 }q|dkr:d V n|�d �r@qd�|�V |�dd �} |�d�| ��} dd� | �� D �}d�| d�dd� |D ���}|�|�}|D ] } d�| d �V qrqd}|�|�}|�� D ]\}}}d�|�V q�|D ]} d�| �V q�dV dS )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(). zBEGIN 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"c S s&