export function prepareQuery(query) {
    if (Array.isArray(query.order)) {
        query.order = query.order.reduce((acc, order) => {
            acc[order[0]] = order[1];
            return acc;
        }, {});
    }
}
//# sourceMappingURL=prepare-query.js.map