/
jagepard
/
Rudra-Model
Обзор
Документация
Войти
/
jagepard
/
Rudra-Model
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/Interfaces/SqlDialectInterface.php
24 строки
997 B
Jagepard
Add DISTINCT to groupConcat (PG/SQLite untested)
29 июл 2026, 14:33
29 июл 2026, 14:33
759d29c
Код
Авторство
О чём код?
<?php /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * @author Korotkov Danila (Jagepard) <jagepard@yandex.ru> * @license https://mozilla.org/MPL/2.0/ MPL-2.0 */ namespace Rudra\Model\Interfaces; interface SqlDialectInterface { public function groupConcat(string $fieldName, string $alias, ?string $orderBy, bool $distinct = true): string; public function close(): string; public function integer(string $field, string $default = "", bool $autoincrement = false, string $null = "NOT NULL"): string; public function string(string $field, string $default = "", string $null = "NOT NULL"): string; public function text(string $field, string $null = "NOT NULL"): string; public function createdAt(): string; public function updatedAt(): string; public function primaryKey(string $field): string; }