Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tsm26
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
tsm26
12y ago
You can add custom behavior to model instances via the "methods" option when defining a resource. http://angular-data.pseudobry.com/documentation/guide/angula...
2.
▲
by
tsm26
12y ago
you can eject an item or collections of items from the data store with DS.eject and DS.ejectAll. Or you could load angular-cache with angular-data to activate automatic expiry of items (after a timeout or on some interval).