Re: [sqlalchemy] synonym equivalent for core?

2020-12-22 Thread Mike Bayer
hey Michael - What looks to be happening there is you're making an INSERT against the Table object for Event, the columns in this Table object are: "id", "start_date". The Table has no information about "start_time" as that is an ORM construct only. so your first example is equivalent tow

[sqlalchemy] synonym equivalent for core?

2020-12-22 Thread Michael Merickel
Is there a way to make the following insert statement work by changing something in the Event object's definition? Note I've simplified the example, the reasons for using the core constructs in the first place are to use postgres ON CONFLICT directives with it otherwise yes I could simply use t