Method |
Description |
|
andWhere ( string $condition, string $value = null ) : Command |
Sets a where token using the AND operator. |
|
from ( array $target, boolean $append = true ) : Command |
Sets the FROM clause of a SQL statement, injecting an array of $target
and deciding to remove previously set targets or not with the $append
parameter. |
|
getRaw ( ) : string |
Returns the SQL generated within this command, replacing the tokens in
the schema with their actual values. |
|
getTokenValue ( string $token ) : array |
Returns the value of the given $token. |
|
getTokens ( ) : array |
Analizying the class SCHEMA, it returns an array containing all the
tokens found there. |
|
orWhere ( string $condition, string $value = null ) : Command |
Sets a where token using the OR operator. |
|
resetWhere ( ) : true |
Deletes all the WHERE conditions in the current command. |
|
where ( string $condition, mixed $value = null, boolean $append = false, string $clause = "WHERE" ) |
Sets a WHERE condition for the current query. |
|