/
pycon-2010-advanced-sql-alchemy.json
31 lines (31 loc) · 2.43 KB
/
pycon-2010-advanced-sql-alchemy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"alias": "video/246/pycon-2010-advanced-sql-alchemy",
"category": "PyCon US 2010",
"copyright_text": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0",
"description": "Advanced SQLAlchemy\n\nPresented by Michael Bayer\n\nSQLAlchemy is the premier SQL toolkit for Python. SQLAlchemy exposes the\nfull power of SQL while remaining easy to use for the basics, and is\nflexible enough to work with existing database schemas as well as fresh\ndesigns. SQLAlchemy is used in production by leading Python web\nframeworks Pylons and TurboGears as well as many other web and non-web\ndevelopers.\n\nThis tutorial discusses current data mapping techniques, advanced Query\ntechniques, Session/transaction usage, and maximizing schema usage with\nSQLAlchemy's event model.\n\nIntended Audience\n\nPython experience: intermediate. You should already have some hands-on\nexperience with Python and be comfortable reading modern Python code.\n\nSQL experience: intermediate. We will use subselects and outer joins as\npart of the SQL layer.\n\nORM experience: prior experience with SQLAlchemy is recommended.\n\nClass Outline\n\nDeclarative Mapping\n\n- Initial configuration\n- Basic mapping\n- Building a many-to-many relation\n- Using late-evaluated configuration arguments\n\nAdvanced queries\n\n- Selecting objects, selecting columns\n- Thinking generatively\n- Joining like a Pro\n- Power Eager Loading\n- Selecting from Anything\n\nSession Techniques\n\n- Transaction lifecycle\n- Scoping objects in and out of caches using merge()\n\nInheritance Mapping\n\n- Single Table Inheritance\n- Joined Table Inheritance\n- High Level/Low Level Joined Queries\n\nExtending SQL\n\n- Creating new SQL constructs\n- Creating new DDL constructs\n\nExtending the ORM\n\n- Using SessionExtension to populate denormalized views\n- Subclassing Query to Suit Your Needs\n\n",
"duration": null,
"id": 246,
"language": "eng",
"quality_notes": "",
"recorded": "2010-02-19",
"slug": "pycon-2010-advanced-sql-alchemy",
"speakers": [
"Michael Bayer"
],
"summary": "",
"tags": [
"advanced",
"pycon",
"pycon2010",
"sqlalchemy",
"tutorial"
],
"thumbnail_url": "https://archive.org/services/img/pyvideo_246___pycon-2010-advanced-sql-alchemy",
"title": "PyCon 2010:Advanced SQL Alchemy",
"videos": [
{
"type": "archive.org",
"url": "https://archive.org/details/pyvideo_246___pycon-2010-advanced-sql-alchemy"
}
]
}