Migrate getDistinctValues(field)

.. from DBAccess to RideCache.