ref (A-B) function control in flex_query_cache