[sqlalchemy] SQLAlchemy array aggregate of objects

2020-11-05 Thread Wojtek K
Hi All, I'm trying to find the solution but with no success I have 2 tables related through assoc table table a id |name| -|| 1|example | assoc id |a_id | b_id | -|-|--| 1|1|1 | 2|1|2 | table b id |name | -|-| 1

[sqlalchemy] SALAlchemy array aggregation of objects

2020-11-05 Thread Wojtek K
Hi All, I'm trying to find the solution but with no success I have 2 tables related table a id |name| -|| 1|example | assoc id |a_id | b_id | -|-|--| 1|1|1 | 2|1|2 | table b id |name | -|-| 1|example1 | 2

[sqlalchemy] SQLAlchemy object aggregation

2020-11-05 Thread Wojtek K
Hi All, I'm trying to find the solution but with no success I have 2 tables related table a id |name| -|| 1|example | assoc id |a_id | b_id | -|-|--| 1|1|1 | 2|1|2 | table b id |name | -|-| 1|example1 | 2