国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

webman如何引入thinkphp的model模型?

marcoxiong

看了文檔上引入的是laravel的模型
說(shuō)實(shí)話thinkphp的模型比laravel的模型好用
請(qǐng)問(wèn)webman如何引入thinkphp的model?

2975 3 0
3個(gè)回答

walkor 打賞

如果config/databse.php 內(nèi)容是空,并且配置了config/thinkorm.php 那么執(zhí)行 php webman make:model xxx 會(huì)自動(dòng)創(chuàng)建一個(gè)基于thinkorm的model

luohonen

tp 的orm就是照著laravel抄的,你居然說(shuō)laravel的不好用,只能說(shuō)明你還不會(huì)laravel orm

  • 隨某人 2022-09-14

    laravel命名太長(zhǎng),對(duì)外國(guó)人友好,tp簡(jiǎn)短好記

  • lxw123 2022-09-14

    laravel的orm 拿到結(jié)果還可以操作集合,挺實(shí)用的

  • 隨某人 2022-09-14

    都差不多,tp也可以操作數(shù)據(jù)集,看個(gè)人喜好,我喜歡簡(jiǎn)短的

  • 咸魚.php 2022-09-14

    蘿卜青菜各有所愛,開源沒有所謂的誰(shuí)抄誰(shuí)

  • ak47f16200 2023-01-11

    有整yii2的orm的不?

  • admin 2023-01-11

    你不能這么說(shuō),laravel 的orm在 ->bind()到父級(jí)字段就要自己實(shí)現(xiàn),tp orm 內(nèi)部用for each已經(jīng)給你做好了

年代過(guò)于久遠(yuǎn),無(wú)法發(fā)表回答
??