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.
| Constructor Attributes | Constructor Name and Description |
|---|---|
- Fields borrowed from class baja.Value:
- newCopy
- Fields borrowed from class baja.Object:
- equivalent, getIcon
| Method Attributes | Method Name and Description |
|---|---|
| <private> |
decodeFromString(str)
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
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.
- 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)
<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.