alfateam/orange-orm

[BUG]: orderBy an array throws after v3.6.0

lroal opened this issue · 0 comments

rdb Version

3.6.0

Database

None

Database Version

No response

Operating System

No response

Description

const rows = await db.customer.getAll({ orderBy: ['id desc', 'balance']});

throws "element.split is not a function"

Expected Behavior

Just return the rows sorted instead of throwing