Relationships and JoinsRelationships and JoinsIn this document we’ll cover how Peewee handles relationships between models. Model definitionsPerforming simple joinsJoining multiple tablesSelecting from multiple sourcesSubqueriesMultiple foreign-keys to the same ModelJoining on arbitrary fieldsSelf-joinsImplementing Many to ManyAvoiding the N+1 problem