I want to transform an SQL-only application to a
MiddleKit python based one. Some of the already
existing tables heavily use the set(..) feature of
MySQL for all kinds of flags.
Note: It's internally stored as a bitfield of up to 32
named boolean switches and has a similar syntax to
enum(..)

My Question:

Would you suggest to add a new AttributeType to
MiddleKit to match those existing structures?
It'll become a dictionary of booleans and with SQL
engines that don't support SET(..) it could be stored
as a group of boolean fields, sharing the same name
prefix.

Or is it better to keep the python side simple and
convert these tables to others with lots of single
boolean fields that are compatible to the established
persistent techniques ?


Maybe someone else has thought about this before or
even did it ?

=====
kind regards,

Thomas Kumlehn
PIXEL PARTNER (R)
mobile +44 7960 384334

__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to