Interface Yiisoft\Data\Db\FieldMapper\FieldMapperInterface
| Implemented by | Yiisoft\Data\Db\FieldMapper\ArrayFieldMapper |
|---|
Maps field names to database column names or expressions.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| map() | Maps a field name to a database column name or expression. | Yiisoft\Data\Db\FieldMapper\FieldMapperInterface |
Method Details
Maps a field name to a database column name or expression.
| public abstract \Yiisoft\Db\Expression\ExpressionInterface|string map ( string $field ) | ||
| $field | string |
The field name to map. |
| return | \Yiisoft\Db\Expression\ExpressionInterface|string |
The mapped column name or expression. |
|---|---|---|
public function map(string $field): string|ExpressionInterface;
Signup or Login in order to comment.