mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-12 11:49:59 -04:00
40f8aadd58
- added READMEs to all examples in each __init__.py and added to sphinx documentation - added versioning example - removed vertical/vertical.py, the dictlikes are more straightforward
17 lines
256 B
Python
17 lines
256 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)
|
|
|
|
"""
|
|
|