![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3.10/sqlite3/__pycache__/ |
o �*�g� � @ 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&