Created
March 2, 2012 20:12
-
-
Save rafaeldff/1960968 to your computer and use it in GitHub Desktop.
Trace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Busca instancia da classe Contador do banco --- banco.find[Contador](chuchu) -- gerando "select value, id from Contador where id = chuchu)" | |
Gera uma nova instancia "atualizada" --- val novoContador = contador.increment() | |
Salva essa nova instanca --- banco.save(novoContador) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment