added some todo information to clarify insert_query_builder functionality

This commit is contained in:
sascha 2026-03-25 15:56:22 +01:00
parent 905ee019d7
commit ee8ce62687
1 changed files with 12 additions and 0 deletions

12
todo.md
View File

@ -17,6 +17,18 @@ Order of next steps:
4. Finish `insert_query_builder`
- collect all inserts for entities with relations
- tests
- cascade_type: `Insert`
- has_many <-> belongs_to: set root id into the join column of elements
- belongs_to <-> has_many: ?
- belongs_to <-> has_one: set root id into the foreign object
- has_one <-> belongs_to: set root id into the foreign object
- has_many_to_many: insert relation table entry
if generator type `manual` => extract pk before insert
=>
if generator type `sequence` or `table` => generate pk before insert
if generator type `identity` => extract pk after insert and before insert of relation objects
5. Finish `session::insert` method
- use `insert_query_builder`
- correct handling of pk generator