Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| BindingCategory | n/a | 0 / 0 | n/a | 0 / 0 | 0 | n/a | 0 / 0 | |||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace BlueprintAU\Radiant\Database\Query\Enums; | |
| 6 | ||
| 7 | /** | |
| 8 | * The binding categories a query builder can hold. | |
| 9 | * | |
| 10 | * Bindings are stored per category so a statement root only flattens the | |
| 11 | * categories it actually compiled. | |
| 12 | */ | |
| 13 | enum BindingCategory: string | |
| 14 | { | |
| 15 | /** Bindings for the select column list. */ | |
| 16 | case Select = 'select'; | |
| 17 | ||
| 18 | /** Bindings for the from clause. */ | |
| 19 | case From = 'from'; | |
| 20 | ||
| 21 | /** Bindings for join clauses. */ | |
| 22 | case Join = 'join'; | |
| 23 | ||
| 24 | /** Bindings for where clauses. */ | |
| 25 | case Where = 'where'; | |
| 26 | ||
| 27 | /** Bindings for group-by clauses. */ | |
| 28 | case GroupBy = 'groupBy'; | |
| 29 | ||
| 30 | /** Bindings for having clauses. */ | |
| 31 | case Having = 'having'; | |
| 32 | ||
| 33 | /** Bindings for order-by clauses. */ | |
| 34 | case Order = 'order'; | |
| 35 | ||
| 36 | /** Bindings for union clauses. */ | |
| 37 | case Union = 'union'; | |
| 38 | ||
| 39 | /** Bindings for lock clauses. */ | |
| 40 | case Lock = 'lock'; | |
| 41 | } |