The thinkphp discussion board provides a platform for technical circles. you can seek help from various technical difficulties and publish thinkphp recruitment and chat, share the joy and troubles of IT life. come and join us! Let us all create a new and harmonious TP community!
$ List = model ('weate')-> select ();
Dump ($ list); // at this time, the object generated by model ('weather ') is returned, and the select () method of the Query class is not entered;
$ List = model ('weate')-> where ('id', 1)-> select ();
Dump ($ list); // The Returned result is The select () method of the Query class generated by model ('weate, at the time of $ result = new $ model ($ result); in row 1896, the queried data is changed to the same object as the model ('weather,Is model unable to use the select method? Use value with model, column is normal