-
Notifications
You must be signed in to change notification settings - Fork 150
/
Features_09
41 lines (30 loc) · 1.31 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
(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
- function calls on the LHS of conditions..
Moosification - ouch
Metamodel stuff - introspection
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?
Documentation - improvements
- better indexing for finding of stuff in general
- more cross-referencing of docs