diff options
Diffstat (limited to 'examples/beaker_caching/relation_caching.py')
| -rw-r--r-- | examples/beaker_caching/relation_caching.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/beaker_caching/relation_caching.py b/examples/beaker_caching/relation_caching.py index 2aeb87bc0..f5f0fad69 100644 --- a/examples/beaker_caching/relation_caching.py +++ b/examples/beaker_caching/relation_caching.py @@ -1,4 +1,4 @@ -"""relation_caching.py +"""relationship_caching.py Load a set of Person and Address objects, specifying that related PostalCode, City, Country objects should be pulled from long @@ -15,7 +15,7 @@ for p in Session.query(Person).options(eagerload(Person.addresses), cache_addres print p.format_full() -print "\n\nIf this was the first run of relation_caching.py, SQL was likely emitted to "\ +print "\n\nIf this was the first run of relationship_caching.py, SQL was likely emitted to "\ "load postal codes, cities, countries.\n"\ "If run a second time, only a single SQL statement will run - all "\ "related data is pulled from cache.\n"\ |
