OBJECT <header> [<uniques>] [<fields>] [<relations>]
END_OBJECT
OR
OBJECT [INSERT_ONLY] <header> [<uniques>] [<fields>] [<relations>]
END_OBJECT
The objects defined by the OBJECT element will be either updated or inserted into the database, which is determined by the unique key(s) defined in the <uniques> element. If the <uniques> match an existing database object, the object will be updated with the OBJECT information. If the <uniques> do not match an existing database object, the object will be classified as new and inserted into the database.
By adding INSERT_ONLY to the OBJECT element, the object will be inserted if it doesn't already exist in the database, but it will not be updated if it does. This is not the same as the –
insert_only
command parameter.
See Also |
Next |