public function replace(array $data) {
        $addFields = implode('`,`', array_keys($data));
        return $this->command()
            ->insertOrReplace("`{$addFields}`", Str::repeat('?', $data),
                array_values($data));
    }
public function replace(array $data) {
        $addFields = implode('`,`', array_keys($data));
        return $this->command()
            ->insertOrReplace("`{$addFields}`", Str::repeat('?', $data),
                array_values($data));
    }
public function replace ( array $ data ) { $ addFields = implode ( '`,`' , array_keys ( $ data ) ) ; return $ this -> command ( ) -> insertOrReplace ( "`{$addFields}`" , Str :: repeat ( '?' , $ data ) , array_values ( $ data ) ) ; }
INSERT OR REPLACE
@param array $data
@return mixed
INSERT OR REPLACE