MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / materialized_paths.py

File materialized_paths.py

examples/materialized_paths/materialized_paths.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Illustrates the "materialized paths" pattern.
2
3Materialized paths is a way to represent a tree structure in SQL with fast
4descendant and ancestor queries at the expense of moving nodes (which require

Callers

nothing calls this directly

Calls 12

declarative_baseFunction · 0.90
create_engineFunction · 0.90
SessionClass · 0.90
create_allMethod · 0.80
move_toMethod · 0.80
drop_allMethod · 0.80
NodeClass · 0.70
add_allMethod · 0.45
flushMethod · 0.45
getMethod · 0.45
queryMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected