Method Mysql.SqlTable()->replace()


Method replace

int replace(mapping(string:mixed) ... records)

Description

Inserts one or more records into the table using a REPLACE command. If some of the given records conflict with existing records then they are replaced.

Otherwise this function behaves like insert.

See also

insert, insert_ignore