<?php

declare(strict_types=1);

namespace App\Framework\Database\Criteria;

/**
 * Interface for query projections (SELECT clause)
 */
interface Projection
{
    /**
     * Convert projection to SQL SELECT clause
     */
    public function toSql(): string;

    /**
     * Get aliases for result mapping
     */
    public function getAliases(): array;
}
