src/Drivers/Sqlite/Driver.php
public function getFks($table): array
	{
		$returnRows = [];

		foreach(parent::getFks($table) as $row)
		{
			$returnRows[] = [
				'child_column' => $row['from'],
				'parent_table' => $row['table'],
				'parent_column' => $row['to'],
				'update' => $row['on_update'],
				'delete' => $row['on_delete']
			];
		}

		return $returnRows;
	}
public function getFks($table): array
	{
		$returnRows = [];

		foreach(parent::getFks($table) as $row)
		{
			$returnRows[] = [
				'child_column' => $row['from'],
				'parent_table' => $row['table'],
				'parent_column' => $row['to'],
				'update' => $row['on_update'],
				'delete' => $row['on_delete']
			];
		}

		return $returnRows;
	}
public function getFks ( $ table ) : array { $ returnRows = [ ] ; foreach ( parent :: getFks ( $ table ) as $ row ) { $ returnRows [ ] = [ 'child_column' => $ row [ 'from' ] , 'parent_table' => $ row [ 'table' ] , 'parent_column' => $ row [ 'to' ] , 'update' => $ row [ 'on_update' ] , 'delete' => $ row [ 'on_delete' ] ] ; } return $ returnRows ; }
Retrieve foreign keys for the table

@param string $table
@return array
Retrieve foreign keys for the table