💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
#### 平均值 avg ~~~ $avgAmount = Be::getTable('oms_order') ->where('create_time', '>', '2017-12-01') ->avg('amount'); ~~~ 等效SQL: ~~~ SELECT AVG(amount) FROM oms_order WHERE create_time > '2017-12-01' ~~~