7564 Ordering with JSON attributes (#7565)
* Two birds with one stone. Adds support for ordering by JSON columns and removes vulnerability for injections on JSON attributes. * Updates the changelog for the addition of json attributes. * Fixes lint error with prefer arrow. * Removes specific error because it may change depending on dialect and engine version. * Removed duplicate tests and moved location of SQL injection test and find order test. * Optimizes item.split performance by only performing the split once. * Fixes test for sqlite dialect json. JSON is handled differently in sqlite where the json value is extracted from a path. If the path doesn't exist sqlite returns null instead of throwing an error like postgres.
Showing
with
168 additions
and
20 deletions
-
Please register or sign in to post a comment