Active Record 패턴 vs Data Mapper 패턴
Active Record 패턴 In TypeORM you can use both the Active Record and the Data Mapper patterns. Using the Active Record approach, you define all your query methods inside the model itself, and you save, remove, and load objects using model methods. 즉, Model.find({}), Model.remove(), Model.save() 꼴로 사용할 수 있는 거죠. Active record 패턴에 대한 일반적 정의는 위키피디아를 참고합시다. All active-record entities must extend the Ba..