Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Python
- condensed
- 알림바
- 안드로이드
- crashlytics
- db
- auto_increment 값
- 볼륨조절앱
- 디자인패턴
- Query
- 볼륨조절어플
- Android
- last_insert_id
- 메터리얼
- Auto_increment
- MySQL
- id 얻기
- 머터리얼
- 안드로이드 스튜디오
- android studio
- insertion
- 데이터베이스
- 역슬레시
- 파이썬
- escape_string
- insert_id
- soundcontroller
- mysql_insert_id
- 안드로이드앱
- mariaDB
Archives
- Today
- Total
목록Node.js (1)
장삼의 착한코딩
[Node.js] express에서 mysql date type 바꾸기
Express를 Mysql과 연동을 한 후 date type의 변수를 받을 때, 위와 같이 date type을 보여주게 된다. 하지만 yyyy:mm:dd type으로 보여주고 싶으면mysql.createPool에 dateStrings를 'date'로 설정해주면 된다. 1234var pool = mysql.createPool({ ... dateStrings: 'date'});cs 위와 같이 설정해주면아래와 같이 출력을 할 수 있다.
Node.js
2016. 5. 20. 02:48