+
    i  c                   s     R  t R tRR/R ltR# )c                 D    R P                  V P                  RR4      4      # )z"{0}"Z"z""formatZreplace)name   &%/usr/lib64/python3.14/sqlite3/dump.py_quote_namer   
   s    >>$,,sD122    c                 r    )z'{0}'Z'z''r   )Zvaluer   r   _quote_valuer      s    >>%--T233r   filterNc             #  s0  "   RpV P                  4       pRVn        VP                  R4      P                  4       pV'       d   Rx  Rx  V'       d   RpV.pMRp. pRV R	2pVP                  Wv4      p. p	VP                  4        EF  w  rpV
R
8X  dR   VP                  R4      pR.p	T	VP                  4        U
Uu. uF  w  rR\	        V
4       RV R2NK  	  upp
,          p	K_  V
R8X  d   Rx  MxV
P                  R4      '       d   K  VP                  R4      '       d6   V'       g   RpRx  RP                  \	        V
4      \	        V4      4      x  MRP                  V4      x  \        V
4      pVP                  RV R24      pVP                  4        Uu. uF  p\        V^,          4      NK  	  ppRP                  VRP                  R V 4       4      4      pVP                  V4      pV F  pRP                  V^ ,          4      x  K  	  EK  	  RV R2pVP                  Wv4      pVP                  4        F  w  prRP                  V4      x  K  	  V'       d   Rx  V	 F  pRP                  V4      x  K  	  Rx  R# u upp
i u upi 5i) 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().
FNzPRAGMA foreign_key_checkzPRAGMA foreign_keys=OFF;zBEGIN TRANSACTION;zAND "name" LIKE ?Z z
        SELECT "name", "type", "sql"
        FROM "sqlite_master"
            WHERE "sql" NOT NULL AND
            "type" == 'table'
            z%
            ORDER BY "name"
        sqlite_sequencez SELECT * FROM "sqlite_sequence";zDELETE FROM "sqlite_sequence"z%INSERT INTO "sqlite_sequence" VALUES(Z,Z)Zsqlite_stat1zANALYZE "sqlite_master";Zsqlite_zCREATE VIRTUAL TABLETzPRAGMA writable_schema=ON;zXINSERT INTO sqlite_master(type,name,tbl_name,rootpage,sql)VALUES('table',{0},{0},0,{1});z{0};zPRAGMA table_info(z0SELECT 'INSERT INTO {0} VALUES('{1}')' FROM {0};z','c              3   sV   "   T F  pR P                  \        V4      4      x  K!  	  R# 5i)z||quote({0})||N)r   r   )Z.0Zcols   & r   Z	<genexpr>Z_iterdump.<locals>.<genexpr>U   s'      EQc ''C(899\s   ')z
        SELECT "name", "type", "sql"
        FROM "sqlite_master"
            WHERE "sql" NOT NULL AND
            "type" IN ('index', 'trigger', 'view')
            z	
        zPRAGMA writable_schema=OFF;zCOMMIT;)
ZcursorZrow_factoryZexecuteZfetchallr   Z
startswithr   r   ZstrZjoin)Z
connectionr	   Zwriteable_schemaZcuZ
violationsZfilter_name_clauseZparamsZqZ
schema_resr
   Z
table_nameZtypeZsqlZrowsZ	seq_valueZtable_name_identZresZ
table_infoZcolumn_namesZ	query_resZrowr   s   &$                    r   	_iterdumpr      s     				BBN67@@BJ()
0
    !		A A&JO!+!4!4!6
#**::@AD>?O-1]]_ -<)J 8Z8P7QQRS\R]]^_-<  O >),-""9--^^233##' 233396":."3'4 --$% 'z2jj-.>-?qAB=@\\^L^zJqM*^L>EEJJ EQ 
 JJqM	C--A'( I "7P
    !		A A&J%..0dmmC ! 1 +, mmC !  o 0 Ms?   AJA)J<J
.JJ!J)A2JJ6B.J%1J)r   r   r   ) r   r   <module>r      s   34_D _r   