X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=TODO;h=ab176b0cd106bcacc156a5a20e5374a66af400b7;hb=no-rewrite;hp=db0a04cbe01f98b9afafa4738a4083f664f287b5;hpb=507034ad2c6f400a01d60257b4c31d4f01e1219e;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/TODO b/TODO index db0a04c..ab176b0 100644 --- a/TODO +++ b/TODO @@ -1,12 +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. -MySQL needs implicit FK support, I think. -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?) + ...