我不明白这个错误Using unsupported buffer type: 202407588 (parameter: 5) (Mysql::Error)
我有一个日期,我已经从CSV文件解析了它的格式:2009-10-21 13:55:03
这是我的疑问:
qry = db.prepare("insert into station_capacity_status (city_id, station_name, empty_docks, nonempty_docks, timestamp) values(?,?,?,?,?)")
qry.execute(city_id, station_name, empty_docks, nonempty_docks, datetime)
列的数据类型为:
city_id: int
station_name: varchar(40)
empty_docks: int
noempty_docks: int
timestamp: datetime