|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||
WEB-INF.cftags.component
datafaucet.system.sql.duck
datafaucet.system.sql.simplefiltergroup
datafaucet.system.sql.filtergroup
datafaucet.system.sql.statement
datafaucet.system.sql.insertablestatement
datafaucet.system.sql.update
public class update
creates a sql update statement which can be filtered - update statements can not be unioned or joined
| Constructor Summary | |
|---|---|
init(string table, [struct insertdata='[runtime expression]'], [boolean insertnulls='false'], [boolean insert], [string setnull=''], [any datasource=''])
|
|
| Method Summary | |
|---|---|
any |
execute()
|
string |
getSyntax()
|
any |
setNull(string columnList, [boolean overwrite='true'], [boolean append='true'])
|
| Methods inherited from class datafaucet.system.sql.insertablestatement |
|---|
getColumn, increment, incrementDate, setColumn, set_insertData
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(string table, [struct insertdata='[runtime expression]'], [boolean insertnulls='false'], [boolean insert], [string setnull=''], [any datasource=''])
table - the database table to insert a record intoinsertdata - the data to insert into the databaseinsertnulls - indicates if null values should be inserted for columns not represented in the insert structureinsert - indicates if a record should be inserted if no matching record is found in the databasesetnull - a comma delimited list of columns to set null during updatedatasource| Method Detail |
|---|
public any execute()
execute
in class
statement
public string getSyntax()
getSyntax
in class
statement
public any setNull(string columnList, [boolean overwrite='true'], [boolean append='true'])
columnListoverwriteappend
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||