I am trying to build an ORM mapped SQLite database. The conception of the DB seems to work as intended but I can\'t seem to be able to query it properly for more complex cas