| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | namespace LaravelUi5\OData\Service\Contracts; |
| 6: | |
| 7: | use LaravelUi5\OData\Edm\Contracts\ColumnarSchemaInterface; |
| 8: | |
| 9: | /** |
| 10: | * A SQL-backed data source with typed column schema. |
| 11: | * |
| 12: | * Combines the pure schema contract ({@see ColumnarSchemaInterface}) with the |
| 13: | * query source contract ({@see EntitySetSourceInterface}) into a single |
| 14: | * interface for SQL-derived data sources that describe their own shape. |
| 15: | * |
| 16: | * Primary consumers: |
| 17: | * - {@see \LaravelUi5\OData\Service\AbstractEntitySet} — OData custom entity sets |
| 18: | * - Core artifact types (Report, AnalyticsSet, ValueHelp) via their own extensions |
| 19: | */ |
| 20: | interface SqlQueryInterface extends ColumnarSchemaInterface, EntitySetSourceInterface {} |
| 21: |