Support saving selections to a database.