summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-12-15 07:43:42 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-12-15 07:43:42 +0000
commitf5b5696afddacdd7c5a5ede716e7241e5fa5c97e (patch)
treee8e659b1b238f29f3c0e6616f75c0d7ba27a5536 /doc
parent422558bc5d58557a758b56f4d592d08dd6f86309 (diff)
downloadsqlalchemy-f5b5696afddacdd7c5a5ede716e7241e5fa5c97e.tar.gz
fixed the raise for mysql to re-raise the errorrel_0_3_3
Diffstat (limited to 'doc')
-rw-r--r--doc/build/content/adv_datamapping.txt2
-rw-r--r--doc/build/genhtml.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/doc/build/content/adv_datamapping.txt b/doc/build/content/adv_datamapping.txt
index 50e8980d5..79f8158a2 100644
--- a/doc/build/content/adv_datamapping.txt
+++ b/doc/build/content/adv_datamapping.txt
@@ -253,8 +253,6 @@ Deferred columns can be placed into groups so that they load together:
#### Working with Large Collections
-(requires some bugfixes released as of version 0.3.3)
-
SQLAlchemy relations are generally simplistic; the lazy loader loads in the full list of child objects when accessed, and the eager load builds a query that loads the full list of child objects. Additionally, when you are deleting a parent object, SQLAlchemy insures that it has loaded the full list of child objects so that it can mark them as deleted as well (or to update their parent foreign key to NULL). It does not issue an en-masse "delete from table where parent_id=?" type of statement in such a scenario. This is because the child objects themselves may also have further dependencies, and additionally may also exist in the current session in which case SA needs to know their identity so that their state can be properly updated.
So there are several techniques that can be used individually or combined together to address these issues, in the context of a large collection where you normally would not want to load the full list of relationships:
diff --git a/doc/build/genhtml.py b/doc/build/genhtml.py
index 858d100df..f30a7997d 100644
--- a/doc/build/genhtml.py
+++ b/doc/build/genhtml.py
@@ -24,7 +24,7 @@ files = [
]
title='SQLAlchemy 0.3 Documentation'
-version = '0.3.2'
+version = '0.3.3'
root = toc.TOCElement('', 'root', '', version=version, doctitle=title)