|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||
WEB-INF.cftags.component
datafaucet.system.sql.duck
datafaucet.system.sql.filter
public class filter
applies a filter to any sql statement object
| Constructor Summary | |
|---|---|
init(string column, any content, [string comparison], [string include], [string delimiters], [boolean dynamic='false'], [boolean reverse='false'], [boolean casesensitive='false'], [any table=''])
|
|
| Method Summary | |
|---|---|
any |
getDatasource()
|
any |
getTable()
|
private string |
get_column()
|
boolean |
isGroup()
|
any |
setTable(any table)
|
private any |
set_column(string propertyname, string propertyvalue)
|
private void |
set_compare(string propertyname, string propertyvalue)
|
private void |
set_dynamic(string propertyname, boolean propertyvalue)
|
private void |
set_reverse(string propertyname, boolean propertyvalue)
|
private void |
set_table(string propertyname, any propertyvalue)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(string column, any content, [string comparison], [string include], [string delimiters], [boolean dynamic='false'], [boolean reverse='false'], [boolean casesensitive='false'], [any table=''])
column - the name of a column to filter results oncontent - the content to compare against the data stored in the tablecomparison - indicates how the content of the current filter should be
compared against the database (<|=|>|like|in|not in|null|not null)
- defaults to 'like' for varchar columns or = for all other data typesinclude - and / or -- determines whether the filters are cumulative or exclusivedelimiters - a list of delimiters if the compare attribute is in or not indynamic - indicates that the content argument is a string of arbitrary SQLreverse - indicates that the filter should be reversed, checking for the column value within the content stringcasesensitive - indicates that the content of columns should not be made case-insensitive for databases with case-sensitive collationtable - an object of type statement.cfc| Method Detail |
|---|
public any getDatasource()
public any getTable()
private string get_column()
public boolean isGroup()
public any setTable(any table)
table - an object of type DataFaucet.sql.statementprivate any set_column(string propertyname, string propertyvalue)
propertynamepropertyvalueprivate void set_compare(string propertyname, string propertyvalue)
propertynamepropertyvalueprivate void set_dynamic(string propertyname, boolean propertyvalue)
propertynamepropertyvalueprivate void set_reverse(string propertyname, boolean propertyvalue)
propertynamepropertyvalueprivate void set_table(string propertyname, any propertyvalue)
propertynamepropertyvalue
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||