일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- Snort Rule
- MySQL
- 라우팅프로토콜
- 코딩테스트
- database
- Routing
- snort
- coding test
- Linux
- OSI7계층
- 라우팅
- docker
- TDD
- 컨테이너
- Python
- 도커
- 트레바리
- Container
- Router
- Cosmos
- 데이터베이스
- programmers
- 스노트
- 코딩 테스트
- 라우터
- 프로그래머스
- 스노트 룰
- osi7layer
- 리눅스
- db
Archives
- Today
- Total
목록n+1 (1)
Simple is IT, 누구나 보고 누구나 깨닫는 IT
N+1 (w/GraphQL)
N+1 Settings TypeDefs const typeDefs = `#graphql type User { id: Int!, name: String!, } type Post { id: Int!, boardId: Int!, user: User!, } type Board { id: Int!, posts: [Post], } type Query { board(id: Int!): Board } `; Resolvers const resolvers = { Query: { board: (_, { id }) => Board.findOne({ where: id }), }, Board: { posts: board => Post.findAll({ where: { boardId: board.id }}), }, Post: { ..
Simple is IT/Programming
2023. 12. 8. 10:32