[interchange-docs] xmldocs - docelic modified refs/dml

docs at icdevgroup.org docs at icdevgroup.org
Thu May 15 22:22:59 UTC 2008

User:      docelic
Date:      2008-05-15 22:22:59 GMT
Added:     refs     dml
* dml pragma

Revision  Changes    Path
1.1                  xmldocs/refs/dml

rev 1.1, prev_rev 1.0
Index: dml
__NAME__ purpose
control behavior of Vend::Data::update_data()

__NAME__ synopsis
<group choice='plain'>
	<arg choice='plain'><emphasis>none</emphasis></arg>
	<arg choice='plain'><literal>preserve</literal></arg>
	<arg choice='plain'><literal>strict</literal></arg>

__NAME__ default

__NAME__ description
This &glos-pragma; controls the behavior of
<function>Vend::Data::update_data()</function> function
in regard to manipulating &glos-database; records.
No value implies the traditional and backward-compatible &IC;
behavior of "update or insert" (upsert).
Value '<literal>preserve</literal>'
restricts inserts to insert-only, but allows
the fall-through behavior from update to insert.
As the name preserve implies, it means records can
be inserted, but no existing data can be clobbered.
Value '<literal>strict</literal>' forces update or insert
to only perform the requested action.

__NAME__ notes

__NAME__ see also

__NAME__ example: dml strict
Pragma dml=strict

__NAME__ author

More information about the docs mailing list