![]() |
Prev | Next |
row_list = dismod_at.get_row_list(
connection, tbl_name, col_name)
str
that specifies the name of the table.
We use the notation
n_row
for the number of rows in
the table.
n_col
for the number of columns in
col_name
.
You can determine the name of all the columns in the table using
get_name_type
.
n_row
,
where each element of the list is a list.
In addition, for each
i
,
row_list[i]
is a list
with length
n_col
.
The value
row_list[i][j]
corresponds to
primary key
tbl_name_id = i
,
and column
col_name[j]
.
The python type corresponding to the values in the table are
as follows:
Sql Table | Python |
integer |
int |
real |
float |
text |
str |
null |
None
|
integer primary key
corresponds to
integer
above.
get_row_list
.