I'm using flask-sqlalchemy.
I have a class declaration as:
class WorkForceTable(db.Model): #main table
__tablename__ = 'work_force_planning_tab'
unique_id = db.Column(db.String(120), primary_key = True)
Hiring Manager = db.Column(db.String(120), primary_key = True)
I get a syntax error that points to my use of 'Hiring Manager' as the
column name /attribute of the class.
Is it possible to use a column name that has spaces in this case? I tried
putting the string in quotes as a literal but that also failed. Thanks.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.