mirror of
https://codeberg.org/vlw/php-mysql.git
synced 2025-11-05 04:22:42 +01: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";
|
|
} |