From: Mike Bayer Date: Fri, 4 Nov 2005 06:05:09 +0000 (+0000) Subject: (no commit message) X-Git-Tag: rel_0_1_0~385 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62edee168d339874c8327c9fb5b597c509e07a42;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git --- diff --git a/doc/build/content/metadata.myt b/doc/build/content/metadata.myt index ec2d63de36..32dd0d0c02 100644 --- a/doc/build/content/metadata.myt +++ b/doc/build/content/metadata.myt @@ -111,6 +111,7 @@ <&|doclib.myt:item, name="creating", description="Creating and Dropping Database Tables" &>

Creating and dropping is easy, just use the create() and drop() methods: <&|formatting.myt:code&> + <&formatting.myt:poplink&> employees = Table('employees', engine, Column('employee_id', Integer, primary_key=True), Column('employee_name', String(60), nullable=False, key='name'), @@ -125,6 +126,7 @@ CREATE TABLE employees( {} + <&formatting.myt:poplink&> employees.drop() <&|formatting.myt:codepopper, link="sql" &> DROP TABLE employees {}