Commit | Line | Data |
16f6b6ac |
1 | |
2 | Reminders to myself or whoever else ever looks in here... |
3 | |
3980d69c |
4 | SQLite needs some heavy refactoring, the subroutines are becoming too complex to understand easily. |
16f6b6ac |
5 | |
c2849787 |
6 | Relationship-building needs to be refactored into a seperate module to share with SQLT. |
7 | |
89ecd854 |
8 | Relationship stuff: |
9 | Fix multiple rels between same pair of tables |
16f6b6ac |
10 | If local column is UNIQUE or PK, use has_one() for relation? |
11 | Re-scan relations/tables after initial relation setup to find ->many_to_many() relations to be set up? |
12 | Check NULLability of columns involved in the relationship, which might suggest a more optimal non-default -join-type? |
c2849787 |
13 | 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?) |
16f6b6ac |
14 | ... |