move from old repository

This commit is contained in:
Jan-Niclas Loosen
2025-02-12 15:03:39 +01:00
parent b684096b4a
commit 29703314a3
19 changed files with 1097 additions and 0 deletions

20
enums/Join.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
namespace DatabaseHelper\enums;
enum Join
{
case INNER;
case LEFT;
case RIGHT;
case FULL;
public function toString(): string {
return match ($this) {
self::INNER => 'INNER JOIN',
self::LEFT => 'LEFT JOIN',
self::RIGHT => 'RIGHT JOIN',
self::FULL => 'FULL JOIN',
};
}
}