|
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.delete
public class delete
creates a sql delete statement which can be filtered - delete statements can not be unioned or joined
| Constructor Summary | |
|---|---|
init(string table, [boolean nullforeignkeys='[runtime expression]'], [boolean deleteforeignkeys='[runtime expression]'], [string include='[runtime expression]'], [any datasource=''])
|
|
| Method Summary | |
|---|---|
any |
execute()
|
string |
getSyntax()
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(string table, [boolean nullforeignkeys='[runtime expression]'], [boolean deleteforeignkeys='[runtime expression]'], [string include='[runtime expression]'], [any datasource=''])
table - the database table to delete records fromnullforeignkeys - if true the tag will set nulls on any foreign keys which reference the primary key on the deleted records when applicabledeleteforeignkeys - if true the tag will delete any records in tables with foreign keys referencing the primary key on the deleted records - this is done after nulls are set, allowing foreign records to be saved when possibleinclude - and / or -- determines whether the filters are cumulative or exclusivedatasource| Method Detail |
|---|
public any execute()
execute
in class
statement
public string getSyntax()
getSyntax
in class
statement
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||