Your IP : 18.218.94.236
o
6��f� � @ 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&