How do I know which table to use after linking to the database?
萨格拉斯2020-04-11 19:31:32
0
1
853
I don’t understand what these two paragraphs mean. Check whether there is this user in the table, but there is more than one table in my database. How to specify $map = ['username'=>$userName]; $admin = Admin: :get($map);
hhh Hahaha It turns out that the model name must correspond to the table name! ! ! !