DMZ 1.7.1 (DataMapper OverZealous Edition) |
[eluser]Mareshal[/eluser]
Don't know why and how but works. Short Tags were On, because when I install xampp I make my own config. But I really don't get something. On this page: http://www.overzealous.com/dmz/pages/update.html this query: Code: // Mark all users as new Produces this: UPDATE `users` SET `isnew` = TRUE How does DMZ know which talbe to update? or where do you tell the script to update the table I want? Or maybe I don't understand how datamappers work. Edit: I think I understood now. Every table has a related model, where tables are declared. Am I right? |
Welcome Guest, Not a member yet? Register Sign In |