k

Results 1 comments of k

This would also be very useful when we want to sort by an arbitrary order, for instance: ``` ORDER BY array_position(ARRAY[2, 1, 4, 3, 5]::int[], table_name.id::int) ``` reference: https://gist.github.com/cpjolicoeur/3590737