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