public function push($column, $value = null, $unique = false)
    {
        $operation = $unique ? 'merge' : 'append';

        $this->compileWheres();
        $result = $this->query->update([
            $column => r\row($column)->{$operation}($value),
        ])->run();

        return 0 == (int) $result['errors'];
    }
public function push($column, $value = null, $unique = false)
    {
        $operation = $unique ? 'merge' : 'append';

        $this->compileWheres();
        $result = $this->query->update([
            $column => r\row($column)->{$operation}($value),
        ])->run();

        return 0 == (int) $result['errors'];
    }
public function push ( $ column , $ value = null , $ unique = false ) { $ operation = $ unique ? 'merge' : 'append' ; $ this -> compileWheres ( ) ; $ result = $ this -> query -> update ( [ $ column => r \ row ( $ column ) -> { $ operation } ( $ value ) , ] ) -> run ( ) ; return 0 == ( int ) $ result [ 'errors' ] ; }
Append one or more values to an array.

@param mixed $column
@param mixed $value
@param bool  $unique

@return bool
Append one or more values to an array .