I have some code like this:
User::findFirst(12345);
But the query includes all columns name in select part, and now I want to be able select with star
Current query will be: SELECT User.ID, User.Name, User.LName, ... FROM User WHERE User.ID = 12345
But what I want is: SELECT * FROM User WHERE User.ID = 12345
I want to override findFirst method, please give me some code to do that inside my BaseModel. :)
Thanks in advanced