AND_HISTORIC_MARKER
AND_HISTORIC_MARKER
This class is used to represent a selection criteria for database rows.
andWhere(string $field, integer $relation, mixed $data) : \Gishiki\Database\Runtime\SelectionCriteria
Create a sub-clause and append it to the where clause using an and as conjunction.
string | $field | the name of the field/column to be related with the data |
integer | $relation | the Relation between the field and the data |
mixed | $data | the data to be related with the field |
one parameter has a wrong type
the updated selection criteria
orWhere(string $field, integer $relation, mixed $data) : \Gishiki\Database\Runtime\SelectionCriteria
Create a sub-clause and append it to the where clause using an or as conjunction.
string | $field | the name of the field/column to be related with the data |
integer | $relation | the Relation between the field and the data |
mixed | $data | the data to be related with the field |
one parameter has a wrong type
the updated selection criteria
where(string $clause, string $field, integer $relation, mixed $data) : \Gishiki\Database\Runtime\SelectionCriteria
Create a sub-clause and append it to the where clause using an and as conjunction.
string | $clause | can either be 'and' or 'or' |
string | $field | the name of the field/column to be related with the data |
integer | $relation | the Relation between the field and the data |
mixed | $data | the data to be related with the field |
one parameter has a wrong type
the updated selection criteria