ts-datastore-orm icon indicating copy to clipboard operation
ts-datastore-orm copied to clipboard

fix: Print correct order in getSql

Open kbrooks opened this issue 2 years ago • 0 comments

order.sign is either - or +, but is being treated as a boolean value in the order part of getSql. This makes it so all queries will have "ORDER BY X DESC" in if they have any ordering in the getSql output.

kbrooks avatar Sep 12 '23 18:09 kbrooks