Revision 3087
Added by Aaron Marcuse-Kubitza over 12 years ago
sql_gen.py | ||
---|---|---|
93 | 93 |
##### Names |
94 | 94 |
|
95 | 95 |
class Name(Code): |
96 |
def __init__(self, name): self.name = name |
|
96 |
def __init__(self, name): |
|
97 |
name = truncate(name) |
|
98 |
|
|
99 |
self.name = name |
|
97 | 100 |
|
98 | 101 |
def to_str(self, db): return db.esc_name(self.name) |
99 | 102 |
|
Also available in: Unified diff
sql_gen.py: Name: Truncate the input name