1. string to array const str = value.split(',') // 구분자 2. array to string const str = arr.join(",") 3. array to set const set = new Set(arr) 4. set to array const arr = Array.from(set) 5. array foreach const arr = v.split(','); const newArr = [] arr.forEach(element => { if(element) newArr.push(element.trim()) }); 6. 배열에 값 추가 // push 마지막에 추가 arr.push(item) // unshift 처음에 추가 arr.unshift("하나") 7. s..
중복 체크 등 함수 호출할 때 예시입니다.
로컬에서 잘 작동하던 것이 AWS Redis로 변경하고 아래와 같은 메시지가 발생하였습니다. Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: MOVED 13863 **.**.**.**:6379 지속적으로 발생하는 것이 아니고 정상이었다가 또 재기동하면 발생하고 다시 재기동하면 정상이고 그런 상태이었습니다. 기존 소스 @EnableRedisRepositories @Configuration @RequiredArgsConstructor public class RedisConfiguration { private final RedisProperties redisProperties; @Bean public ..
- Total
- Today
- Yesterday
- cache
- 엑셀
- 샘플
- sample
- restful서비스
- oracle
- RESTful
- 스프링
- UI
- spring
- AG-GRID
- 그리드
- 메시지
- Javascript
- REST
- lombok
- ag grid
- SHEETJS
- mapToList
- mybatis
- 예제
- java
- 설정
- example
- 스프링부트
- Spring Boot
- 타임리프
- springboot
- listToMap
- thymeleaf
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |