mirror of
https://codeberg.org/vlw/php-mysql.git
synced 2025-09-13 16:23:42 +02:00
Importable with: ```php use vlw\MySQL\Order ``` To be used with the `MySQL->order()` method, for example: ```php $db->for("table")->order(["column" => Order::ASC])->select("*"); ``` Reviewed-on: https://codeberg.org/vlw/php-mysql/pulls/41
8 lines
No EOL
97 B
PHP
8 lines
No EOL
97 B
PHP
<?php
|
|
|
|
namespace vlw\MySQL;
|
|
|
|
enum Order: string {
|
|
case ASC = "ASC";
|
|
case DESC = "DESC";
|
|
} |