Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
1 | · | 1 | ·3f67245a2ffb1f76d0a6e36142d10a7b·3720016·doc·optional·python-sqlalchemy-doc_1.4.50+ds1-1_all.deb |
2 | ·5644a5f4007e027d67a7e9c2152c87e8·70312·debug·optional·python3-sqlalchemy-ext-dbgsym_1.4.50+ds1-1_amd64.deb | 2 | ·5644a5f4007e027d67a7e9c2152c87e8·70312·debug·optional·python3-sqlalchemy-ext-dbgsym_1.4.50+ds1-1_amd64.deb |
3 | ·43fb1fe4a0a459ee6c85e9a9d5ed8dcc·20916·python·optional·python3-sqlalchemy-ext_1.4.50+ds1-1_amd64.deb | 3 | ·43fb1fe4a0a459ee6c85e9a9d5ed8dcc·20916·python·optional·python3-sqlalchemy-ext_1.4.50+ds1-1_amd64.deb |
4 | ·7b9b7746123a45060be2c12bd6e80ed4·1009400·python·optional·python3-sqlalchemy_1.4.50+ds1-1_all.deb | 4 | ·7b9b7746123a45060be2c12bd6e80ed4·1009400·python·optional·python3-sqlalchemy_1.4.50+ds1-1_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-01-05·13:47:47.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-01-05·13:47:47.000000·debian-binary |
2 | -rw-r--r--···0········0········0····1337 | 2 | -rw-r--r--···0········0········0····13376·2024-01-05·13:47:47.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··3706 | 3 | -rw-r--r--···0········0········0··3706448·2024-01-05·13:47:47.000000·data.tar.xz |
Offset 9028, 22 lines modified | Offset 9028, 15 lines modified | ||
9028 | <div·class="admonition·seealso"> | 9028 | <div·class="admonition·seealso"> |
9029 | <p·class="admonition-title">See·also</p> | 9029 | <p·class="admonition-title">See·also</p> |
9030 | <p><a·class="reference·internal"·href="migration_14.html#change-4710-core"><span·class="std·std-ref">RowProxy·is·no·longer·a·“proxy”;·is·now·called·Row·and·behaves·like·an·enhanced·named·tuple</span></a></p> | 9030 | <p><a·class="reference·internal"·href="migration_14.html#change-4710-core"><span·class="std·std-ref">RowProxy·is·no·longer·a·“proxy”;·is·now·called·Row·and·behaves·like·an·enhanced·named·tuple</span></a></p> |
9031 | </div> | 9031 | </div> |
9032 | <p>References:·<a·class="reference·external"·href="https://www.sqlalchemy.org/trac/ticket/4710">#4710</a></p> | 9032 | <p>References:·<a·class="reference·external"·href="https://www.sqlalchemy.org/trac/ticket/4710">#4710</a></p> |
9033 | </p> | 9033 | </p> |
9034 | </li> | 9034 | </li> |
9035 | <li><p·class="caption"·id="change-1.4.0b1-54"><span·class="target"·id="change-6bc91a2bef8d8afd244e6dbd38439c4d"><strong>[engine]·[performance]</strong>·<a·class="changelog-reference·headerlink·reference·internal"·href="#change-6bc91a2bef8d8afd244e6dbd38439c4d">¶</a></span><p>The·pool·“pre-ping”·feature·has·been·refined·to·not·invoke·for·a·DBAPI | ||
9036 | connection·that·was·just·opened·in·the·same·checkout·operation.··pre·ping | ||
9037 | only·applies·to·a·DBAPI·connection·that’s·been·checked·into·the·pool | ||
9038 | and·is·being·checked·out·again.</p> | ||
9039 | <p>References:·<a·class="reference·external"·href="https://www.sqlalchemy.org/trac/ticket/4524">#4524</a></p> | ||
9040 | </p> | ||
9041 | </li> | ||
9042 | <li><p·class="caption"·id="change-1.4.0b1-5 | 9035 | <li><p·class="caption"·id="change-1.4.0b1-54"><span·class="target"·id="change-d3650b27f4c852ac687ea55326051ed0"><strong>[engine]·[change]·[performance]·[py3k]</strong>·<a·class="changelog-reference·headerlink·reference·internal"·href="#change-d3650b27f4c852ac687ea55326051ed0">¶</a></span><p>Disabled·the·“unicode·returns”·check·that·runs·on·dialect·startup·when |
9043 | running·under·Python·3,·which·for·many·years·has·occurred·in·order·to·test | 9036 | running·under·Python·3,·which·for·many·years·has·occurred·in·order·to·test |
9044 | the·current·DBAPI’s·behavior·for·whether·or·not·it·returns·Python·Unicode | 9037 | the·current·DBAPI’s·behavior·for·whether·or·not·it·returns·Python·Unicode |
9045 | or·Py2K·strings·for·the·VARCHAR·and·NVARCHAR·datatypes.··The·check·still | 9038 | or·Py2K·strings·for·the·VARCHAR·and·NVARCHAR·datatypes.··The·check·still |
9046 | occurs·by·default·under·Python·2,·however·the·mechanism·to·test·the | 9039 | occurs·by·default·under·Python·2,·however·the·mechanism·to·test·the |
9047 | behavior·will·be·removed·in·SQLAlchemy·2.0·when·Python·2·support·is·also | 9040 | behavior·will·be·removed·in·SQLAlchemy·2.0·when·Python·2·support·is·also |
9048 | removed.</p> | 9041 | removed.</p> |
9049 | <p>This·logic·was·very·effective·when·it·was·needed,·however·now·that·Python·3 | 9042 | <p>This·logic·was·very·effective·when·it·was·needed,·however·now·that·Python·3 |
Offset 6223, 21 lines modified | Offset 6223, 15 lines modified | ||
6223 | returned·by·the·ResultProxy·is·now·the·_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8R_\x8o_\x8w·subclass,·which·maintains | 6223 | returned·by·the·ResultProxy·is·now·the·_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8R_\x8o_\x8w·subclass,·which·maintains |
6224 | mapping/tuple·hybrid·behavior,·however·the·base·_\x8R_\x8o_\x8w·class·now·behaves·more | 6224 | mapping/tuple·hybrid·behavior,·however·the·base·_\x8R_\x8o_\x8w·class·now·behaves·more |
6225 | fully·like·a·named·tuple. | 6225 | fully·like·a·named·tuple. |
6226 | See·also | 6226 | See·also |
6227 | _\x8R_\x8o_\x8w_\x8P_\x8r_\x8o_\x8x_\x8y_\x8·_\x8i_\x8s_\x8·_\x8n_\x8o_\x8·_\x8l_\x8o_\x8n_\x8g_\x8e_\x8r_\x8·_\x8a_\x8·_\x8“_\x8p_\x8r_\x8o_\x8x_\x8y_\x8”_\x8;_\x8·_\x8i_\x8s_\x8·_\x8n_\x8o_\x8w_\x8·_\x8c_\x8a_\x8l_\x8l_\x8e_\x8d_\x8·_\x8R_\x8o_\x8w_\x8·_\x8a_\x8n_\x8d_\x8·_\x8b_\x8e_\x8h_\x8a_\x8v_\x8e_\x8s_\x8·_\x8l_\x8i_\x8k_\x8e_\x8·_\x8a_\x8n_\x8·_\x8e_\x8n_\x8h_\x8a_\x8n_\x8c_\x8e_\x8d | 6227 | _\x8R_\x8o_\x8w_\x8P_\x8r_\x8o_\x8x_\x8y_\x8·_\x8i_\x8s_\x8·_\x8n_\x8o_\x8·_\x8l_\x8o_\x8n_\x8g_\x8e_\x8r_\x8·_\x8a_\x8·_\x8“_\x8p_\x8r_\x8o_\x8x_\x8y_\x8”_\x8;_\x8·_\x8i_\x8s_\x8·_\x8n_\x8o_\x8w_\x8·_\x8c_\x8a_\x8l_\x8l_\x8e_\x8d_\x8·_\x8R_\x8o_\x8w_\x8·_\x8a_\x8n_\x8d_\x8·_\x8b_\x8e_\x8h_\x8a_\x8v_\x8e_\x8s_\x8·_\x8l_\x8i_\x8k_\x8e_\x8·_\x8a_\x8n_\x8·_\x8e_\x8n_\x8h_\x8a_\x8n_\x8c_\x8e_\x8d |
6228 | _\x8n_\x8a_\x8m_\x8e_\x8d_\x8·_\x8t_\x8u_\x8p_\x8l_\x8e | 6228 | _\x8n_\x8a_\x8m_\x8e_\x8d_\x8·_\x8t_\x8u_\x8p_\x8l_\x8e |
6229 | References:·_\x8#_\x84_\x87_\x81_\x80 | 6229 | References:·_\x8#_\x84_\x87_\x81_\x80 |
6230 | [\x8[e\x8en\x8ng\x8gi\x8in\x8ne\x8e]\x8]·[\x8[p\x8pe\x8er\x8rf\x8fo\x8or\x8rm\x8ma\x8an\x8nc\x8ce\x8e]\x8]·_\x8¶ | ||
6231 | The·pool·“pre-ping”·feature·has·been·refined·to·not·invoke·for·a·DBAPI | ||
6232 | connection·that·was·just·opened·in·the·same·checkout·operation.·pre·ping·only | ||
6233 | applies·to·a·DBAPI·connection·that’s·been·checked·into·the·pool·and·is·being | ||
6234 | checked·out·again. | ||
6235 | References:·_\x8#_\x84_\x85_\x82_\x84 | ||
6236 | [\x8[e\x8en\x8ng\x8gi\x8in\x8ne\x8e]\x8]·[\x8[ | 6230 | [\x8[e\x8en\x8ng\x8gi\x8in\x8ne\x8e]\x8]·[\x8[c.ch.ha.an.ng.ge.e].]·[.[p.pe.er.rf.fo.or.rm.ma.an.nc.ce\x8e]\x8]·[\x8[p\x8py\x8y3\x83k\x8k]\x8]·_\x8¶ |
6237 | Disabled·the·“unicode·returns”·check·that·runs·on·dialect·startup·when·running | 6231 | Disabled·the·“unicode·returns”·check·that·runs·on·dialect·startup·when·running |
6238 | under·Python·3,·which·for·many·years·has·occurred·in·order·to·test·the·current | 6232 | under·Python·3,·which·for·many·years·has·occurred·in·order·to·test·the·current |
6239 | DBAPI’s·behavior·for·whether·or·not·it·returns·Python·Unicode·or·Py2K·strings | 6233 | DBAPI’s·behavior·for·whether·or·not·it·returns·Python·Unicode·or·Py2K·strings |
6240 | for·the·VARCHAR·and·NVARCHAR·datatypes.·The·check·still·occurs·by·default·under | 6234 | for·the·VARCHAR·and·NVARCHAR·datatypes.·The·check·still·occurs·by·default·under |
6241 | Python·2,·however·the·mechanism·to·test·the·behavior·will·be·removed·in | 6235 | Python·2,·however·the·mechanism·to·test·the·behavior·will·be·removed·in |
6242 | SQLAlchemy·2.0·when·Python·2·support·is·also·removed. | 6236 | SQLAlchemy·2.0·when·Python·2·support·is·also·removed. |
6243 | This·logic·was·very·effective·when·it·was·needed,·however·now·that·Python·3·is | 6237 | This·logic·was·very·effective·when·it·was·needed,·however·now·that·Python·3·is |
Offset 308, 46 lines modified | Offset 308, 46 lines modified | ||
308 | </section> | 308 | </section> |
309 | <section·id="module-examples.association"> | 309 | <section·id="module-examples.association"> |
310 | <span·id="associations"></span><span·id="examples-associations"></span><h3>Associations<a·class="headerlink"·href="#module-examples.association"·title="Link·to·this·heading">¶</a></h3> | 310 | <span·id="associations"></span><span·id="examples-associations"></span><h3>Associations<a·class="headerlink"·href="#module-examples.association"·title="Link·to·this·heading">¶</a></h3> |
311 | <p>Examples·illustrating·the·usage·of·the·“association·object”·pattern, | 311 | <p>Examples·illustrating·the·usage·of·the·“association·object”·pattern, |
312 | where·an·intermediary·class·mediates·the·relationship·between·two | 312 | where·an·intermediary·class·mediates·the·relationship·between·two |
313 | classes·that·are·associated·in·a·many-to-many·pattern.</p> | 313 | classes·that·are·associated·in·a·many-to-many·pattern.</p> |
314 | <p>Listing·of·files:<ul·class="simple"> | 314 | <p>Listing·of·files:<ul·class="simple"> |
315 | <li><p><p><a·class="reference·external"·href="../_modules/examples/association/basic_association.html">basic_association.py</a>·-·Illustrate·a·many-to-many·relationship·between·an | ||
316 | “Order”·and·a·collection·of·“Item”·objects,·associating·a·purchase·price | ||
317 | with·each·via·an·association·object·called·“OrderItem”</p> | ||
318 | </p></li> | ||
319 | <li><p><p><a·class="reference·external"·href="../_modules/examples/association/dict_of_sets_with_default.html">dict_of_sets_with_default.py</a>·-·An·advanced·association·proxy·example·which | 315 | <li><p><p><a·class="reference·external"·href="../_modules/examples/association/dict_of_sets_with_default.html">dict_of_sets_with_default.py</a>·-·An·advanced·association·proxy·example·which |
320 | illustrates·nesting·of·association·proxies·to·produce·multi-level·Python | 316 | illustrates·nesting·of·association·proxies·to·produce·multi-level·Python |
321 | collections,·in·this·case·a·dictionary·with·string·keys·and·sets·of·integers | 317 | collections,·in·this·case·a·dictionary·with·string·keys·and·sets·of·integers |
322 | as·values,·which·conceal·the·underlying·mapped·classes.</p> | 318 | as·values,·which·conceal·the·underlying·mapped·classes.</p> |
323 | </p></li> | 319 | </p></li> |
324 | <li><p><p><a·class="reference·external"·href="../_modules/examples/association/proxied_association.html">proxied_association.py</a>·-·Same·example·as·basic_association,·adding·in | 320 | <li><p><p><a·class="reference·external"·href="../_modules/examples/association/proxied_association.html">proxied_association.py</a>·-·Same·example·as·basic_association,·adding·in |
325 | usage·of·<a·class="reference·internal"·href="extensions/associationproxy.html#module-sqlalchemy.ext.associationproxy"·title="sqlalchemy.ext.associationproxy"><code·class="xref·py·py-mod·docutils·literal·notranslate"><span·class="pre">sqlalchemy.ext.associationproxy</span></code></a>·to·make·explicit·references | 321 | usage·of·<a·class="reference·internal"·href="extensions/associationproxy.html#module-sqlalchemy.ext.associationproxy"·title="sqlalchemy.ext.associationproxy"><code·class="xref·py·py-mod·docutils·literal·notranslate"><span·class="pre">sqlalchemy.ext.associationproxy</span></code></a>·to·make·explicit·references |
326 | to·<code·class="docutils·literal·notranslate"><span·class="pre">OrderItem</span></code>·optional.</p> | 322 | to·<code·class="docutils·literal·notranslate"><span·class="pre">OrderItem</span></code>·optional.</p> |
327 | </p></li> | 323 | </p></li> |
324 | <li><p><p><a·class="reference·external"·href="../_modules/examples/association/basic_association.html">basic_association.py</a>·-·Illustrate·a·many-to-many·relationship·between·an | ||
325 | “Order”·and·a·collection·of·“Item”·objects,·associating·a·purchase·price | ||
326 | with·each·via·an·association·object·called·“OrderItem”</p> | ||
327 | </p></li> | ||
328 | </ul> | 328 | </ul> |
329 | </p> | 329 | </p> |
330 | </section> | 330 | </section> |
331 | <section·id="module-examples.asyncio"> | 331 | <section·id="module-examples.asyncio"> |
332 | <span·id="asyncio-integration"></span><span·id="examples-asyncio"></span><h3>Asyncio·Integration<a·class="headerlink"·href="#module-examples.asyncio"·title="Link·to·this·heading">¶</a></h3> | 332 | <span·id="asyncio-integration"></span><span·id="examples-asyncio"></span><h3>Asyncio·Integration<a·class="headerlink"·href="#module-examples.asyncio"·title="Link·to·this·heading">¶</a></h3> |
333 | <p>Examples·illustrating·the·asyncio·engine·feature·of·SQLAlchemy.</p> | 333 | <p>Examples·illustrating·the·asyncio·engine·feature·of·SQLAlchemy.</p> |
334 | <p>Listing·of·files:<ul·class="simple"> | 334 | <p>Listing·of·files:<ul·class="simple"> |
335 | <li><p><p><a·class="reference·external"·href="../_modules/examples/asyncio/async_orm.html">async_orm.py</a>·-·Illustrates·use·of·the·sqlalchemy.ext.asyncio.AsyncSession·object | ||
336 | for·asynchronous·ORM·use.</p> | ||
337 | </p></li> | ||
338 | <li><p><p><a·class="reference·external"·href="../_modules/examples/asyncio/gather_orm_statements.html">gather_orm_statements.py</a>·-·Illustrates·how·to·run·many·statements·concurrently·using·<code·class="docutils·literal·notranslate"><span·class="pre">asyncio.gather()</span></code> | 335 | <li><p><p><a·class="reference·external"·href="../_modules/examples/asyncio/gather_orm_statements.html">gather_orm_statements.py</a>·-·Illustrates·how·to·run·many·statements·concurrently·using·<code·class="docutils·literal·notranslate"><span·class="pre">asyncio.gather()</span></code> |
339 | along·many·asyncio·database·connections,·merging·ORM·results·into·a·single | 336 | along·many·asyncio·database·connections,·merging·ORM·results·into·a·single |
340 | <code·class="docutils·literal·notranslate"><span·class="pre">AsyncSession</span></code>.</p> | 337 | <code·class="docutils·literal·notranslate"><span·class="pre">AsyncSession</span></code>.</p> |
341 | </p></li> | 338 | </p></li> |
342 | <li><p><p><a·class="reference·external"·href="../_modules/examples/asyncio/ | 339 | <li><p><p><a·class="reference·external"·href="../_modules/examples/asyncio/async_orm.html">async_orm.py</a>·-·Illustrates·use·of·the·sqlalchemy.ext.asyncio.AsyncSession·object |
343 | for·asynchronous·ORM·use | 340 | for·asynchronous·ORM·use.</p> |
344 | </p></li> | 341 | </p></li> |
345 | <li><p><p><a·class="reference·external"·href="../_modules/examples/asyncio/basic.html">basic.py</a>·-·Illustrates·the·asyncio·engine·/·connection·interface.</p> | 342 | <li><p><p><a·class="reference·external"·href="../_modules/examples/asyncio/basic.html">basic.py</a>·-·Illustrates·the·asyncio·engine·/·connection·interface.</p> |
346 | </p></li> | 343 | </p></li> |
344 | <li><p><p><a·class="reference·external"·href="../_modules/examples/asyncio/greenlet_orm.html">greenlet_orm.py</a>·-·Illustrates·use·of·the·sqlalchemy.ext.asyncio.AsyncSession·object | ||
345 | for·asynchronous·ORM·use,·including·the·optional·run_sync()·method.</p> | ||
346 | </p></li> | ||
347 | </ul> | 347 | </ul> |
348 | </p> | 348 | </p> |
349 | </section> | 349 | </section> |
350 | <section·id="module-examples.graphs"> | 350 | <section·id="module-examples.graphs"> |
351 | <span·id="directed-graphs"></span><h3>Directed·Graphs<a·class="headerlink"·href="#module-examples.graphs"·title="Link·to·this·heading">¶</a></h3> | 351 | <span·id="directed-graphs"></span><h3>Directed·Graphs<a·class="headerlink"·href="#module-examples.graphs"·title="Link·to·this·heading">¶</a></h3> |
352 | <p>An·example·of·persistence·for·a·directed·graph·structure.···The | 352 | <p>An·example·of·persistence·for·a·directed·graph·structure.···The |
353 | graph·is·stored·as·a·collection·of·edges,·each·referencing·both·a | 353 | graph·is·stored·as·a·collection·of·edges,·each·referencing·both·a |
Offset 105, 35 lines modified | Offset 105, 35 lines modified | ||
105 | Listing·of·files: | 105 | Listing·of·files: |
106 | ····*·_\x8a_\x8d_\x8j_\x8a_\x8c_\x8e_\x8n_\x8c_\x8y_\x8__\x8l_\x8i_\x8s_\x8t_\x8._\x8p_\x8y | 106 | ····*·_\x8a_\x8d_\x8j_\x8a_\x8c_\x8e_\x8n_\x8c_\x8y_\x8__\x8l_\x8i_\x8s_\x8t_\x8._\x8p_\x8y |
107 | *\x8**\x8**\x8**\x8*·A\x8As\x8ss\x8so\x8oc\x8ci\x8ia\x8at\x8ti\x8io\x8on\x8ns\x8s_\x8?\x8¶·*\x8**\x8**\x8**\x8* | 107 | *\x8**\x8**\x8**\x8*·A\x8As\x8ss\x8so\x8oc\x8ci\x8ia\x8at\x8ti\x8io\x8on\x8ns\x8s_\x8?\x8¶·*\x8**\x8**\x8**\x8* |
108 | Examples·illustrating·the·usage·of·the·“association·object”·pattern,·where·an | 108 | Examples·illustrating·the·usage·of·the·“association·object”·pattern,·where·an |
109 | intermediary·class·mediates·the·relationship·between·two·classes·that·are | 109 | intermediary·class·mediates·the·relationship·between·two·classes·that·are |
110 | associated·in·a·many-to-many·pattern. | 110 | associated·in·a·many-to-many·pattern. |
111 | Listing·of·files: | 111 | Listing·of·files: |
112 | ····*·_\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8a_\x8s_\x8s_\x8o_\x8c_\x8i_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y·-·Illustrate·a·many-to-many·relationship·between·an | ||
113 | ······“Order”·and·a·collection·of·“Item”·objects,·associating·a·purchase·price | ||
114 | ······with·each·via·an·association·object·called·“OrderItem” | ||
115 | _.d_.i_.c_.t_.__.o_.f_.__.s_.e_.t_.s_.__.w_.i_.t_.h_.__.d_.e_.f_.a_.u_.l_.t_.._.p_.y·-·An·advanced·association·proxy·example | 112 | ····*·_.d_.i_.c_.t_.__.o_.f_.__.s_.e_.t_.s_.__.w_.i_.t_.h_.__.d_.e_.f_.a_.u_.l_.t_.._.p_.y·-·An·advanced·association·proxy·example |
116 | illustrates·nesting·of·association·proxies·to·produce·multi-level | 113 | ······which·illustrates·nesting·of·association·proxies·to·produce·multi-level |
117 | collections,·in·this·case·a·dictionary·with·string·keys·and·se | 114 | ······Python·collections,·in·this·case·a·dictionary·with·string·keys·and·sets |
118 | values,·which·conceal·the·underlying·mapped·classes. | 115 | ······of·integers·as·values,·which·conceal·the·underlying·mapped·classes. |
119 | _\x8p_\x8r_\x8o_\x8x_\x8i_\x8e_\x8d_\x8__\x8a_\x8s_\x8s_\x8o_\x8c_\x8i_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y·-·Same·example·as·basic_association,·adding·in·usage·of | 116 | _\x8p_\x8r_\x8o_\x8x_\x8i_\x8e_\x8d_\x8__\x8a_\x8s_\x8s_\x8o_\x8c_\x8i_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y·-·Same·example·as·basic_association,·adding·in·usage·of |
120 | _\x8s_\x8q_\x8l_\x8a_\x8l_\x8c_\x8h_\x8e_\x8m_\x8y_\x8._\x8e_\x8x_\x8t_\x8._\x8a_\x8s_\x8s_\x8o_\x8c_\x8i_\x8a_\x8t_\x8i_\x8o_\x8n_\x8p_\x8r_\x8o_\x8x_\x8y·to·make·explicit·references·to·OrderItem | 117 | _\x8s_\x8q_\x8l_\x8a_\x8l_\x8c_\x8h_\x8e_\x8m_\x8y_\x8._\x8e_\x8x_\x8t_\x8._\x8a_\x8s_\x8s_\x8o_\x8c_\x8i_\x8a_\x8t_\x8i_\x8o_\x8n_\x8p_\x8r_\x8o_\x8x_\x8y·to·make·explicit·references·to·OrderItem |
121 | optional. | 118 | optional. |
119 | _\x8b_\x8a_\x8s_\x8i_\x8c_\x8__\x8a_\x8s_\x8s_\x8o_\x8c_\x8i_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y·-·Illustrate·a·many-to-many·relationship·between·an | ||
120 | “Order”·and·a·collection·of·“Item”·objects,·associating·a·purchase·price·with | ||
121 | each·via·an·association·object·called·“OrderItem” | ||
122 | *\x8**\x8**\x8**\x8*·A\x8As\x8sy\x8yn\x8nc\x8ci\x8io\x8o·I\x8In\x8nt\x8te\x8eg\x8gr\x8ra\x8at\x8ti\x8io\x8on\x8n_\x8?\x8¶·*\x8**\x8**\x8**\x8* | 122 | *\x8**\x8**\x8**\x8*·A\x8As\x8sy\x8yn\x8nc\x8ci\x8io\x8o·I\x8In\x8nt\x8te\x8eg\x8gr\x8ra\x8at\x8ti\x8io\x8on\x8n_\x8?\x8¶·*\x8**\x8**\x8**\x8* |
123 | Examples·illustrating·the·asyncio·engine·feature·of·SQLAlchemy. | 123 | Examples·illustrating·the·asyncio·engine·feature·of·SQLAlchemy. |
124 | Listing·of·files: | 124 | Listing·of·files: |
125 | ····*·_\x8g_\x8a_\x8t_\x8h_\x8e_\x8r_\x8__\x8o_\x8r_\x8m_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s_\x8._\x8p_\x8y·-·Illustrates·how·to·run·many·statements | ||
126 | ······concurrently·using·asyncio.gather()·along·many·asyncio·database | ||
127 | ······connections,·merging·ORM·results·into·a·single·AsyncSession. | ||
125 | 128 | _\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8o_\x8r_\x8m_\x8._\x8p_\x8y·-·Illustrates·use·of·the·sqlalchemy.ext.asyncio.AsyncSession | |
126 | 129 | object·for·asynchronous·ORM·use. | |
130 | _\x8b_\x8a_\x8s_\x8i_\x8c_\x8._\x8p_\x8y·-·Illustrates·the·asyncio·engine·/·connection·interface. | ||
127 | _\x8g_\x8a_\x8t_\x8h_\x8e_\x8r_\x8__\x8o_\x8r_\x8m_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s_\x8._\x8p_\x8y·-·Illustrates·how·to·run·many·statements·concurrently | ||
128 | using·asyncio.gather()·along·many·asyncio·database·connections,·merging·ORM | ||
129 | results·into·a·single·AsyncSession. | ||
130 | _\x8g_\x8r_\x8e_\x8e_\x8n_\x8l_\x8e_\x8t_\x8__\x8o_\x8r_\x8m_\x8._\x8p_\x8y·-·Illustrates·use·of·the·sqlalchemy.ext.asyncio.AsyncSession | 131 | _\x8g_\x8r_\x8e_\x8e_\x8n_\x8l_\x8e_\x8t_\x8__\x8o_\x8r_\x8m_\x8._\x8p_\x8y·-·Illustrates·use·of·the·sqlalchemy.ext.asyncio.AsyncSession |
131 | object·for·asynchronous·ORM·use,·including·the·optional·run_sync()·method. | 132 | object·for·asynchronous·ORM·use,·including·the·optional·run_sync()·method. |
132 | _\x8b_\x8a_\x8s_\x8i_\x8c_\x8._\x8p_\x8y·-·Illustrates·the·asyncio·engine·/·connection·interface. | ||
133 | *\x8**\x8**\x8**\x8*·D\x8Di\x8ir\x8re\x8ec\x8ct\x8te\x8ed\x8d·G\x8Gr\x8ra\x8ap\x8ph\x8hs\x8s_\x8?\x8¶·*\x8**\x8**\x8**\x8* | 133 | *\x8**\x8**\x8**\x8*·D\x8Di\x8ir\x8re\x8ec\x8ct\x8te\x8ed\x8d·G\x8Gr\x8ra\x8ap\x8ph\x8hs\x8s_\x8?\x8¶·*\x8**\x8**\x8**\x8* |
134 | An·example·of·persistence·for·a·directed·graph·structure.·The·graph·is·stored | 134 | An·example·of·persistence·for·a·directed·graph·structure.·The·graph·is·stored |
135 | as·a·collection·of·edges,·each·referencing·both·a·“lower”·and·an·“upper”·node | 135 | as·a·collection·of·edges,·each·referencing·both·a·“lower”·and·an·“upper”·node |
136 | in·a·table·of·nodes.·Basic·persistence·and·querying·for·lower-·and·upper- | 136 | in·a·table·of·nodes.·Basic·persistence·and·querying·for·lower-·and·upper- |
137 | neighbors·are·illustrated: | 137 | neighbors·are·illustrated: |
138 | n2·=·Node(2) | 138 | n2·=·Node(2) |
139 | n5·=·Node(5) | 139 | n5·=·Node(5) |
Offset 8521, 20 lines modified | Offset 8521, 20 lines modified | ||
8521 | ········"3414":·[13,·25], | 8521 | ········"3414":·[13,·25], |
8522 | ········"alchemy2":·13, | 8522 | ········"alchemy2":·13, |
8523 | ········"4644":·13, | 8523 | ········"4644":·13, |
8524 | ········"5649":·13, | 8524 | ········"5649":·13, |
8525 | ········"get_sequence_nam":·[13,·48,·52], | 8525 | ········"get_sequence_nam":·[13,·48,·52], |
8526 | ········"2056":·13, | 8526 | ········"2056":·13, |
8527 | ········"4755":·13, | 8527 | ········"4755":·13, |
8528 | ········"4524":·13, | ||
8529 | ········"upfront":·13, | 8528 | ········"upfront":·13, |
8530 | ········"returns_unicode_str":·[13,·48], | 8529 | ········"returns_unicode_str":·[13,·48], |
8531 | ········"returns_condit":·[13,·59], | 8530 | ········"returns_condit":·[13,·59], |
8532 | ········"returns_byt":·[13,·59], | 8531 | ········"returns_byt":·[13,·59], |
8533 | ········"5315":·13, | 8532 | ········"5315":·13, |
8533 | ········"4524":·13, | ||
8534 | ········"hundr":·[13,·21,·24,·25,·31,·76,·136,·137,·155], | 8534 | ········"hundr":·[13,·21,·24,·25,·31,·76,·136,·137,·155], |
8535 | ········"4645":·[13,·25], | 8535 | ········"4645":·[13,·25], |
8536 | ········"4808":·[13,·25], | 8536 | ········"4808":·[13,·25], |
8537 | ········"5004":·[13,·25], | 8537 | ········"5004":·[13,·25], |
8538 | ········"har":·[13,·25], | 8538 | ········"har":·[13,·25], |
8539 | ········"4712":·13, | 8539 | ········"4712":·13, |
8540 | ········"5526":·[13,·25], | 8540 | ········"5526":·[13,·25], |