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
- Query
- 안드로이드앱
- auto_increment 값
- 볼륨조절앱
- db
- last_insert_id
- 디자인패턴
- insert_id
- 파이썬
- 데이터베이스
- Python
- Auto_increment
- 안드로이드 스튜디오
- crashlytics
- 안드로이드
- id 얻기
- 머터리얼
- 알림바
- 볼륨조절어플
- 역슬레시
- condensed
- mariaDB
- MySQL
- 메터리얼
- escape_string
- soundcontroller
- Android
- insertion
- android studio
- mysql_insert_id
Archives
- Today
- Total
목록2016/05 (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