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

Colocar tags no cache do RW_App_Model_Base/RW_App_Model_Db #1

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

Colocar tags no cache do RW_App_Model_Base/RW_App_Model_Db #1

rcapile opened this issue Jul 15, 2014 · 0 comments

Comments

@rcapile
Copy link
Member

rcapile commented Jul 15, 2014

Criar a variável cacheTags no RW_App_Model_Base sendo um array dos campos a serem usados com tag no cache

No resultado do fetchAll, se a variavel cacheTags estiver definida, usar os valores dos campos como tags no formato {campo}_{valor}

No update, insert e delete do RW_App_Model_Db, se a variavel cachetags estiver definida, apagar o cache pela tags geradas pelos campos e não todo o cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant