Instance Properties
Name | Description | Access |
---|---|---|
length | number The number of objects in the collection. | read-only |
Methods
add( | [withProperties]) |
→ K4QueryResult |
anyItem( | ) |
→ K4QueryResult |
count( | ) |
→ number |
everyItem( | ) |
→ K4QueryResult |
firstItem( | ) |
→ K4QueryResult |
item( | index) |
→ K4QueryResult |
itemByRange( | from, to) |
→ K4QueryResult |
lastItem( | ) |
→ K4QueryResult |
middleItem( | ) |
→ K4QueryResult |
nextItem( | obj) |
→ K4QueryResult |
previousItem( | obj) |
→ K4QueryResult |
toSource( | ) |
→ string |
-
add( [withProperties])→ K4QueryResult -
Creates a new K4QueryResult.
withProperties
Object Initial values for properties of the new K4QueryResult (Optional) -
anyItem( )→ K4QueryResult -
Returns any K4QueryResult in the collection.
-
count( )→ number -
Displays the number of elements in the K4QueryResult.
-
everyItem( )→ K4QueryResult -
Returns every K4QueryResult in the collection.
-
firstItem( )→ K4QueryResult -
Returns the first K4QueryResult in the collection.
-
item( index)→ K4QueryResult -
Returns the K4QueryResult with the specified index or name.
index
The index or name. Can accept: Long Integer or String. -
itemByRange( from, to)→ K4QueryResult -
Returns the K4QueryResults within the specified range.
from
The K4QueryResult, index, or name at the beginning of the range. Can accept: K4QueryResult, Long Integer or String. to
The K4QueryResult, index, or name at the end of the range. Can accept: K4QueryResult, Long Integer or String. -
lastItem( )→ K4QueryResult -
Returns the last K4QueryResult in the collection.
-
middleItem( )→ K4QueryResult -
Returns the middle K4QueryResult in the collection.
-
nextItem( obj)→ K4QueryResult -
Returns the K4QueryResult whose index follows the specified K4QueryResult in the collection.
obj
K4QueryResult The K4QueryResult whose index comes before the desired K4QueryResult. -
previousItem( obj)→ K4QueryResult -
Returns the K4QueryResult with the index previous to the specified index.
obj
K4QueryResult The index of the K4QueryResult that follows the desired K4QueryResult. -
toSource( )→ string -
Generates a string which, if executed, will return the K4QueryResult.