use options.base if defined when fetching entities from DB