fluentpdo icon indicating copy to clipboard operation
fluentpdo copied to clipboard

Add method $query->replaceInto();

Open flanderboy opened this issue 7 years ago • 2 comments

Hello to everyone, I have a request. It is possible to add additional method like this

$query->replaceInto();

I don't find this in documentations.

Thank You in Advance Stefano

flanderboy avatar Nov 06 '17 14:11 flanderboy

What is the method supposed to do?

superyetkin avatar Nov 11 '17 19:11 superyetkin

This would be a MySQL-only feature. It's possible to add, however you can perform the same task with a DELETE and INSERT query combination.

We'll keep this here for if/when we add driver-specific support.

cbornhoft avatar Nov 26 '17 04:11 cbornhoft