Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 dbflow 库,并且我有一个“玩家”表,其中包含“胜利”和“失败”两列。我想让所有“玩家”行按 (wins*3-losses) 降序排序。我试过这个:
playerList = SQLite.select().from(Player.class).orderBy(Player_Table.x01Wins.times(3).minus(Player_Table.x01Losses), false).queryList();
但它有一个错误。我怎样才能做到这一点?