
php – 在yii2中使用限制范围?
我想使用限制12,20从db获取数据.这是我的代码: $Query = new Query; $Query-select([um.id as USERid, um.first_name, um.last_name, um.email, COUNT(g.id) as guestCount]) -from(us
我想使用限制12,20从db获取数据.这是我的代码: $Query = new Query; $Query-select([um.id as USERid, um.first_name, um.last_name, um.email, COUNT(g.id) as guestCount]) -from(us