precise SQL hydration and aggregation for Node