src/services/UpgradeService.php
private function _getAllSeoFields ()
	{
		return (new Query())
			->select(
				[
					'fields.id',
					'fields.dateCreated',
					'fields.dateUpdated',
					'fields.groupId',
					'fields.name',
					'fields.handle',
					'fields.context',
					'fields.instructions',
					'fields.translationMethod',
					'fields.translationKeyFormat',
					'fields.type',
					'fields.settings',
				]
			)
			->from(['{{%fields}} fields'])
			->where(['type' => SeoField::class])
			->orderBy(['fields.name' => SORT_ASC, 'fields.handle' => SORT_ASC])
			->all();
	}
private function _getAllSeoFields ()
	{
		return (new Query())
			->select(
				[
					'fields.id',
					'fields.dateCreated',
					'fields.dateUpdated',
					'fields.groupId',
					'fields.name',
					'fields.handle',
					'fields.context',
					'fields.instructions',
					'fields.translationMethod',
					'fields.translationKeyFormat',
					'fields.type',
					'fields.settings',
				]
			)
			->from(['{{%fields}} fields'])
			->where(['type' => SeoField::class])
			->orderBy(['fields.name' => SORT_ASC, 'fields.handle' => SORT_ASC])
			->all();
	}
private function _getAllSeoFields ( ) { return ( new Query ( ) ) -> select ( [ 'fields.id' , 'fields.dateCreated' , 'fields.dateUpdated' , 'fields.groupId' , 'fields.name' , 'fields.handle' , 'fields.context' , 'fields.instructions' , 'fields.translationMethod' , 'fields.translationKeyFormat' , 'fields.type' , 'fields.settings' , ] ) -> from ( [ '{{%fields}} fields' ] ) -> where ( [ 'type' => SeoField :: class ] ) -> orderBy ( [ 'fields.name' => SORT_ASC , 'fields.handle' => SORT_ASC ] ) -> all ( ) ; }
=========================================================================
=========================================================================