Child pages
  • SQL_ACTION_TYPES

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#DELETE_ACTION
Constant for the "delete" SQL action.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#INSERT_ACTION
Constant for the "insert" SQL action.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#NO_ACTION
Constant expressing that no SQL action took place.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#SELECT_ACTION
Constant for the "select" SQL action.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#UPDATE_ACTION
Constant for the "update" SQL action.

HTML Table
idconstant
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Constants Details
Table Body (tbody)
idDELETE_ACTION
classnode
Table Row (tr)
idname
Table Cell (td)
DELETE_ACTION
Table Row (tr)
iddes
Table Cell (td)
Constant for the "delete" SQL action.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
if (action == SQL_ACTION_TYPES.INSERT_ACTION)
		application.output("it was an insert");
	else if (action == SQL_ACTION_TYPES.DELETE_ACTION)
		application.output("it was a delete");
	else if (action == SQL_ACTION_TYPES.UPDATE_ACTION)
		application.output("it was an update");
	else if (action == SQL_ACTION_TYPES.SELECT_ACTION)
		application.output("it was a select");
	else if (action == SQL_ACTION_TYPES.NO_ACTION)
		application.output("it was nothing");
	else
		application.output("what was this?");
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idINSERT_ACTION
classnode
Table Row (tr)
idname
Table Cell (td)
INSERT_ACTION
Table Row (tr)
iddes
Table Cell (td)
Constant for the "insert" SQL action.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
if (action == SQL_ACTION_TYPES.INSERT_ACTION)
		application.output("it was an insert");
	else if (action == SQL_ACTION_TYPES.DELETE_ACTION)
		application.output("it was a delete");
	else if (action == SQL_ACTION_TYPES.UPDATE_ACTION)
		application.output("it was an update");
	else if (action == SQL_ACTION_TYPES.SELECT_ACTION)
		application.output("it was a select");
	else if (action == SQL_ACTION_TYPES.NO_ACTION)
		application.output("it was nothing");
	else
		application.output("what was this?");
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idNO_ACTION
classnode
Table Row (tr)
idname
Table Cell (td)
NO_ACTION
Table Row (tr)
iddes
Table Cell (td)
Constant expressing that no SQL action took place.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
if (action == SQL_ACTION_TYPES.INSERT_ACTION)
		application.output("it was an insert");
	else if (action == SQL_ACTION_TYPES.DELETE_ACTION)
		application.output("it was a delete");
	else if (action == SQL_ACTION_TYPES.UPDATE_ACTION)
		application.output("it was an update");
	else if (action == SQL_ACTION_TYPES.SELECT_ACTION)
		application.output("it was a select");
	else if (action == SQL_ACTION_TYPES.NO_ACTION)
		application.output("it was nothing");
	else
		application.output("what was this?");
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idSELECT_ACTION
classnode
Table Row (tr)
idname
Table Cell (td)
SELECT_ACTION
Table Row (tr)
iddes
Table Cell (td)
Constant for the "select" SQL action.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
if (action == SQL_ACTION_TYPES.INSERT_ACTION)
		application.output("it was an insert");
	else if (action == SQL_ACTION_TYPES.DELETE_ACTION)
		application.output("it was a delete");
	else if (action == SQL_ACTION_TYPES.UPDATE_ACTION)
		application.output("it was an update");
	else if (action == SQL_ACTION_TYPES.SELECT_ACTION)
		application.output("it was a select");
	else if (action == SQL_ACTION_TYPES.NO_ACTION)
		application.output("it was nothing");
	else
		application.output("what was this?");
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idUPDATE_ACTION
classnode
Table Row (tr)
idname
Table Cell (td)
UPDATE_ACTION
Table Row (tr)
iddes
Table Cell (td)
Constant for the "update" SQL action.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
if (action == SQL_ACTION_TYPES.INSERT_ACTION)
		application.output("it was an insert");
	else if (action == SQL_ACTION_TYPES.DELETE_ACTION)
		application.output("it was a delete");
	else if (action == SQL_ACTION_TYPES.UPDATE_ACTION)
		application.output("it was an update");
	else if (action == SQL_ACTION_TYPES.SELECT_ACTION)
		application.output("it was a select");
	else if (action == SQL_ACTION_TYPES.NO_ACTION)
		application.output("it was nothing");
	else
		application.output("what was this?");
Table Row (tr)
classlastDetailRow
Table Cell (td)