Project

General

Profile

« Previous | Next » 

Revision 5128

sql.py: Added pkey_col_()

View differences:

lib/sql.py
1109 1109
        limit=1, log_level=4))
1110 1110
    except StopIteration: return table_cols(db, table, recover)[0]
1111 1111

  
1112
def pkey_col_(db, table, *args, **kw_args):
1113
    return sql_gen.Col(pkey(db, table, *args, **kw_args), table)
1114

  
1112 1115
not_null_col = 'not_null_col'
1113 1116

  
1114 1117
def table_not_null_col(db, table, recover=None):

Also available in: Unified diff