Skip to content

How to specify table name? #1

@kunzhipeng

Description

@kunzhipeng

Can you tell me how to specify a table name? I tried following, but it didn't work.

class Location:
    __tablename__ = 'Locations'
    name = Column(String(100))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions