[sqlalchemy] Re: Inserting new records table with serial primary key in Postgresql using ORM
Thank you, Michael! The only apparent difference was that HasOIDs was set to TRUE on my table. On your notes: 1. Will do. I've been a exec for a decade and my coding skills/ ability to absorb technical reading has deteriorated severely. For some reason mapper was easier for me to pick up. It
[sqlalchemy] Inserting new records table with serial primary key in Postgresql using ORM
table, primary_key=[entries_table.c.id]) >>> s= Session() >>> e.id >>> e.id = 0 >>> session.flush() >>> e.header = 'test' >>> e.username = 'dfreedman' >>> e.text = 'test' >>> s.merge(e) >>> s.f