insertOrUpdate property

Write? insertOrUpdate
getter/setter pair

Like insert, except that if the row already exists, then its column values are overwritten with the ones provided.

Any column values not explicitly written are preserved. When using insert_or_update, just as when using insert, all NOT NULL columns in the table must be given a value. This holds true even when the row already exists and will therefore actually be updated.

Implementation

Write? insertOrUpdate;