Using jsonb_path_query_first with a variable path
When the path is given, it works:
ordering logic of the returned json items list in the jsonb_path_query_first function?
As stated in the manual :
When the path is given, it works:
As stated in the manual :