Update along with deprecation.

'fromRelation' will be renamed to 'relationalQuery'.