태그: join

knex join

knex join?knex에서 join을 사용하면 foreign key로 연결된 테이블을 연결 할 수 있습니다. knex join query 작성 방법위 sql table을 보면 chat_room을 사이로 user와 city의 table이 연결되어 있습니다. city.id는 chat_room.city_id와 연결되어있고 user.id는 chat_room.c