catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.84k stars 1.15k forks source link

replace is not working #632

Closed adminko-svk closed 7 years ago

adminko-svk commented 7 years ago

Hello Angel, replace function is not working.

Example code from https://medoo.in/api/replace is executed as: UPDATE "account" SET "type" = REPLACE("type", '', ''), "column" = REPLACE("column", '', '') WHERE "user_id" > 1000 So without values to replace.

catfan commented 7 years ago

Yes, it is a bug. It fixed on 0ae17978b1b8.

adminko-svk commented 7 years ago

Thanks, can you create stable version 1.4.6?

catfan commented 7 years ago

@adminko-svk it will possibly be with v1.5 soon.