ordering, normalizers, booleans, documentation. details: * changed order of table classes so that the has_a() part of a relationship occurs before the has_many() part. * added WeBWorK::DBv3::NormalizerMixin, simiar to Class::Trigger, to manage normalizer subroutines for per-column normalization. * overloaded normalize_column_values to all normalizers for changed fields. * implemented predefined has_a_boolean() normalizer definition. * defined boolean fields in tables using has_a_boolean(). * added/clarified docs. still to do: * add inflators/deflators for durations * add triggers for setting creation dates
a few things. * added lock/unlock tables * stopped using Class::DBI::MySQL and Class::DBI::AutoLoader * init() routine allows runtime settings * LOCK/UNLOCK TABLES wrapper * inflation/deflation for role.privs (done manually with &priv_list since you have to associate a column with a class to use has_a, and I just want it to be a damn list!) * a tiny bit more testing
preliminary WWDBv3 support. Features: * automatic schema updating (see WeBWorK::DBv3::Utils). * basic table structure constructed by set_up_table(). * has_a/has_many relationships declared explicitly. * works! Limitations: * uses Class::DBI::mysql explicitly. Needs to use BaseDSN instead. * connection information is currently hardcoded into DBv3.pm. It needs to be brought in at compile time, so there are constraints on how this can be done. * no wrappers for LOCK/UNLOCK TABLES yet. * no inflating/deflating for dates, comma separated lists, etc. yet. * basically no testing.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|aubreyja at gmail dot com||ViewVC Help|
|Powered by ViewVC 1.0.9|