IndexHint
final class IndexHint extends Component (View source)
Parses an Index hint.
Properties
string | $type | The type of hint (USE/FORCE/IGNORE) |
|
string | $indexOrKey | What the hint is for (INDEX/KEY) |
|
string | $for | The clause for which this hint is (JOIN/ORDER BY/GROUP BY) |
|
Expression[] | $indexes | List of indexes in this hint |
Methods
static mixed
static mixed
build(mixed $component, array $options = [])
No description
__construct(string|null $type = null, string|null $indexOrKey = null, string|null $for = null, array $indexes = [])
No description
Details
static mixed
parse(Parser $parser, TokensList $list, array $options = [])
No description
static mixed
build(mixed $component, array $options = [])
No description
string
__toString()
Builds the string representation of a component of this type.
__construct(string|null $type = null, string|null $indexOrKey = null, string|null $for = null, array $indexes = [])
No description