src/mako/database/midgard/relations/Relation.php
protected function keys(array $results)
	{
		$keys = [];

		foreach($results as $result)
		{
			$keys[] = $result->getPrimaryKeyValue();
		}

		return array_unique($keys);
	}
protected function keys(array $results)
	{
		$keys = [];

		foreach($results as $result)
		{
			$keys[] = $result->getPrimaryKeyValue();
		}

		return array_unique($keys);
	}
protected function keys ( array $ results ) { $ keys = [ ] ; foreach ( $ results as $ result ) { $ keys [ ] = $ result -> getPrimaryKeyValue ( ) ; } return array_unique ( $ keys ) ; }
Returns the keys used to eagerly load records.

@param  array $results Result set
@return array
Returns the keys used to eagerly load records .