Home >Backend Development >PHP Tutorial >What is the essential difference between D() and M() in ThinkPHP?? I feel that the manual is not very clear.
What is the essential difference between D() and M() in ThinkPHP?? It feels like the manual is not very clear
What is the essential difference between D() and M() in ThinkPHP?? It feels like the manual is not very clear
d and m are both factory methods of the model layer. m can only instantiate the method of tp’s built-in model layer base class, which is more efficient, while d can generate the model layer code you created in the model directory