sqlacodegen1 [Fast API] 기존 Oracle DB 정보 연동 ORM model 클래스 작성 Fast API 에서 CRUD 작업을 하기 위해서는 1. DB connection 정보 (database.py) 2. DB의 실제 테이블 정보를 담고 있는 model 클래스 (models.py) 3. api에서 입력과 출력 형태를 정의하는 schema 클래스 (schemas.py) 4. 실제 CRUD 작업이 이루어지는 메소드가 구현되어야 한다. (crud.py) 참고: https://fastapi.tiangolo.com/ko/tutorial/sql-databases/ SQL (Relational) Databases - FastAPI SQL (Relational) Databases Warning The current page still doesn't have a translation for this lan.. 2022. 12. 30. 이전 1 다음