forked from Perl5/DBIx-Class
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Features_09
49 lines (36 loc) · 1.5 KB
/
Features_09
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
(Potential) Features for 0.09
=============================
Row/find caching - would be pretty useful
- Need to have good definitions of when the cache should be queried and when invalidated
- Be able to supply own expiry?
- Be able to invalidate manually? Single item / entire cache / single table
Remove compose_connection / DB.pm
- Everyone has probably forgotten what this is anyway..
Syntax improvements?
- "as" to "alias" ?
- "belongs_to" to "contains/refers/something"
Using inflated objects/references as values in searches
- should deflate then run search
SQL/API feature complete?
- UNION
- proper join conditions!
- function calls on the LHS of conditions..
Moosification - ouch
Metamodel stuff - introspection
Prefetch improvements
- slow on mysql, speedup?
- multi has_many prefetch
Magically "discover" needed joins/prefetches and add them
- eg $books->search({ 'author.name' => 'Fred'}), autoadds: join => 'author'
- also guess aliases when supplying column names that are on joined/related tables
Storage API/restructure
- call update/insert etc on the ResultSource, which then calls to storage
- handle different storages/db-specific code better
- better cross-db code .. eg LIKE/ILIKE
Relationships
- single vs filter, discrepancies.. remove one of them and make behave the same?
Joining/searching weird attribute tables?
- Support legacy/badly designed junk better..
Documentation - improvements
- better indexing for finding of stuff in general
- more cross-referencing of docs