Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug ao apagar cache de classes com join no RW_App_Model_Base #2

Open
rcapile opened this issue Jul 15, 2014 · 0 comments
Open

Bug ao apagar cache de classes com join no RW_App_Model_Base #2

rcapile opened this issue Jul 15, 2014 · 0 comments
Assignees
Labels

Comments

@rcapile
Copy link
Member

rcapile commented Jul 15, 2014

Ex:

select * from album join left album.id=artist.id on album.artist_id=artisti.id

Quando alterar apagar um artista o cache da consulta de album não será atualizado.

Solução: criar variável cacheDepencies com as tabelas que devem ter o cache apagado

Para as tags, passar um array dos campos que devem ser usados como tag na outra tabela. Caso os nomes seja diferentes, usar associação para a troca de nomes

@rcapile rcapile added the bug label Jul 15, 2014
@rcapile rcapile assigned gorifla, lhas and rcapile and unassigned gorifla and lhas Jul 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants