On Aug 19, 2005, at 5:39 AM, Adi J. Sieker wrote:

was this missed the first time around?

No, sorry. I was out most of the day yesterday, and Paul is away until Monday.

The reason I brind this up is that getFields will be hard if not
impossible to implement
unless we enforce, per definition, datatypes that the dabo SQLite
implementation understands.

I see the problem. Most backends do that enforcing themselves; since SQLite doesn't, we have to be able to handle things like this.

The getFields thing came up because the sqlite cursor doesn't fill
cursor.description, so that when you call dForm.new(),
cursormixin.setDefaults raises a ValueError "Can't set default value for
nonexistent field '%s'."
So I thought about using getFields to return the Field information for
SQLite.

OK, let me look over the code to see what can be done. It probably won't be until this afternoon, though.


-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to