From 8fee8e963de1fe050c79419dc2b176e8135ca448 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 1 Mar 2008 16:23:49 +0000 Subject: [PATCH] add note about global metadata removed [ticket:983] --- doc/build/content/intro.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/build/content/intro.txt b/doc/build/content/intro.txt index d9882270b2..d6ded5bdf8 100644 --- a/doc/build/content/intro.txt +++ b/doc/build/content/intro.txt @@ -118,6 +118,10 @@ The `BoundMetaData` name is removed. Now, you just use `MetaData`. Additionall Additionally, `DynamicMetaData` is now known as `ThreadLocalMetaData`. +### "Magic" Global MetaData removed {@name=global} + +There was an old way to specify `Table` objects using an implicit, global `MetaData` object. To do this you'd omit the second positional argument, and specify `Table('tablename', Column(...))`. This no longer exists in 0.4 and the second `MetaData` positional argument is required, i.e. `Table('tablename', meta, Column(...))`. + ### Some existing select() methods become generative {@name=generative} The methods `correlate()`, `order_by()`, and `group_by()` on the `select()` construct now return a **new** select object, and do not change the original one. Additionally, the generative methods `where()`, `column()`, `distinct()`, and several others have been added: -- 2.47.3