Queries

From CEW

Jump to: navigation, search

Contents

QueryColumnArray()

Provides an array of the columns in a query.

Supported by: Image:Railo-2.0.png


QueryColumnList()

Provides a list of the columns in a query.

Supported by: Image:Railo-2.0.png


QueryDeleteRow()

Allows you to delete a row in a query.

Supported by: Image:Railo-2.0.png Image:BlueDragon.png


QueryGetCell()

The counterpart to QuerySetCell, this function returns the value of a row in a query.

Supported by: Image:Railo.png


QuerySlice()

Allows you to slice a query into smaller parts.

Supported by: Image:Railo-2.0.png


QuerySort()

Allows you to sort a query by a column name without needing to do a QoQ.

For example, to sort by lastname descending:
QuerySort(qryName,'lastname','desc')

Supported by: Image:Railo.png Image:BlueDragon.png


[edit] Inline Query

Inline queries allow you to create a query in a more convenient fashion, using a combination of inline Struct/Array notation:

Query( firstname:Array('john','jack') , lastname:Array('doe','smith') , age:Array(30,49) )

Supported by: Image:Railo.png

Personal tools