mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-16 21:57:22 -04:00
8dad0f93e8
(cherry picked from commit ff230f1862892eb2b479ed85e6858a82159b435f)
18 lines
272 B
Python
18 lines
272 B
Python
"""
|
|
An example of a dictionary-of-dictionaries structure mapped using
|
|
an adjacency list model.
|
|
|
|
E.g.::
|
|
|
|
node = TreeNode('rootnode')
|
|
node.append('node1')
|
|
node.append('node3')
|
|
session.add(node)
|
|
session.commit()
|
|
|
|
dump_tree(node)
|
|
|
|
.. autosource::
|
|
|
|
"""
|