gpt4 book ai didi

javascript - ExtJS中 bool 字段排序选择什么方向类型?

转载 作者:行者123 更新时间:2023-11-30 16:43:21 25 4
gpt4 key购买 nike

选择什么样的方向来按 bool 字段排序?编写“ASC”按 bool 字段排序是否正确?

sortInfo : this.promotionMode ? null : {
field : 'autoInvited', //it is boolean field
direction :
},

最佳答案

Is it correct to write 'ASC' to sort by boolean field?

没有错。对于 ASC 方向,FALSE 将首先出现,然后是 TRUE

关于javascript - ExtJS中 bool 字段排序选择什么方向类型?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31605705/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com