Revision 5386
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
1052 | 1052 |
return [sql_gen.as_Col(strings.ustr(c), table) |
1053 | 1053 |
for c in table_col_names(db, table, *args, **kw_args)] |
1054 | 1054 |
|
1055 |
pkey_col = 'row_num' |
|
1056 |
|
|
1057 | 1055 |
def pkey(db, table, recover=None): |
1058 | 1056 |
'''If no pkey, returns the first column in the table.''' |
1059 | 1057 |
table = sql_gen.as_Table(table) |
Also available in: Unified diff
sql.py: Removed no longer used pkey_col