Class Index | File Index

Classes


Class baja.coll.Table


Extends baja.coll.Collection.
Represents a baja:ITable in BajaScript.

Tables are usually returned as the result of resolving an ORD (i.e. a BQL query).
Defined in: coll.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Fields borrowed from class baja.Value:
newCopy
Fields borrowed from class baja.Object:
equivalent, getIcon
Method Summary
Method Attributes Method Name and Description
<private>  
Decode a Table from a String.
<private>  
Encode the Table to a String.
 
getCol(column)
Returns a Column Object for the given column name.
 
Returns an array of Table Columns.
<private>  
make(tableData)
Make a Table.
<private> <static>  
baja.coll.Table.make(tableData)
Make a Table.
Methods borrowed from class baja.coll.Collection:
cursor
Methods borrowed from class baja.Simple:
equals
Class Detail
baja.coll.Table()
See:
TableCursor
TableColumn
Method Detail
<private> {Table} decodeFromString(str)
Decode a Table from a String.
Parameters:
{String} str
Returns:
{Table}

<private> {String} encodeToString()
Encode the Table to a String.
Returns:
{String}

{TableColumn} getCol(column)
Returns a Column Object for the given column name.
Parameters:
{String|Number} column
the column name or index.
Returns:
{TableColumn} the table column or null if the column can't be found.

getColumns()
Returns an array of Table Columns.
Returns:
an array of columns (TableColumn)
See:
baja.coll.Table#getCol
TableColumn

<private> {baja.coll.Table} make(tableData)
Make a Table.
Parameters:
{Object} tableData
Returns:
{baja.coll.Table} the Table

<private> <static> {baja.coll.Table} baja.coll.Table.make(tableData)
Make a Table.
Parameters:
{Object} tableData
Returns:
{baja.coll.Table} the Table.

Documentation generated by JsDoc Toolkit 2.3.2