phprs\ezsql\impls\ForUpdateOfImpl::of PHP Method

of() public static method

public static of ( $context, $column )
    public static function of($context, $column)
    {
        $context->appendSql("OF {$column}");
    }

Usage Example

Example #1
0
 /**
  * forUpdate()->of('column') => 'FOR UPDATE OF column'
  * @param string $column
  * @return \phprs\ezsql\rules\select\GetRule
  */
 public function of($column)
 {
     ForUpdateOfImpl::of($this->context, $column);
     return new GetRule($this->context);
 }
ForUpdateOfImpl