jw-python/tools/python/jwutils/db
Jan Lindemann b33d9af302 schema.Table: Add add_child_row_location() and friends
Add the following methods:

 add_child_row_location(self, parent_table: Union[Self, str], **kwargs) -> Optional[str]
 add_child_row_location_rules(self) -> Iterable[str]
 add_child_row_location_rule(self, child_table: Union[Self, str]) -> Optional[str]

These are meant to be called from different pieces of code:

 - add_child_row_location() is meant to be used where the parent is
   rendered, to display a link to adding another child

 - add_child_row_location_rules() and add_child_row_location_rule()
   are meant to be invoked where processing is going to be done, i.e.
   likely code rendering child row content

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-15 16:30:14 +01:00
..
query query.Queries: Add method keys() 2025-02-12 18:36:37 +01:00
schema schema.Table: Add add_child_row_location() and friends 2025-02-15 16:30:14 +01:00
DataBase.py db: Add DataBase.py 2025-02-02 15:58:52 +01:00
Makefile Add db.rows 2025-01-28 08:11:54 +01:00
rows.py Add db.rows 2025-01-28 08:11:54 +01:00
TableIoHandler.py db: Add TableIoHandler 2025-01-28 14:27:27 +01:00