|
Mura CMS 6.1 | ||||
| FRAMES | |||||
railo-context.Component
mura.queryTool
public class queryTool
Transforms a query into other data types.
| Constructor Summary | |
|---|---|
init(query inQuery)
|
|
| Method Summary | |
|---|---|
void |
QueryAppend(query QueryOne, query QueryTwo, string Filter='page')
This takes two queries and appends the second one to the first one |
array |
toArray()
Transforms a query into an array of structures |
string |
toDelimited([string delimiter='[runtime expression]'], [string linefeed='[runtime expression]'])
Transforms a query into a delimited string using the given delimiter and linefeed characters |
struct |
toStruct(string primaryKey)
Transforms a query into a structure, using a designated column as the key |
any |
toXml()
Transforms a query into an XML recordset |
| Methods inherited from class railo-context.Component |
|---|
|
| Constructor Detail |
|---|
public init(query inQuery)
inQuery - The query to transform.| Method Detail |
|---|
public void QueryAppend(query QueryOne, query QueryTwo, string Filter='page')
QueryOneQueryTwoFilterpublic array toArray()
public string toDelimited([string delimiter='[runtime expression]'], [string linefeed='[runtime expression]'])
delimiter - Default column delimiter (default is TAB).linefeed - Default linefeed (default is chr(10)).public struct toStruct(string primaryKey)
primaryKey - The name of the column to be used as the key for the structure. Should be a unique identifier or rows will be lost!public any toXml()
|
Mura CMS 6.1 | ||||
| FRAMES | |||||