版本3.23
1. 多表查找一条数据
M('a表')->join("b表 on b表.id=a表.id")->where('条件')->find();
2.查找一条数据
M('a表')->where('条件')->find();
3.多表查询所有数据
M('a表')->join("b表 on b表.id=a表.id")->where('条件')->select();
4.查询所有数据
M('a表')->where('条件')->select();
5.增加一条数据
$data = array(); M('a表')->add($data);
6.删除一条数据
M('a表')->where('条件')->delete($data);
7.修改一条数据
M('a表')->where('id=5')->save();
Gut Vita™ is a daily supplement that helps consumers to improve the balance in their gut microbiome, which supports the health of their immune system. It supports healthy digestion, even for consumers who have maintained an unhealthy diet for a long time. https://gutvitabuynow.us/
Greeley, Colorado News, Sports, Weather and Things to Do https://greeleynews.us/