REPLACE INTO with Active Record


#1

Is there any support for MySQL’s REPLACE INTO syntax using ActiveRecord?

The only way I’m aware of to take advantage of this feature is to use
ActiveRecord.connection.execute.

thanks,
phil


#2

On Fri, Jan 13, 2006 at 04:02:28AM +0100, phil swenson wrote:

Is there any support for MySQL’s REPLACE INTO syntax using ActiveRecord?

The only way I’m aware of to take advantage of this feature is to use
ActiveRecord.connection.execute.

REPLACE INTO is not supported in ActiveRecord’s MySQL adapter.

marcel