The driver should. but it does not. I guess we can catch at the adapter level.
On Tuesday, 25 September 2012 10:38:48 UTC-5, Alan Etkin wrote: > > Shouldn't sqlite adapter raise an exception when trying to do insert of > date and datetime fields with incompatible input? > > With trunk this is accepted: > > row_id = db.mytable.insert(mydatefield="This is not a date value.") > > Then, when retrieving the record with invalid data, this error appears > > row = db.mytable[row_id] > ... > ValueError: too many values to unpack > > > --