REPLACE INTO with Active Record

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

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

1 Like

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs