DMZ question - can I use singular table names? |
[eluser]nottRobin[/eluser]
Hi. In "DataMapper OverZealous Edition", you can create a Model with the name "User" and it will assume that the related database table is called "users". Is there any way that I can ask it to use the singular instead of the plural? So if I want my model 'User' to relate to my table 'user'? I know I can override it with: Code: var $table = 'user'; Cheers, Robin. |
Welcome Guest, Not a member yet? Register Sign In |