小编Ian*_*nes的帖子

Knex.js多个orderBy()列

是否可以执行多个orderBy()列?

knex
  .select()
  .table('products')
  .orderBy('id', 'asc')
Run Code Online (Sandbox Code Playgroud)

orderBy()可链接只需要一个列键和一个排序值,但我如何按多列排序?

node.js knex.js

13
推荐指数
3
解决办法
1万
查看次数

标签 统计

knex.js ×1

node.js ×1