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

File versioned_rows.py

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

Source from the content-addressed store, hash-verified

1"""Illustrates a method to intercept changes on objects, turning
2an UPDATE statement on a single row into an INSERT statement, so that a new
3row is inserted with the new data, keeping the old row intact.
4

Callers

nothing calls this directly

Calls 13

declarative_baseFunction · 0.90
create_engineFunction · 0.90
sessionmakerClass · 0.90
SessionClass · 0.90
create_allMethod · 0.80
ExampleClass · 0.70
ParentClass · 0.70
ChildClass · 0.70
addMethod · 0.45
commitMethod · 0.45
allMethod · 0.45
order_byMethod · 0.45

Tested by

no test coverage detected