Rename attributes in autogenerated class

12 views
Skip to first unread message

Vishani Kankariya

unread,
Oct 14, 2019, 5:34:20 PM10/14/19
to sqlalchemy
Is it possible to rename columns in the classes that sqlacodegen generates from a database?

Mike Bayer

unread,
Oct 14, 2019, 6:27:26 PM10/14/19
to noreply-spamdigest via sqlalchemy
Hi there -

you might have better luck asking on their tracker at https://github.com/agronholm/sqlacodegen  in case people on here don't have sqlacodegen experience.



On Mon, Oct 14, 2019, at 5:34 PM, Vishani Kankariya wrote:
Is it possible to rename columns in the classes that sqlacodegen generates from a database?


--
SQLAlchemy -
The Python SQL Toolkit and Object Relational Mapper
 
 
To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description.
---
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 sqlalchemy+...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages