💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 去重 --- > ``distinct(true)`` 方法用于去除重复数据,但必须配合 ``field()`` 使用,这样才可以定位到某一个字段 ``` this.Db('source').distinct(true).field('target_cell_type').select() ``` 最终的SQL语句为 ``` SELECT DISTINCT `target_cell_type` FROM `source` ```