Patches item #1422132, was opened at 2006-02-02 13:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1422132&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stephen Thorne (jerub)
Assigned to: Nobody/Anonymous (nobody)
Summary: [patch] selectBy(nonexistantcolumn=foo) passes silently
Initial Comment:
When doing a query on a table, for instance:
Foo.selectBy(food="bar")
where 'food' is a typo, and 'foo' is the correct column
name, no error will occur, and this is equivilnet to:
Foo.select()
Attached is a patch to both dbconnection.py and
tests/test_select.py, adding an exception to the code
for the case where unexpected kwargs are passed, and a
test for that behaviour.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1422132&group_id=74338
|