dataaccess: Adds union functionality