Re: [sqlalchemy] Differences between TableClause insert and Model.__table__ inserts?

2020-11-26 Thread Mike Bayer
On Thu, Nov 26, 2020, at 5:05 PM, Kata Char wrote: > Is the documentation up-to-date? yup > > > > I printed out a query and there were two insert statements, but the > documentation shows one - am I doing something wrong? > I see in the postgresql logs two insert statements > LOG:

Re: [sqlalchemy] Differences between TableClause insert and Model.__table__ inserts?

2020-11-26 Thread Kata Char
Is the documentation up-to-date? I printed out a query and there were two insert statements, but the documentation shows one - am I doing something wrong? class Foo(db.Model): id = db.Column(db.BigInteger, primary_key=True, autoincrement=True) test = db.Column(db.String(80),