Skip to content

RowCount

Returns the number of rows in data table.

1
myDataTable.RowCount():number

Remarks

Getting a specified table from the database, and finding how many rows are contained:

Example

1
2
3
4
5
6
7
var table = $Database.Get({
    Parameters : {
        TargetSchema : 'MySchema',
        TargetTable : 'MyTable'
    }
});
var num_of_rows = table.RowCount();

See Also