Closed AntonSangho closed 4 years ago
sql quary 문을 찍어봤을 때는 성별이 선택된것을 print문으로는 터미널창에서 확인이 되는데요
insert into users_detail(id,rfid,`name`, sex, year, phone, memo) value ('103','446106066715', '103','남성','','','')
/Users/anton/PycharmProjects/moya_attendance/venv/lib/python3.7/site-packages/pymysql/cursors.py:329: Warning: (1264, "Out of range value for column 'rfid' at row 1")
self._do_get_result()
/Users/anton/PycharmProjects/moya_attendance/venv/lib/python3.7/site-packages/pymysql/cursors.py:329: Warning: (1366, "Incorrect integer value: '남성' for column 'sex' at row 1")
self._do_get_result()
아마 위 warning때문이 아닐까요
table의 colum type을 text로 변경하니까 해결됬습니다. @happydeveloper
@happydeveloper 두루님 혹시 이문제좀 같이 볼수 있을까요?