RandomDBGenerator/pythonProject/sqlparse/SQLTable.py

10 lines
243 B
Python
Raw Normal View History

from sqlparse.SQLColumn import SQLColumn
class SQLTable:
def __init__(self, table_name, columns: [SQLColumn], primary_key: str):
self.table_name = table_name
self.columns = columns
self.primary_key = primary_key