效果:
$arr=Db::name('product')
->where('deleted',0)
->column('id,type,type_mold,controller,live_created_method,add_type','id');
php 查询SQL得表记录集 键值变成对应的数据ID值(不是默认值按顺序0到X) 数组 column select
阅读 37
2022-07-27
效果:
$arr=Db::name('product')
->where('deleted',0)
->column('id,type,type_mold,controller,live_created_method,add_type','id');
相关推荐
精彩评论(0)