summaryrefslogtreecommitdiff
path: root/examples/adjacencytree/tables.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2005-10-23 03:46:20 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2005-10-23 03:46:20 +0000
commit722f97a826944073089998c42c48371a2514b9d6 (patch)
tree186a0811e53cd10ec87cdb9bb2d0bf18b65f4509 /examples/adjacencytree/tables.py
parent23b0eef7a13bb5c4cc9f30ac6a32502146723c14 (diff)
downloadsqlalchemy-722f97a826944073089998c42c48371a2514b9d6.tar.gz
Diffstat (limited to 'examples/adjacencytree/tables.py')
-rw-r--r--examples/adjacencytree/tables.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/adjacencytree/tables.py b/examples/adjacencytree/tables.py
index 3c144afe6..e82c8ee59 100644
--- a/examples/adjacencytree/tables.py
+++ b/examples/adjacencytree/tables.py
@@ -4,6 +4,7 @@ import sqlalchemy.engine
#engine = sqlalchemy.engine.create_engine('sqlite', ':memory:', {}, echo = True)
engine = sqlalchemy.engine.create_engine('postgres', {'database':'test', 'host':'127.0.0.1', 'user':'scott', 'password':'tiger'}, echo=True)
+
"""create the treenodes table. This is ia basic adjacency list model table.
One additional column, "root_node_id", references a "root node" row and is used
in the 'byroot_tree' example."""