X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=TODO;h=ab176b0cd106bcacc156a5a20e5374a66af400b7;hb=7fa9a8b17fbdefdf3d0d93658b8e38ce00647305;hp=73ab41794e49f4aeeebcf215f0dbd43724e85a74;hpb=52bf3f264b3d5e1a0c494e82e13fb377eaa28a6f;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/TODO b/TODO index 73ab417..ab176b0 100644 --- a/TODO +++ b/TODO @@ -1,11 +1,20 @@ -Reminders to myself or whoever else ever looks in here... +support multiple/all schemas, instead of just one + +support pk/uk/fk info on views, possibly. May or may not be a sane thing to try to do. + +Fix up ResultSet Manager / Methods / etc stuff. May require some work in the +main DBIx::Class first. SQLite needs some heavy refactoring, the subroutines are becoming too complex to understand easily. -Consider: +Refactor RelBuilder so that it doesn't require a live mostly-built +DBIx::Class::Schema, so that other modules (SQLT) can use it easier. And then +when/if we get there, break it out as a seperate distribution with a new name. + +Relationship stuff: If local column is UNIQUE or PK, use has_one() for relation? Re-scan relations/tables after initial relation setup to find ->many_to_many() relations to be set up? Check NULLability of columns involved in the relationship, which might suggest a more optimal non-default -join-type? - -... + While scanning for many-to-many, scan for implied rels as well? (if foo->belongs_to('bar') and baz->belongs_to('bar'), does that impliy foo->might_have('baz') and the reverse?) + ...