/** * @return QuerySkeleton **/ protected function checkReturning(Dialect $dialect) { if ($this->returning && !$dialect->hasReturning()) { throw new UnimplementedFeatureException(); } return $this; }