File "dump.cpython-39.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python39/lib64/python3.9/sqlite3/__pycache__/dump.cpython-39.pyc
File size: 1.89 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit

a

XC?h	@sddZdS)c
cs|}dVd}||}|D]\}}}|dkr>dVn*|dkrNdVn|dr\q$nd|V|d	d
}|d|}dd
|D}	d|ddd|	D}||}
|
D]}d|dVqq$d}||}|D]\}}}d|VqdVdS)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"
        Zsqlite_sequencezDELETE FROM "sqlite_sequence";Zsqlite_stat1zANALYZE "sqlite_master";Zsqlite_z{0};"""zPRAGMA table_info("{0}")cSsg|]}t|dqS))str).0Z
table_infor1/opt/alt/python39/lib64/python3.9/sqlite3/dump.py
<listcomp>3z_iterdump.<locals>.<listcomp>z2SELECT 'INSERT INTO "{0}" VALUES({1})' FROM "{0}";,css |]}d|ddVqdS)z'||quote("{0}")||'rrN)formatreplace)rcolrrr	<genexpr>6r	z_iterdump.<locals>.<genexpr>z
        SELECT "name", "type", "sql"
        FROM "sqlite_master"
            WHERE "sql" NOT NULL AND
            "type" IN ('index', 'trigger', 'view')
        zCOMMIT;N)ZcursorZexecuteZfetchall
startswithrrjoin)
Z
connectionZcuqZ
schema_resZ
table_nametypeZsqlZtable_name_identresZcolumn_namesZ	query_resrownamerrr	_iterdump
s6	

	

rN)rrrrr<module>
r