Revision 2859
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
49 | 49 |
def esc_value(self, value): return strings.repr_no_u(value) |
50 | 50 |
|
51 | 51 |
def esc_name(self, name): return esc_name(name) |
52 |
|
|
53 |
def col_info(self, col): |
|
54 |
return TypedCol(col.name, '<type>', CustomCode('<default>'), True) |
|
55 |
|
|
52 | 56 |
mockDb = MockDb() |
53 | 57 |
|
54 | 58 |
class BasicObject(objects.BasicObject): |
Also available in: Unified diff
sql_gen.py: MockDb: Added col_info()