Implement DAO support for aggregate queries on general node datum.