#1218: dCursorMixin._setKeyField fails if kf is tuple
---------------------+------------------------------------------------------
Reporter: sunday | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: 0.9.2
Component: db | Version: 0.9.1
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by sunday):
Wait... Which one is correct? API doc says "KeyField
Name of field that is the PK. If multiple fields make up the key,
separate the fields with commas. (str)"
Step-By-Step Guide says "In the event that you use a compound primary key
consisting of more than one field, enter that as a tuple of field names."
the latter seems more pythonic, a normal primary key could even be written
as 1-tupel.
--
Ticket URL: <http://trac.dabodev.com/ticket/1218#comment:2>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]